QStencilOperationArguments#
The QStencilOperationArguments
class sets the actions to be taken when stencil and depth tests fail. More…
Synopsis#
Properties#
Functions#
def
allTestsPassOperation
()def
depthTestFailureOperation
()def
faceMode
()def
stencilTestFailureOperation
()
Slots#
def
setAllTestsPassOperation
(operation)def
setDepthTestFailureOperation
(operation)def
setStencilTestFailureOperation
(operation)
Signals#
def
allTestsPassOperationChanged
(stencilDepthPass)def
depthTestFailureOperationChanged
(depthFail)def
faceModeChanged
(faceMode)def
stencilTestFailureOperationChanged
(stencilFail)
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#
The QStencilOperationArguments
class specifies the arguments for the stencil operations.
See also
QStencilOperation
- class PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments#
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.allTestsPassOperation: Operation#
Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments .Keep.
- Access functions:
setAllTestsPassOperation
(operation)Signal
allTestsPassOperationChanged
(stencilDepthPass)
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.depthTestFailureOperation: Operation#
Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments .Keep.
- Access functions:
setDepthTestFailureOperation
(operation)Signal
depthTestFailureOperationChanged
(depthFail)
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.faceMode: FaceMode#
Holds the faces the arguments are applied to.
- Access functions:
faceMode
()Signal
faceModeChanged
(faceMode)
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.stencilTestFailureOperation: Operation#
Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments .Keep.
- Access functions:
setStencilTestFailureOperation
(operation)Signal
stencilTestFailureOperationChanged
(stencilFail)
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.FaceMode#
This enumeration holds the values for stencil operation argument face modes
Constant
Description
Qt3DRender.QStencilOperationArguments.Front
Arguments are applied to front-facing polygons.
Qt3DRender.QStencilOperationArguments.Back
Arguments are applied to back-facing polygons.
Qt3DRender.QStencilOperationArguments.FrontAndBack
Arguments are applied to both front- and back-facing polygons.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.Operation#
This enumeration holds the values for stencil operation.
Constant
Description
Qt3DRender.QStencilOperationArguments.Zero
Set stencil value to zero.
Qt3DRender.QStencilOperationArguments.Keep
Keep current stencil value.
Qt3DRender.QStencilOperationArguments.Replace
Replace with the masked fragment stencil value.
Qt3DRender.QStencilOperationArguments.Increment
Increment current value with saturation.
Qt3DRender.QStencilOperationArguments.Decrement
Decrement current value with saturation.
Qt3DRender.QStencilOperationArguments.IncrementWrap
Increment current value with wrap.
Qt3DRender.QStencilOperationArguments.DecrementWrap
Decrement current value with wrap.
Qt3DRender.QStencilOperationArguments.Invert
Invert the current value.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.allTestsPassOperation()#
- Return type:
See also
Getter of property allTestsPassOperation
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.allTestsPassOperationChanged(stencilDepthPass)#
- Parameters:
stencilDepthPass –
Operation
Notification signal of property allTestsPassOperation
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.depthTestFailureOperation()#
- Return type:
See also
Getter of property depthTestFailureOperation
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.depthTestFailureOperationChanged(depthFail)#
- Parameters:
depthFail –
Operation
Notification signal of property depthTestFailureOperation
.
Getter of property faceMode
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.faceModeChanged(faceMode)#
- Parameters:
faceMode –
FaceMode
Notification signal of property faceMode
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.setAllTestsPassOperation(operation)#
- Parameters:
operation –
Operation
See also
Setter of property allTestsPassOperation
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.setDepthTestFailureOperation(operation)#
- Parameters:
operation –
Operation
See also
Setter of property depthTestFailureOperation
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.setStencilTestFailureOperation(operation)#
- Parameters:
operation –
Operation
See also
Setter of property stencilTestFailureOperation
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.stencilTestFailureOperation()#
- Return type:
See also
Getter of property stencilTestFailureOperation
.
- PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.stencilTestFailureOperationChanged(stencilFail)#
- Parameters:
stencilFail –
Operation
Notification signal of property stencilTestFailureOperation
.