ID3D10EffectDepthStencilViewVariable::SetDepthStencilArray method (d3d10effect.h)

Set an array of depth-stencil-view resources.

Syntax

HRESULT SetDepthStencilArray(
  [out] ID3D10DepthStencilView **ppResources,
  [in]  UINT                   Offset,
  [in]  UINT                   Count
);

Parameters

[out] ppResources

Type: ID3D10DepthStencilView**

A pointer to an array of depth-stencil-view interfaces. See ID3D10DepthStencilView Interface.

[in] Offset

Type: UINT

The zero-based array index to set the first interface.

[in] Count

Type: UINT

The number of elements in the array.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h (include D3d10)

See also

ID3D10EffectDepthStencilViewVariable Interface