D3DXFloat32To16Array

Converts an array of 32-bit floats to 16-bit floats.

D3DXFLOAT16 * D3DXFloat32To16Array(
  D3DXFLOAT16* pOut,
  CONST FLOAT* pIn,
  UINT n
);

Parameters

pOut
[in, out] Pointer to the array of 16-bit floats.
pIn
[in] Pointer to an array of 32-bit floats.
n
[in] The number of elements in the array.

Return Values

Pointer to an array of 16-bit floats.

Requirements

Header: Declared in D3dx9math.h.