QStencilTest

The QStencilTest class specifies arguments for the stecil test. More

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QStencilTest

Synopsis

Functions

Detailed Description

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

See also

QStencilMask QStencilOperation

class PySide2.Qt3DRender.Qt3DRender.QStencilTest([parent=None])

The constructor creates a new QStencilTest instance with the specified parent .

PySide2.Qt3DRender.Qt3DRender.QStencilTest.back()
Return type:

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments

Holds the stencil test arguments for back-facing polygons.

PySide2.Qt3DRender.Qt3DRender.QStencilTest.front()
Return type:

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments

Holds the stencil test arguments for front-facing polygons.