D3D10_DDI_DEPTH_STENCILOP_DESC structure

The D3D10_DDI_DEPTH_STENCILOP_DESC structure describes a depth stencil operation.

Syntax

typedef struct D3D10_DDI_DEPTH_STENCILOP_DESC {
  D3D10_DDI_STENCIL_OP      StencilFailOp;
  D3D10_DDI_STENCIL_OP      StencilDepthFailOp;
  D3D10_DDI_STENCIL_OP      StencilPassOp;
  D3D10_DDI_COMPARISON_FUNC StencilFunc;
} D3D10_DDI_DEPTH_STENCILOP_DESC;

Members

StencilDepthFailOp

[in] A D3D10_DDI_STENCIL_OP-typed value that indicates the operation to perform if the stencil test passes and the depth test fails.

StencilFailOp

[in] A D3D10_DDI_STENCIL_OP-typed value that indicates the operation to perform if the stencil test fails.

StencilFunc

[in] A D3D10_DDI_COMPARISON_FUNC-typed value that indicates the stencil-comparison function to perform.

StencilPassOp

[in] A D3D10_DDI_STENCIL_OP-typed value that indicates the operation to perform if both stencil and depth tests pass.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3d10umddi.h (include D3d10umddi.h)

See Also

D3D10_DDI_COMPARISON_FUNC

CalcPrivateDepthStencilStateSize

CreateDepthStencilState

D3D10_DDI_STENCIL_OP

Send comments about this topic to Microsoft