- Qt 6.8
- Qt 3D
- QML Types
- Qt3D.Render (Deprecated)
- StencilTest
- Qt 6.8.3 Reference Documentation

# StencilTest QML Type

The StencilTest type specifies arguments for the stecil test. More...

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

- List of all members, including inherited members

## Properties

- back : StencilTestArguments
- front : StencilTestArguments

## Detailed Description

A StencilTest type specifies argument for the stencil test. The stencil test comprises of three arguments: stencil test function, stencil test mask and stencil reference value. StencilTest allows these arguments to be set for both front- and back-facing polygons separately.

See also StencilMask and StencilOperation.

## Property Documentation

back : StencilTestArguments `[read-only]`

Holds the stencil test arguments for back-facing polygons.

front : StencilTestArguments `[read-only]`

Holds the stencil test arguments for front-facing polygons.