Click or drag to resize

StencilFlags Fields

The StencilFlags type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberFailSDecrement
On failing the stencil test, decrement the stencil value.
Public fieldStatic memberFailSDecrementSaturate
On failing the stencil test, decrement the stencil value (with saturation).
Public fieldStatic memberFailSIncrement
On failing the stencil test, increment the stencil value.
Public fieldStatic memberFailSIncrementSaturate
On failing the stencil test, increment the stencil value (with saturation).
Public fieldStatic memberFailSInvert
On failing the stencil test, invert the stencil value.
Public fieldStatic memberFailSKeep
On failing the stencil test, keep the old stencil value.
Public fieldStatic memberFailSReplace
On failing the stencil test, replace the stencil value.
Public fieldStatic memberFailSZero
On failing the stencil test, zero out the stencil value.
Public fieldStatic memberFailZDecrement
On failing the stencil test, decrement the depth value.
Public fieldStatic memberFailZDecrementSaturate
On failing the stencil test, decrement the depth value (with saturation).
Public fieldStatic memberFailZIncrement
On failing the stencil test, increment the depth value.
Public fieldStatic memberFailZIncrementSaturate
On failing the stencil test, increment the depth value (with saturation).
Public fieldStatic memberFailZInvert
On failing the stencil test, invert the depth value.
Public fieldStatic memberFailZKeep
On failing the stencil test, keep the depth value.
Public fieldStatic memberFailZReplace
On failing the stencil test, replace the depth value.
Public fieldStatic memberFailZZero
On failing the stencil test, zero out the depth value.
Public fieldStatic memberNone
No state bits set.
Public fieldStatic memberPassZDecrement
On passing the stencil test, decrement the depth value.
Public fieldStatic memberPassZDecrementSaturate
On passing the stencil test, decrement the depth value (with saturation).
Public fieldStatic memberPassZIncrement
On passing the stencil test, increment the depth value.
Public fieldStatic memberPassZIncrementSaturate
On passing the stencil test, increment the depth value (with saturation).
Public fieldStatic memberPassZInvert
On passing the stencil test, invert the depth value.
Public fieldStatic memberPassZKeep
On passing the stencil test, keep the old depth value.
Public fieldStatic memberPassZReplace
On passing the stencil test, replace the depth value.
Public fieldStatic memberPassZZero
On passing the stencil test, zero out the depth value.
Public fieldStatic memberTestAlways
Always pass the stencil test.
Public fieldStatic memberTestEqual
Perform an equality stencil test.
Public fieldStatic memberTestGreater
Perform a "greater than" stencil test.
Public fieldStatic memberTestGreaterEqual
Perform a "greater than or equal" stencil test.
Public fieldStatic memberTestLess
Perform a "less than" stencil test.
Public fieldStatic memberTestLessEqual
Perform a "less than or equal" stencil test.
Public fieldStatic memberTestNever
Never pass the stencil test.
Public fieldStatic memberTestNotEqual
Perform an inequality stencil test.
Top
See Also