ID3D10EffectDepthStencilVariable::GetDepthStencilState method (d3d10effect.h)

Get a pointer to a depth-stencil interface.

Syntax

HRESULT GetDepthStencilState(
  [in]  UINT                    Index,
  [out] ID3D10DepthStencilState **ppDepthStencilState
);

Parameters

[in] Index

Type: UINT

Index into an array of depth-stencil interfaces. If there is only one depth-stencil interface, use 0.

[out] ppDepthStencilState

Type: ID3D10DepthStencilState**

The address of a pointer to a blend-state interface (see ID3D10DepthStencilState Interface).

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectDepthStencilVariable Interface