QRhiTextureUploadEntry Class
Describe una capa (cara para cubemaps, corte para texturas 3D, elemento para matrices de texturas) en una operación de carga de texturas. Más...
| Cabecera: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Desde: | Qt 6.6 |
Funciones Públicas
| 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) |
Descripción detallada
Nota: Esta es una API RHI con garantías de compatibilidad limitadas, consulte QRhi para más detalles.
Documentación de las funciones de los miembros
[noexcept] QRhiTextureUploadEntry::QRhiTextureUploadEntry()
Construye un QRhiTextureUploadEntry vacío apuntando a la capa 0 y nivel 0.
Nota: una QRhiTextureUploadEntry vacía no debe enviarse sin establecer primero un QRhiTextureSubresourceUploadDescription a través de setDescription().
QRhiTextureUploadEntry::QRhiTextureUploadEntry(int layer, int level, const QRhiTextureSubresourceUploadDescription &desc)
Construye un QRhiTextureUploadEntry apuntando al layer y mip dados level, con el contenido del sub-recurso descrito por desc.
QRhiTextureSubresourceUploadDescription QRhiTextureUploadEntry::description() const
Devuelve la descripción del sub-recurso actual.
Véase también setDescription().
int QRhiTextureUploadEntry::layer() const
Devuelve el índice de la capa actual (cubemap face, array layer). Por defecto es 0.
Véase también setLayer().
int QRhiTextureUploadEntry::level() const
Devuelve el nivel mip actual. El valor predeterminado es 0.
Véase también setLevel().
void QRhiTextureUploadEntry::setDescription(const QRhiTextureSubresourceUploadDescription &desc)
Establece la descripción del subrecurso desc.
Véase también description().
void QRhiTextureUploadEntry::setLayer(int layer)
Establece la dirección layer.
Véase también layer().
void QRhiTextureUploadEntry::setLevel(int level)
Establece el mip level.
Véase también 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.