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

Functions

Slots

Signals

Detailed Description

The QStencilOperationArguments class specifies the arguments for the stencil operations.

See also

QStencilOperation

class PySide6.Qt3DRender.Qt3DRender.QStencilOperationArguments
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

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments .Keep.

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

stencilDepthPassOperation

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

Operation

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments .Keep.

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

depthFailOperation

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

FaceMode

Holds the faces the arguments are applied to.

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

faceModeFaceMode

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

operationOperation

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments .Keep.

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

operationOperation

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments .Keep.

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

operationOperation

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments .Keep.

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

Operation

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments .Keep.

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

stencilFailOperation