Converts a single-precision floating-point value to a half-precision floating-point value.
HALF XMConvertFloatToHalf(
float Value
)
Value
Type: floatÂ
float value to convert.
Type: HALFÂ
Returns the half-precision floating-point value closest to Value.
Header: Declared in directxpackedvector.h.