En esta página

Qt3DRender::QTextureImageDataGenerator Class

class Qt3DRender::QTextureImageDataGenerator

Proporciona datos de imagen de textura para QAbstractTextureImage. Más...

Cabecera: #include <QTextureImageDataGenerator>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
Hereda: Qt3DCore::QAbstractFunctor
Status: Obsoleto

Funciones públicas

virtual Qt3DRender::QTextureImageDataPtr operator()() = 0
virtual bool operator==(const Qt3DRender::QTextureImageDataGenerator &other) const = 0

Descripción detallada

QTextureImageDataGenerator es un proveedor de datos para QAbstractTexture. QTextureImageDataGenerator puede usarse para expandir Qt3D con más formas de cargar datos de imágenes de textura así como soportar formatos definidos por el usuario y formatos que Qt3D no soporta nativamente. Los datos son devueltos por el QTextureImageDataPtr que contiene los datos que serán cargados a la textura. QTextureImageDataGenerator es ejecutado por los trabajos Aspect en el backend.

Documentación de las funciones 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 textura con other. Devuelve un booleano que indica si el QAbstractTextureImage necesita recargar el QTextureImageData.

No miembros relacionados

QTextureImageDataPtr

Puntero compartido a 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.