Expand Minimize

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

StencilFailOp

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

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.

StencilPassOp

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

StencilFunc

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

Requirements

Version

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft