ID3D11DepthStencilState interface

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

Methods

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.

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

   
Windows version Windows 7 [desktop apps | UWP apps] Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See Also

Core Interfaces

ID3D11DeviceChild