ID3D11DepthStencilState::GetDesc Method

Gets the description for depth-stencil state that you used to create the depth-stencil-state object.

Syntax

public:
void GetDesc(
         D3D11_DEPTH_STENCIL_DESC *pDesc
)  

Parameters

pDesc
Type: D3D11_DEPTH_STENCIL_DESCĀ *

[out] A pointer to a D3D11_DEPTH_STENCIL_DESC structure that receives a description of the depth-stencil state.

Return value

None.

Remarks

You use the description for depth-stencil state in a call to the ID3D11Device::CreateDepthStencilState method to create the depth-stencil-state object.

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

ID3D11DepthStencilState Members