QStencilMask¶

The QStencilMask class controls the front and back writing of individual bits in the stencil planes. More…

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QStencilMask

Synopsis¶

Functions¶

Slots¶

Signals¶

Detailed Description¶

A QStencilMask class specifies a write mask for the stencil values after the stencil test. Mask can be specified separately for the front-facing and back-facing polygons. The fragment stencil value is and’d with the mask before it is written to the stencil buffer.

See also

QStencilTest

class PySide2.Qt3DRender.Qt3DRender.QStencilMask([parent=None])¶

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

PySide2.Qt3DRender.Qt3DRender.QStencilMask.backOutputMask()¶
Return type:

uint

Holds the write mask for the fragment stencil values for back-facing polygons.

PySide2.Qt3DRender.Qt3DRender.QStencilMask.backOutputMaskChanged(backOutputMask)¶
Parameters:

backOutputMask – uint

PySide2.Qt3DRender.Qt3DRender.QStencilMask.frontOutputMask()¶
Return type:

uint

Holds the write mask for the fragment stencil values for front-facing polygons.

PySide2.Qt3DRender.Qt3DRender.QStencilMask.frontOutputMaskChanged(frontOutputMask)¶
Parameters:

frontOutputMask – uint

PySide2.Qt3DRender.Qt3DRender.QStencilMask.setBackOutputMask(backOutputMask)¶
Parameters:

backOutputMask – uint

Holds the write mask for the fragment stencil values for back-facing polygons.

PySide2.Qt3DRender.Qt3DRender.QStencilMask.setFrontOutputMask(frontOutputMask)¶
Parameters:

frontOutputMask – uint

Holds the write mask for the fragment stencil values for front-facing polygons.