ID3D11DepthStencilState::GetDesc method

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

Syntax

void GetDesc(
  D3D11_DEPTH_STENCIL_DESC *pDesc
);

Parameters

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

   
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11DepthStencilState