XMConvertHalfToFloatStream function

Converts a stream of half-precision floating-point values to a stream of single-precision floating-point values.

Syntax

float * XMConvertHalfToFloatStream(
  float      *pOutputStream,
  size_t     OutputStride,
  const HALF *pInputStream,
  size_t     InputStride,
  size_t     HalfCount
);

Parameters

pOutputStream

Address of the first float value in the output stream.

OutputStride

Stride in bytes between the float values in the output stream.

pInputStream

Address of the first HALF value in the input stream.

InputStride

Stride in bytes between the HALF values in the input stream.

HalfCount

Number of HALF values to convert.

Return Value

Returns the address of the first float value in the output stream.

Remarks

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

   
Target Platform Windows
Header directxpackedvector.h (include DirectXPackedVector.h)

See Also

DirectXMath Library Conversion Functions

XMConvertHalfToFloat