XMConvertHalfToFloatStream

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
Type: float *

[out]

Address of the first float value in the output stream.

OutputStride
Type: size_t 

[in]

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

pInputStream
Type: HALF *

[in]

Address of the first HALF value in the input stream.

InputStride
Type: size_t 

[in]

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

HalfCount
Type: size_t 

[in]

Number of HALF values to convert.

Return value

Type: float *

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

Requirements

Header: Declared in directxpackedvector.h.