- Qt 6.4
- Qt 3D
- QML Types
- Qt3D.Render
- StencilMask
- Qt 6.4.3 Reference Documentation

# 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.4
Since: | Qt 5.7
Instantiates: | QStencilMask
Inherits: | RenderState

- List of all members, including inherited members

## Properties

- backOutputMask : int
- frontOutputMask : int

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