![]() |
wisdom
|
C version:
C++ version:
Stencil operation for depth and stencil operations.
D3D12_STENCIL_OP for DirectX 12 implementation, and VkStencilOp for Vulkan implementation.Values:
WisStencilOpKeep = 1: Keep the current value.WisStencilOpZero = 2: Set the value to zero.WisStencilOpReplace = 3: Replace the value with the reference value.WisStencilOpIncClamp = 4: Increment the value and clamp to the maximum value.WisStencilOpDecClamp = 5: Decrement the value and clamp to the minimum value.WisStencilOpInvert = 6: Invert the value.WisStencilOpIncWrap = 7: Increment the value and wrap to zero when the maximum value is exceeded.WisStencilOpDecWrap = 8: Decrement the value and wrap to the maximum value when the minimum value is exceeded.