Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The depth-stencil-state interface holds a description for depth-stencil state that you can bind to the output-merger stage.
Inheritance
The ID3D11DepthStencilState interface inherits from ID3D11DeviceChild. ID3D11DepthStencilState also has these types of members:
Methods
The ID3D11DepthStencilState interface has these methods.
| 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
| Requirement | Value |
|---|---|
| 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 |