A QAbstractTexture with a Target2D target format. 更多...
头: | #include <Qt3DRender/QTexture> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
实例化: | Texture2D |
继承: | Qt3DRender::QAbstractTexture |
QTexture2D (Qt3DCore::QNode * parent = nullptr) |
[explicit]
QTexture2D::
QTexture2D
(
Qt3DCore::QNode
*
parent
= nullptr)
构造新的 Qt3DRender::QTexture2D 实例与 parent 作为父级。