ID3D11DepthStencilState
Represents a depth-stencil state object (see Depth-Stencil State).
Interface
This interface inherits from ID3D11DeviceChild.
interface ID3D11DepthStencilState : ID3D11DeviceChild
Members
The ID3D11DepthStencilState interface includes the following methods.
Methods
Gets a description of the depth-stencil state (see D3D11_DEPTH_STENCIL_DESC).
void GetDesc(
[out] D3D11_DEPTH_STENCIL_DESC *pDesc
);
Parameters
Parameter |
Description |
pDesc |
[out] A pointer to a D3D11_DEPTH_STENCIL_DESC structure that will be filled with a description of the depth-stencil state. |
Remarks
Depth-stencil state specifies how the depth-stencil buffer is tested and updated.
To create a depth-stencil state object, call ID3D11Device::CreateDepthStencilState.
Requirements
Developable with (minimum supported tool) |
Redistributable (minimum supported system) |
DirectX SDK (June 2010) |
Windows 7 on Windows 7 and later |
See Also
Note: This documentation is for DirectX 11. For newer versions of DirectX, please refer to the appropriate documentation.