Converts a stream of single-precision floating-point values to a stream of half-precision floating-point values.
HALF* XMConvertFloatToHalfStream(
HALF *pOutputStream,
size_t OutputStride,
const float *pInputStream,
size_t InputStride,
size_t FloatCount
)
pOutputStream
Type: HALF *
[out]
Address of the first HALF value in the output stream.
OutputStride
Type: size_t
[in]
Stride in bytes between the HALF values in the output stream.
pInputStream
Type: float *
[in]
Address of the first float value in the input stream.
InputStride
Type: size_t
[in]
Stride in bytes between the float values in the input stream.
FloatCount
Type: size_t
[in]
Number of float values to convert.
Type: HALF *
Returns the address of the first HALF value in the output stream.
Header: Declared in directxpackedvector.h.