QStencilOperationArguments#

The QStencilOperationArguments class sets the actions to be taken when stencil and depth tests fail. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments

Synopsis#

Properties#

Functions#

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#

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:
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:
property PᅟySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.faceMode: FaceMode#

Holds the faces the arguments are applied to.

Access functions:
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:
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:

Operation

Getter of property allTestsPassOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.allTestsPassOperationChanged(stencilDepthPass)#
Parameters:

stencilDepthPassOperation

Notification signal of property allTestsPassOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.depthTestFailureOperation()#
Return type:

Operation

Getter of property depthTestFailureOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.depthTestFailureOperationChanged(depthFail)#
Parameters:

depthFailOperation

Notification signal of property depthTestFailureOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.faceMode()#
Return type:

FaceMode

Getter of property faceMode .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.faceModeChanged(faceMode)#
Parameters:

faceModeFaceMode

Notification signal of property faceMode .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.setAllTestsPassOperation(operation)#
Parameters:

operationOperation

Setter of property allTestsPassOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.setDepthTestFailureOperation(operation)#
Parameters:

operationOperation

Setter of property depthTestFailureOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.setStencilTestFailureOperation(operation)#
Parameters:

operationOperation

Setter of property stencilTestFailureOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.stencilTestFailureOperation()#
Return type:

Operation

Getter of property stencilTestFailureOperation .

PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments.stencilTestFailureOperationChanged(stencilFail)#
Parameters:

stencilFailOperation

Notification signal of property stencilTestFailureOperation .