QTextureGenerator Class

class Qt3DRender::QTextureGenerator

Provides the image data for a texture. More...

Header: #include <QTextureGenerator>
CMake: find_package(Qt6 COMPONENTS 3drender REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
Inherits: Qt3DCore::QAbstractFunctor

Public Functions

virtual ~QTextureGenerator()
virtual Qt3DRender::QTextureDataPtr operator()() = 0
virtual bool operator==(const Qt3DRender::QTextureGenerator &other) const = 0

Detailed Description

Member Function Documentation

[virtual] QTextureGenerator::~QTextureGenerator()

class Qt3DRender::QTextureGenerator

Generates the necessary information to create an OpenGL texture image.

[pure virtual] Qt3DRender::QTextureDataPtr QTextureGenerator::operator()()

Returns the texture data.

[pure virtual] bool QTextureGenerator::operator==(const Qt3DRender::QTextureGenerator &other) const

Compare these texture data to other. Returns true if both are equal.

© 2021 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.