QMetalRoughMaterial Class

class Qt3DExtras::QMetalRoughMaterial

The QMetalRoughMaterial provides a default implementation of PBR lighting. More...

Header: #include <QMetalRoughMaterial>
qmake: QT += 3dextras
Since: Qt 5.9
Instantiated By: MetalRoughMaterial
Inherits: Qt3DRender::QMaterial

This class was introduced in Qt 5.9.

Public Functions

QMetalRoughMaterial(Qt3DCore::QNode *parent = nullptr)
virtual ~QMetalRoughMaterial()

Detailed Description

This material uses an effect with a single render pass approach and performs per fragment lighting. Techniques are provided for OpenGL 3 and OpenGL ES 3.

Member Function Documentation

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

Constructs a new QMetalRoughMaterial instance with parent object parent.

[virtual] QMetalRoughMaterial::~QMetalRoughMaterial()

Destroys the QMetalRoughMaterial instance.