class QStencilMask#

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QStencilMask

Synopsis#

Properties#

Methods#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

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

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property backOutputMaskᅟ: int#

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

Access functions:
property frontOutputMaskᅟ: int#

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

Access functions:
__init__([parent=None])#
Parameters:

parentQNode

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

backOutputMask()#
Return type:

int

See also

setBackOutputMask()

Getter of property backOutputMaskᅟ .

backOutputMaskChanged(backOutputMask)#
Parameters:

backOutputMask – int

Notification signal of property backOutputMaskᅟ .

frontOutputMask()#
Return type:

int

See also

setFrontOutputMask()

Getter of property frontOutputMaskᅟ .

frontOutputMaskChanged(frontOutputMask)#
Parameters:

frontOutputMask – int

Notification signal of property frontOutputMaskᅟ .

setBackOutputMask(backOutputMask)#
Parameters:

backOutputMask – int

See also

backOutputMask()

Setter of property backOutputMaskᅟ .

setFrontOutputMask(frontOutputMask)#
Parameters:

frontOutputMask – int

See also

frontOutputMask()

Setter of property frontOutputMaskᅟ .