W3cubDocs

/Qt

QTexture2D Class

class Qt3DRender::QTexture2D

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

Header: #include <Qt3DRender/QTexture>
CMake: find_package(Qt6 COMPONENTS 3drender REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
Since: Qt 5.5
Instantiated By: Texture2D
Inherits: Qt3DRender::QAbstractTexture

Public Functions

QTexture2D(Qt3DCore::QNode *parent = nullptr)

Detailed Description

Member Function Documentation

QTexture2D::QTexture2D(Qt3DCore::QNode *parent = nullptr)

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

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3drender-qtexture2d.html