ID3D10EffectScalarVariable::GetFloatArray method (d3d10effect.h)

Get an array of floating-point variables.

Syntax

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

Parameters

[out] 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