StencilTest QML Type

The StencilTest type specifies arguments for the stecil test. \inherits RenderState. More...

Instantiates: QStencilTest

Properties

  • back : StencilTestArguments
  • front : StencilTestArguments

Detailed Description

\since5.7 \ingroup renderstates \inqmlmodule Qt3D.Render

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

[read-only] back : StencilTestArguments

Holds the stencil test arguments for back-facing polygons.


[read-only] front : StencilTestArguments

Holds the stencil test arguments for front-facing polygons.