StencilTest QML Type

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

Import Statement: import Qt3D.Render 2.14
Since: Qt 5.7
Instantiates: QStencilTest
Inherits:

RenderState

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

Holds the stencil test arguments for back-facing polygons.

front : StencilTestArguments

Holds the stencil test arguments for front-facing polygons.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.14/qml-qt3d-render-stenciltest.html