Stencil buffer operation enumeration.
| C# |
public enum StencilOperation
| Member | Description |
|---|---|
| Keep |
Do not update the stencil-buffer entry. This is the default value.
|
| Zero |
Sets the stencil-buffer entry to zero.
|
| Replace |
Replaces the stencil-buffer entry with the reference value.
|
| Increment |
Increments the stencil-buffer entry, wrapping to zero if the new value
exceeds the maximum value.
|
| Decrement |
Decrements the stencil-buffer entry, wrapping to the maximum value if the new
value is less than zero.
|
| IncrementAndClamp |
Increments the stencil-buffer entry, clamping to the maximum value.
|
| DecrementAndClamp |
Decrements the stencil-buffer entry, clamping to zero.
|
| Invert |
Inverts the bits in the stencil-buffer entry.
|
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)