ID3D10EffectShaderResourceVariable::GetResourceArray method (d3d10effect.h)

Get an array of shader resources.

Syntax

HRESULT GetResourceArray(
  [out] ID3D10ShaderResourceView **ppResources,
  [in]  UINT                     Offset,
  [in]  UINT                     Count
);

Parameters

[out] ppResources

Type: ID3D10ShaderResourceView**

The address of an array of shader-resource-view interfaces. See ID3D10ShaderResourceView Interface.

[in] Offset

Type: UINT

The zero-based array index to get 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

See also

ID3D10EffectShaderResourceVariable Interface