- Qt 6.7
- Qt 3D
- QML Types
- Qt3D.Render
- StencilTestArguments
- Qt 6.7.3 Reference Documentation

# StencilTestArguments QML Type

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

Import Statement: | import Qt3D.Render 2.7
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.

faceMode : enumeration `[read-only]`

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