Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The D3D12DDI_DEPTH_STENCILOP_DESC structure describes stencil operations that can be performed based on the results of stencil test.
Syntax
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;
Members
StencilFailOp
A D3D12DDI_STENCIL_OP-typed value that indicates the operation to perform if the stencil test fails.
StencilDepthFailOp
A D3D12DDI_STENCIL_OP-typed value that indicates the operation to perform if the stencil test passes and the depth test fails.
StencilPassOp
A D3D12DDI_STENCIL_OP-typed value that indicates the operation to perform if both stencil and depth tests pass.
StencilFunc
A D3D12DDI_COMPARISON_FUNC-typed value that indicates the stencil-comparison function to perform.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1809 |
| Header | d3d12umddi.h |