QStencilOperation Class

class Qt3DRender::QStencilOperation

The QStencilOperation class specifies stencil operation. More...

Header: #include <QStencilOperation>
qmake: QT += 3drender
Since: Qt 5.7
Instantiated By: StencilOperation
Inherits: Qt3DRender::QRenderState

This class was introduced in Qt 5.7.

Public Functions

QStencilOperation(Qt3DCore::QNode *parent = nullptr)

Detailed Description

A Qt3DRender::QStencilOperation class specifies the stencil operations for the front- and back-facing polygons. The stencil operation control what is done to fragment when the stencil and depth test pass or fail.

See also Qt3DRender::QStencilTest.

Member Function Documentation

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

The constructor creates a new QStencilOperation::QStencilOperation instance with the specified parent.