ID3D10Device::OMGetDepthStencilState method (d3d10.h)
Gets the depth-stencil state of the output-merger stage.
Syntax
void OMGetDepthStencilState(
[out] ID3D10DepthStencilState **ppDepthStencilState,
[out] UINT *pStencilRef
);
Parameters
[out] ppDepthStencilState
Type: ID3D10DepthStencilState**
Address of a pointer to a depth-stencil state interface (see ID3D10DepthStencilState) to be filled with information from the device.
[out] pStencilRef
Type: UINT*
Pointer to the stencil reference value used in the depth-stencil test.
Return value
None
Remarks
Any returned interfaces will have their reference count incremented by one. Applications should call IUnknown::Release on the returned interfaces when they are no longer needed to avoid memory leaks.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |