W3cubDocs

/Qt

StencilMask QML Type

The StencilMask type controls the front and back writing of individual bits in the stencil planes. More...

Import Statement: import Qt3D.Render
Since: Qt 5.7
Instantiates: QStencilMask
Inherits:

RenderState

Properties

Detailed Description

A StencilMask type specifies the mask for the stencil test. Mask can be specified separately for the front-facing and back-facing polygons. The stencil test reference value and stencil buffer value gets and'd with the mask prior to applying stencil function.

See also StencilTest.

Property Documentation

backOutputMask : int

Holds the write mask for the fragment stencil values for back-facing polygons.

frontOutputMask : int

Holds the write mask for the fragment stencil values for front-facing polygons.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qt3d-render-stencilmask.html