StencilFlags Fields |
The StencilFlags type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | FailSDecrement |
On failing the stencil test, decrement the stencil value.
|
![]() ![]() | FailSDecrementSaturate |
On failing the stencil test, decrement the stencil value (with saturation).
|
![]() ![]() | FailSIncrement |
On failing the stencil test, increment the stencil value.
|
![]() ![]() | FailSIncrementSaturate |
On failing the stencil test, increment the stencil value (with saturation).
|
![]() ![]() | FailSInvert |
On failing the stencil test, invert the stencil value.
|
![]() ![]() | FailSKeep |
On failing the stencil test, keep the old stencil value.
|
![]() ![]() | FailSReplace |
On failing the stencil test, replace the stencil value.
|
![]() ![]() | FailSZero |
On failing the stencil test, zero out the stencil value.
|
![]() ![]() | FailZDecrement |
On failing the stencil test, decrement the depth value.
|
![]() ![]() | FailZDecrementSaturate |
On failing the stencil test, decrement the depth value (with saturation).
|
![]() ![]() | FailZIncrement |
On failing the stencil test, increment the depth value.
|
![]() ![]() | FailZIncrementSaturate |
On failing the stencil test, increment the depth value (with saturation).
|
![]() ![]() | FailZInvert |
On failing the stencil test, invert the depth value.
|
![]() ![]() | FailZKeep |
On failing the stencil test, keep the depth value.
|
![]() ![]() | FailZReplace |
On failing the stencil test, replace the depth value.
|
![]() ![]() | FailZZero |
On failing the stencil test, zero out the depth value.
|
![]() ![]() | None |
No state bits set.
|
![]() ![]() | PassZDecrement |
On passing the stencil test, decrement the depth value.
|
![]() ![]() | PassZDecrementSaturate |
On passing the stencil test, decrement the depth value (with saturation).
|
![]() ![]() | PassZIncrement |
On passing the stencil test, increment the depth value.
|
![]() ![]() | PassZIncrementSaturate |
On passing the stencil test, increment the depth value (with saturation).
|
![]() ![]() | PassZInvert |
On passing the stencil test, invert the depth value.
|
![]() ![]() | PassZKeep |
On passing the stencil test, keep the old depth value.
|
![]() ![]() | PassZReplace |
On passing the stencil test, replace the depth value.
|
![]() ![]() | PassZZero |
On passing the stencil test, zero out the depth value.
|
![]() ![]() | TestAlways |
Always pass the stencil test.
|
![]() ![]() | TestEqual |
Perform an equality stencil test.
|
![]() ![]() | TestGreater |
Perform a "greater than" stencil test.
|
![]() ![]() | TestGreaterEqual |
Perform a "greater than or equal" stencil test.
|
![]() ![]() | TestLess |
Perform a "less than" stencil test.
|
![]() ![]() | TestLessEqual |
Perform a "less than or equal" stencil test.
|
![]() ![]() | TestNever |
Never pass the stencil test.
|
![]() ![]() | TestNotEqual |
Perform an inequality stencil test.
|