QRhiTextureUploadEntry Class
텍스처 업로드 작업에서 하나의 레이어(큐브맵의 경우 ‘face’, 3D 텍스처의 경우 ‘slice’, 텍스처 배열의 경우 ‘element’)를 설명합니다. 더 보기...
| 헤더: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) 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) |
상세 설명
참고: 이 API는 호환성 보장이 제한된 RHI API입니다. 자세한 내용은 QRhi 를 참조하십시오.
멤버 함수 설명서
[noexcept default] QRhiTextureUploadEntry::QRhiTextureUploadEntry()
레이어 0 및 레벨 0을 대상으로 하는 빈 QRhiTextureUploadEntry를 생성합니다.
참고: setDescription()를 통해 QRhiTextureSubresourceUploadDescription 를 먼저 설정하지 않은 상태에서 빈QRhiTextureUploadEntry를 제출해서는 안 됩니다.
QRhiTextureUploadEntry::QRhiTextureUploadEntry(int layer, int level, const QRhiTextureSubresourceUploadDescription &desc)
지정된 layer 및 mip level 을 대상으로 하며, desc 에 설명된 서브리소스 내용을 포함하는 QRhiTextureUploadEntry 객체를 생성합니다.
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()도 참조하십시오 .
© 2026 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.