- Qt 6.6
- Qt 3D
- QML Types
- Qt3D.Render
- StencilTestArguments
- Qt 6.6.2 Reference Documentation

# StencilTestArguments QML Type

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

Import Statement: | import Qt3D.Render 2.6
Instantiates: | QStencilTestArguments
Inherits: | QtObject

- 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