Provides the image data for a texture. 更多...
头: | #include <QTextureGenerator> |
CMake: |
find_package(Qt6 COMPONENTS 3drender REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
继承: | Qt3DCore::QAbstractFunctor |
virtual | ~QTextureGenerator () |
virtual Qt3DRender::QTextureDataPtr | operator() () = 0 |
virtual bool | operator== (const Qt3DRender::QTextureGenerator & other ) const = 0 |
[虚拟]
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
。返回
true
if both are equal.