Qt3DRender.QStencilTestArguments

The QStencilTestArguments class specifies arguments for stencil test. More

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments

Synopsis

Functions

Slots

Signals

Detailed Description

The QStencilTestArguments class specifies the arguments for the stencil test.

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.StencilFaceMode

This enumeration holds the values for stencil test arguments face modes

Constant

Description

Qt3DRender.QStencilTestArguments.Front

Arguments are applied to front-facing polygons.

Qt3DRender.QStencilTestArguments.Back

Arguments are applied to back-facing polygons.

Qt3DRender.QStencilTestArguments.FrontAndBack

Arguments are applied to both front- and back-facing polygons.

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.StencilFunction

Enumeration for the stencil function values

Constant

Description

Qt3DRender.QStencilTestArguments.Never

Never pass stencil test

Qt3DRender.QStencilTestArguments.Always

Always pass stencil test

Qt3DRender.QStencilTestArguments.Less

Pass stencil test if fragment stencil is less than reference value

Qt3DRender.QStencilTestArguments.LessOrEqual

Pass stencil test if fragment stencil is less than or equal to reference value

Qt3DRender.QStencilTestArguments.Equal

Pass stencil test if fragment stencil is equal to reference value

Qt3DRender.QStencilTestArguments.GreaterOrEqual

Pass stencil test if fragment stencil is greater than or equal to reference value

Qt3DRender.QStencilTestArguments.Greater

Pass stencil test if fragment stencil is greater than reference value

Qt3DRender.QStencilTestArguments.NotEqual

Pass stencil test if fragment stencil is not equal to reference value

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.comparisonMask()
Return type

uint

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.comparisonMaskChanged(comparisonMask)
Parameters

comparisonMaskuint

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.faceMode()
Return type

StencilFaceMode

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.faceModeChanged(faceMode)
Parameters

faceModeStencilFaceMode

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.referenceValue()
Return type

int

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.referenceValueChanged(referenceValue)
Parameters

referenceValueint

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.setComparisonMask(comparisonMask)
Parameters

comparisonMaskuint

See also

comparisonMask()

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.setReferenceValue(referenceValue)
Parameters

referenceValueint

See also

referenceValue()

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.setStencilFunction(stencilFunction)
Parameters

stencilFunctionStencilFunction

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.stencilFunction()
Return type

StencilFunction

PySide2.Qt3DRender.Qt3DRender.QStencilTestArguments.stencilFunctionChanged(stencilFunction)
Parameters

stencilFunctionStencilFunction