ID3D11DepthStencilState::GetDesc method

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

pDesc [out]

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

Returns nothing.

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

D3D11.h

Library

D3D11.lib

See also

ID3D11DepthStencilState

 

 

Show: