Windows Dev Center

Expand Minimize

D3DXFloat32To16Array function

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

Syntax


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

Parameters

pOut [in]

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

D3DX10Math.h

Library

D3DX10.lib

See also

Math Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft