QStencilOperationArguments Class

class Qt3DRender::QStencilOperationArguments

The QStencilOperationArguments class sets the actions to be taken when stencil and depth tests fail. More...

Header: #include <QStencilOperationArguments>
qmake: QT += 3drender
Since: Qt 5.7
Instantiated By: StencilOperationArguments

This class was introduced in Qt 5.7.

Public Types

enum FaceMode { Front, Back, FrontAndBack }

Detailed Description

The Qt3DRender::QStencilOperationArguments class specifies the arguments for the stencil operations.

See also Qt3DRender::QStencilOperation.

Member Type Documentation

enum QStencilOperationArguments::FaceMode

This enumeration holds the values for stencil operation argument face modes

ConstantValueDescription
Qt3DRender::QStencilOperationArguments::Front0x0404Arguments are applied to front-facing polygons.
Qt3DRender::QStencilOperationArguments::Back0x0405Arguments are applied to back-facing polygons.
Qt3DRender::QStencilOperationArguments::FrontAndBack0x0408Arguments are applied to both front- and back-facing polygons.