QStencilTestArguments¶
- PyQt5.Qt3DRender.QStencilTestArguments
Inherits from QObject.
Description¶
The QStencilTestArguments class specifies arguments for stencil test.
The QStencilTestArguments class specifies the arguments for the stencil test.
Enums¶
- StencilFaceMode
This enumeration holds the values for stencil test arguments face modes
Member
Value
Description
Back 0x0405
Arguments are applied to back-facing polygons.
Front 0x0404
Arguments are applied to front-facing polygons.
FrontAndBack 0x0408
Arguments are applied to both front- and back-facing polygons.
- StencilFunction
Enumeration for the stencil function values
Member
Value
Description
Always 0x0207
Always pass stencil test
Equal 0x0202
Pass stencil test if fragment stencil is equal to reference value
Greater 0x0204
Pass stencil test if fragment stencil is greater than reference value
GreaterOrEqual 0x0206
Pass stencil test if fragment stencil is greater than or equal to reference value
Less 0x0201
Pass stencil test if fragment stencil is less than reference value
LessOrEqual 0x0203
Pass stencil test if fragment stencil is less than or equal to reference value
Never 0x0200
Never pass stencil test
NotEqual 0x0205
Pass stencil test if fragment stencil is not equal to reference value
Methods¶
- comparisonMask() → int
See also
- faceMode() → StencilFaceMode
TODO
- referenceValue() → int
See also
- setComparisonMask(int)
See also
- setReferenceValue(int)
See also
- setStencilFunction(StencilFunction)
See also
- stencilFunction() → StencilFunction
See also
Signals¶
- comparisonMaskChanged(int)
TODO
- faceModeChanged(StencilFaceMode)
TODO
- referenceValueChanged(int)
TODO
- stencilFunctionChanged(StencilFunction)
TODO