QStencilMask#
The QStencilMask
class controls the front and back writing of individual bits in the stencil planes. More…
Synopsis#
Properties#
Functions#
def
backOutputMask
()def
frontOutputMask
()
Slots#
def
setBackOutputMask
(backOutputMask)def
setFrontOutputMask
(frontOutputMask)
Signals#
def
backOutputMaskChanged
(backOutputMask)def
frontOutputMaskChanged
(frontOutputMask)
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
- class PySide6.Qt3DRender.Qt3DRender.QStencilMask([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
The constructor creates a new QStencilMask
instance with the specified parent
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilMask.backOutputMask: uint#
Holds the write mask for the fragment stencil values for back-facing polygons.
- Access functions:
setBackOutputMask
(backOutputMask)Signal
backOutputMaskChanged
(backOutputMask)
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilMask.frontOutputMask: uint#
Holds the write mask for the fragment stencil values for front-facing polygons.
- Access functions:
setFrontOutputMask
(frontOutputMask)Signal
frontOutputMaskChanged
(frontOutputMask)
- PySide6.Qt3DRender.Qt3DRender.QStencilMask.backOutputMask()#
- Return type:
uint
See also
Getter of property backOutputMask
.
- PySide6.Qt3DRender.Qt3DRender.QStencilMask.backOutputMaskChanged(backOutputMask)#
- Parameters:
backOutputMask –
uint
Notification signal of property backOutputMask
.
- PySide6.Qt3DRender.Qt3DRender.QStencilMask.frontOutputMask()#
- Return type:
uint
See also
Getter of property frontOutputMask
.
- PySide6.Qt3DRender.Qt3DRender.QStencilMask.frontOutputMaskChanged(frontOutputMask)#
- Parameters:
frontOutputMask –
uint
Notification signal of property frontOutputMask
.
- PySide6.Qt3DRender.Qt3DRender.QStencilMask.setBackOutputMask(backOutputMask)#
- Parameters:
backOutputMask –
uint
See also
Setter of property backOutputMask
.
- PySide6.Qt3DRender.Qt3DRender.QStencilMask.setFrontOutputMask(frontOutputMask)#
- Parameters:
frontOutputMask –
uint
See also
Setter of property frontOutputMask
.