ID3D11DepthStencilState interface

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


The ID3D11DepthStencilState interface has these methods.

Method Description
ID3D11DepthStencilState::GetDesc Gets the description for depth-stencil state that you used to create the depth-stencil-state object.


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.


Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

Core Interfaces