Qt3DRender::QTextureImageDataGenerator Class
class Qt3DRender::QTextureImageDataGeneratorProporciona datos de imágenes de texturas para QAbstractTextureImage. Más...
| Encabezado: | #include <qtextureimagedatagenerator.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| Heredado de: | Qt3DCore::QAbstractFunctor |
| Estado: | Obsoleta |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
Funciones públicas
| virtual Qt3DRender::QTextureImageDataPtr | operator()() = 0 |
| virtual bool | operator==(const Qt3DRender::QTextureImageDataGenerator &other) const = 0 |
Elementos no miembros relacionados
Descripción detallada
QTextureImageDataGenerator es un proveedor de datos para QAbstractTexture. QTextureImageDataGenerator se puede utilizar para ampliar Qt3D con más formas de cargar datos de imágenes de textura, así como para admitir formatos definidos por el usuario y formatos que Qt3D no admite de forma nativa. Los datos se devuelven mediante la clase ` QTextureImageDataPtr `, que contiene los datos que se cargarán en la textura. QTextureImageDataGenerator se ejecuta mediante tareas de Aspect en el backend.
Documentación de las funciones de miembro
[pure virtual] Qt3DRender::QTextureImageDataPtr QTextureImageDataGenerator::operator()()
Implementa el método para devolver los datos de la imagen de textura.
[pure virtual] bool QTextureImageDataGenerator::operator==(const Qt3DRender::QTextureImageDataGenerator &other) const
Implementa el método para comparar este generador de datos de texturas con other. Devuelve un valor booleano que indica si QAbstractTextureImage necesita volver a cargar QTextureImageData.
© 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.