- Qt 5.15
- Qt 3D
- QML Types
- StencilTestArguments QML Type
- Qt 5.15.18 Reference Documentation

# StencilTestArguments QML Type

The StencilTestArguments type specifies arguments for stencil test. More...

Import Statement: | import Qt3D.Render 2.15
Since: | Qt 5.7

- List of all members, including inherited members

## Properties

- comparisonMask : int
- faceMode : enumeration
- referenceValue : int
- stencilFunction : enumeration

## Detailed Description

The StencilTestArguments type specifies the arguments for the stencil test.

## Property Documentation

comparisonMask : int

Holds the stencil test comparison mask. Default is all zeroes.

[read-only] faceMode : enumeration

Holds the faces the arguments are applied to.

- StencilTestArguments.Front
- StencilTestArguments.Back
- StencilTestArguments.FrontAndBack

See also Qt3DRender::QStencilTestArguments::StencilFaceMode.

referenceValue : int

Holds the stencil test reference value. Default is zero.

stencilFunction : enumeration

Holds the stencil test function. Default is StencilTestArguments.Never.

- StencilTestArguments.Never
- StencilTestArguments.Always
- StencilTestArguments.Less
- StencilTestArguments.LessOrEqual
- StencilTestArguments.Equal
- StencilTestArguments.GreaterOrEqual
- StencilTestArguments.Greater
- StencilTestArguments.NotEqual