Qt3DRender::QTextureGenerator Class
class Qt3DRender::QTextureGenerator为纹理提供图像数据。更多
头文件: | #include <QTextureGenerator> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) 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 |
成员函数文档
[virtual noexcept]
QTextureGenerator::~QTextureGenerator()
类Qt3DRender::QTextureGenerator
生成创建 OpenGL 纹理图像所需的信息。
[pure virtual]
Qt3DRender::QTextureDataPtr QTextureGenerator::operator()()
返回纹理数据。
[pure virtual]
bool QTextureGenerator::operator==(const Qt3DRender::QTextureGenerator &other) const
将这些纹理数据与other 进行比较。如果两者相等,则返回true
。
© 2025 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.