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.
public:
HRESULT CreateDepthStencilStateX(
const D3D11_DEPTH_STENCIL_DESC *pDepthStencilStateDescX,
ID3D11DepthStencilState **ppDepthStencilState
)
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).
Type: HRESULT
One of the Direct3D 11 return codes.
4,096 unique depth-stencil state objects can be created on a device at a time.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.