ID3D11DepthStencilState::GetDesc method (d3d11.h)

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

Syntax

void GetDesc(
  [out] D3D11_DEPTH_STENCIL_DESC *pDesc
);

Parameters

[out] pDesc

Type: D3D11_DEPTH_STENCIL_DESC*

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

Requirement Value
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11DepthStencilState