- Qt 6.8
- Qt 3D
- QML Types
- Qt3D.Render (Deprecated)
- StencilOperationArguments
- Qt 6.8.1 Reference Documentation

# StencilOperationArguments QML Type

The StencilOperationArguments type sets the actions to be taken when stencil and depth tests fail. More...

Import Statement: | `import Qt3D.Render 2.8`
In C++: | QStencilOperationArguments
Inherits: | QtObject
Status: | Deprecated

- List of all members, including inherited members

## Properties

- allTestsPassOperation : enumeration
- depthTestFailureOperation : enumeration
- faceMode : enumeration
- stencilTestFailureOperation : enumeration

## Detailed Description

The StencilOperationArguments type specifies the arguments for the stencil operations.

See also StencilOperation.

## Property Documentation

allTestsPassOperation : enumeration

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

See also StencilOperationArguments::stencilTestFailureOperation and Qt3DRender::QStencilOperationArguments::Operation.

depthTestFailureOperation : enumeration

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

See also StencilOperationArguments::stencilTestFailureOperation and Qt3DRender::QStencilOperationArguments::Operation.

faceMode : enumeration `[read-only]`

Holds the faces the arguments are applied to.

- StencilOperationArguments.Front
- StencilOperationArguments.Back
- StencilOperationArguments.FrontAndBack

See also Qt3DRender::QStencilOperationArguments::FaceMode.

stencilTestFailureOperation : enumeration

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

- StencilOperationArguments.Zero
- StencilOperationArguments.Keep
- StencilOperationArguments.Replace
- StencilOperationArguments.Increment
- StencilOperationArguments.Decrement
- StencilOperationArguments.IncrementWrap
- StencilOperationArguments.DecrementWrap
- StencilOperationArguments.Inverter

See also Qt3DRender::QStencilOperationArguments::Operation.