LiteFX::Rendering::StencilOperation¶
An operation that is applied to the stencil buffer.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
enum class StencilOperation : int;
Members¶
| Name | Description |
|---|---|
Keep | Keep the current stencil value. |
Zero | Set the stencil value to 0. |
Replace | Replace the current stencil value with the stencil ref. |
IncrementClamp | Increment the current stencil value. |
DecrementClamp | Decrement the current stencil value. |
Invert | Bitwise invert the current stencil value. |
IncrementWrap | Increment the current stencil value and wrap it, if it goes out of bounds. |
DecrementWrap | Decrement the current stencil value and wrap it, if it goes out of bounds. |
See Also¶
DepthStencilState