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


© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.