XMConvertHalfToFloatStream function (directxpackedvector.h)

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

Syntax

float * XMConvertHalfToFloatStream(
  [out] float      *pOutputStream,
  [in]  size_t     OutputStride,
  [in]  const HALF *pInputStream,
  [in]  size_t     InputStride,
  [in]  size_t     HalfCount
) noexcept;

Parameters

[out] pOutputStream

Address of the first float value in the output stream.

[in] OutputStride

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

[in] pInputStream

Address of the first HALF value in the input stream.

[in] InputStride

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

[in] 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

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

See also

DirectXMath Library Conversion Functions

XMConvertHalfToFloat