Export (0) Print
Expand All
Expand Minimize

D3DXFloat32To16Array function

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

Syntax


D3DXFLOAT16* D3DXFloat32To16Array(
  _Inout_  D3DXFLOAT16 *pOut,
  _In_     const FLOAT *pIn,
  _In_     UINT n
);

Parameters

pOut [in, out]

Type: D3DXFLOAT16*

Pointer to the array of 16-bit floats.

pIn [in]

Type: const FLOAT*

Pointer to an array of 32-bit floats.

n [in]

Type: UINT

The number of elements in the array.

Return value

Type: D3DXFLOAT16*

Pointer to an array of 16-bit floats.

Requirements

Header

D3dx9math.h

Library

D3dx9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft