TSdlGpuStencilOp
Specifies what happens to a stored stencil value if stencil tests fail or pass.
Definition
Unit: Neslib.Sdl3.Gpu
type TSdlGpuStencilOp = (Invalid, Keep, Zero, Replace, IncrementAndClamp, DecrementAndClamp, Invert, IncrementAndWrap, DecrementAndWrap)
See Also
Enumeration Values
Invalid = SDL_GPU_STENCILOP_INVALID
Keep = SDL_GPU_STENCILOP_KEEP
Keeps the current value.
Zero = SDL_GPU_STENCILOP_ZERO
Sets the value to 0.
Replace = SDL_GPU_STENCILOP_REPLACE
Sets the value to reference.
IncrementAndClamp = SDL_GPU_STENCILOP_INCREMENT_AND_CLAMP
Increments the current value and clamps to the maximum value.
DecrementAndClamp = SDL_GPU_STENCILOP_DECREMENT_AND_CLAMP
Decrements the current value and clamps to 0.
Invert = SDL_GPU_STENCILOP_INVERT
Bitwise-inverts the current value.
IncrementAndWrap = SDL_GPU_STENCILOP_INCREMENT_AND_WRAP
Increments the current value and wraps back to 0.
DecrementAndWrap = SDL_GPU_STENCILOP_DECREMENT_AND_WRAP
Decrements the current value and wraps to the maximum value.