- Qt 6.11
- Qt 3D
- C++ Classes
- Qt3DRender (Deprecated)
- QTexture2D
- Qt 6.11.0 Reference Documentation

# Qt3DRender::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

- List of all members, including inherited members

## 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.