QRhiTextureUploadEntry Class
텍스처 업로드 작업에서 하나의 레이어(큐브맵의 경우 페이스, 3D 텍스처의 경우 슬라이스, 텍스처 배열의 경우 엘리먼트)를 설명합니다. 더 보기...
헤더: | #include <rhi/qrhi.h> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
qmake: | QT += gui-private |
이후: | Qt 6.6 |
공용 함수
QRhiTextureUploadEntry() | |
QRhiTextureUploadEntry(int layer, int level, const QRhiTextureSubresourceUploadDescription &desc) | |
QRhiTextureSubresourceUploadDescription | description() const |
int | layer() const |
int | level() const |
void | setDescription(const QRhiTextureSubresourceUploadDescription &desc) |
void | setLayer(int layer) |
void | setLevel(int level) |
자세한 설명
참고: 이 함수는 호환성이 제한적으로 보장되는 RHI API입니다. 자세한 내용은 QRhi 을 참조하세요.
멤버 함수 문서
[noexcept]
QRhiTextureUploadEntry::QRhiTextureUploadEntry()
레이어 0과 레벨 0을 대상으로 하는 빈 QRhiTextureUploadEntry를 생성합니다.
참고: setDescription()을 통해 QRhiTextureSubresourceUploadDescription 을 먼저 설정하지 않고 빈 QRhiTextureUploadEntry를 제출해서는 안 됩니다.
QRhiTextureUploadEntry::QRhiTextureUploadEntry(int layer, int level, const QRhiTextureSubresourceUploadDescription &desc)
주어진 layer 과 mip level 을 대상으로 하는 QRhiTextureUploadEntry 를 desc 에 설명된 서브 리소스 콘텐츠로 구성합니다.
QRhiTextureSubresourceUploadDescription QRhiTextureUploadEntry::description() const
현재 설정된 하위 리소스 설명을 반환합니다.
setDescription()도 참조하세요 .
int QRhiTextureUploadEntry::layer() const
현재 설정된 레이어 인덱스(큐브맵 면, 배열 레이어)를 반환합니다. 기본값은 0입니다.
setLayer()도 참조하세요 .
int QRhiTextureUploadEntry::level() const
현재 설정된 밉 레벨을 반환합니다. 기본값은 0입니다.
setLevel()도 참조하세요 .
void QRhiTextureUploadEntry::setDescription(const QRhiTextureSubresourceUploadDescription &desc)
하위 리소스 설명을 설정합니다 desc.
description()도 참조하세요 .
void QRhiTextureUploadEntry::setLayer(int layer)
layer.
layer()도 참조하세요 .
void QRhiTextureUploadEntry::setLevel(int level)
밉을 설정합니다 level.
level()도 참조하세요 .
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.