ID3D11DeviceX::CreateDepthStencilStateX Method

Create a depth-stencil state object that encapsulates depth-stencil test information for the output-merger stage. This is the Xbox-specific version of the method.

Syntax

public:
HRESULT CreateDepthStencilStateX(
         const D3D11_DEPTH_STENCIL_DESC *pDepthStencilStateDescX,
         ID3D11DepthStencilState **ppDepthStencilState
)  

Parameters

pDepthStencilStateDescX
Type: D3D11_DEPTH_STENCIL_DESC *

[in] Pointer to a depth-stencil state description (see D3D11_DEPTH_STENCIL_DESC).

ppDepthStencilState
Type: ID3D11DepthStencilState **

[out, optional] Address of a pointer to the depth-stencil state object created (see ID3D11DepthStencilState).

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Remarks

4,096 unique depth-stencil state objects can be created on a device at a time.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members