D3DXFloat32To16Array function (D3dx9math.h)
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also