ID3D10EffectScalarVariable::SetFloatArray method (d3d10effect.h)

Set an array of floating-point variables.

Syntax

HRESULT SetFloatArray(
  [in] float *pData,
  [in] UINT  Offset,
  [in] UINT  Count
);

Parameters

[in] pData

Type: float*

A pointer to the start of the data to set.

[in] Offset

Type: UINT

Must be set to 0; this is reserved for future use.

[in] Count

Type: UINT

The number of array elements to set.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectScalarVariable Interface