// d3d12umddi.h
typedef struct D3D12DDI_DEPTH_STENCILOP_DESC {
D3D12DDI_STENCIL_OP StencilFailOp;
D3D12DDI_STENCIL_OP StencilDepthFailOp;
D3D12DDI_STENCIL_OP StencilPassOp;
D3D12DDI_COMPARISON_FUNC StencilFunc;
} D3D12DDI_DEPTH_STENCILOP_DESC;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDI_DEPTH_STENCILOP_DESC structure describes stencil operations that can be performed based on the results of stencil test.
StencilFailOpA D3D12DDI_STENCIL_OP-typed value that indicates the operation to perform if the stencil test fails.
StencilDepthFailOpA D3D12DDI_STENCIL_OP-typed value that indicates the operation to perform if the stencil test passes and the depth test fails.
StencilPassOpA D3D12DDI_STENCIL_OP-typed value that indicates the operation to perform if both stencil and depth tests pass.
StencilFuncA D3D12DDI_COMPARISON_FUNC-typed value that indicates the stencil-comparison function to perform.