QTexture2D Class

class Qt3DRender::QTexture2D

A QAbstractTexture with a Target2D target format. More...

Header: #include <Qt3DRender/QTexture>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
In QML: Texture2D
Inherits: Qt3DRender::QAbstractTexture
Status: Deprecated

Public Functions

QTexture2D(Qt3DCore::QNode *parent = nullptr)

Detailed Description

Member Function Documentation

[explicit] QTexture2D::QTexture2D(Qt3DCore::QNode *parent = nullptr)

Constructs a new Qt3DRender::QTexture2D instance with parent as parent.