QTextureImageDataGenerator Classclass Qt3DRender::QTextureImageDataGenerator
|CMake:|| find_package(Qt6 REQUIRED COMPONENTS 3drender) |
target_link_libraries(mytarget PRIVATE Qt6::3drender)
|qmake:||QT += 3drender|
|virtual Qt3DRender::QTextureImageDataPtr||operator()() = 0|
|virtual bool||operator==(const Qt3DRender::QTextureImageDataGenerator &other) const = 0|
QTextureImageDataGenerator is a data provider for QAbstractTexture. QTextureImageDataGenerator can be used to expand Qt3D with more ways to load texture image data as well as support user-defined formats and formats Qt3D does not natively support. The data is returned by the QTextureImageDataPtr which contains the data that will be loaded to the texture. QTextureImageDataGenerator is executed by Aspect jobs in the backend.
Member Function Documentation
[pure virtual] Qt3DRender::QTextureImageDataPtr QTextureImageDataGenerator::operator()()
Implement the method to return the texture image data.
[pure virtual] bool QTextureImageDataGenerator::operator==(const Qt3DRender::QTextureImageDataGenerator &other) const
Shared pointer to QTextureImageData.
© 2022 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.