ID3D11DepthStencilState Interface

The depth-stencil-state interface holds a description for depth-stencil state that you can bind to the output-merger stage.

Syntax

interface ID3D11DepthStencilState : public ID3D11DeviceChild  

Remarks

To create a depth-stencil-state object, call ID3D11Device::CreateDepthStencilState. To bind the depth-stencil-state object to the output-merger stage, call ID3D11DeviceContext::OMSetDepthStencilState.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DepthStencilState Members