- Qt 6.8
- Qt 3D
- C++ Classes
- Qt3DRender
- QTexture2D
- Qt 6.8.0 Reference Documentation

# 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
Instantiated By: | Texture2D
Inherits: | Qt3DRender::QAbstractTexture

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