ID3D10EffectShaderResourceVariable::SetResourceArray method (d3d10effect.h)

Set an array of shader resources.

Syntax

HRESULT SetResourceArray(
  [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