D3D10_DDI_DEPTH_STENCILOP_DESC structure (d3d10umddi.h)

The D3D10_DDI_DEPTH_STENCILOP_DESC structure describes a depth stencil operation.

Syntax

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

Members

[in] StencilFailOp

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

[in] StencilDepthFailOp

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

[in] StencilPassOp

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

[in] StencilFunc

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

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateDepthStencilStateSize

CreateDepthStencilState

D3D10_DDI_COMPARISON_FUNC

D3D10_DDI_STENCIL_OP