DirectXMath Library Conversion Functions

Lists the conversion functions provided by DirectXMath.

Functions

Name Description
XMConvertFloatToHalf Converts a single-precision floating-point value to a half-precision floating-point value.
XMConvertFloatToHalfStream Converts a stream of single-precision floating-point values to a stream of half-precision floating-point values.
XMConvertHalfToFloat Converts a half-precision floating-point value to a single-precision floating-point value.
XMConvertHalfToFloatStream Converts a stream of half-precision floating-point values to a stream of single-precision floating-point values.
XMConvertToDegrees Converts an angle measured in radians into one measured in degrees.
XMConvertToRadians Converts an angle measured in degrees into one measured in radians.
XMConvertVectorFloatToInt Converts an XMVECTOR with float components to an XMVECTOR with int32_t components and applies a uniform bias.
XMConvertVectorFloatToUInt Converts an XMVECTOR with float components to an XMVECTOR with uint32_t components and applies a uniform bias.
XMConvertVectorIntToFloat Converts an XMVECTOR with int32_t components to an XMVECTOR with float components and applies a uniform bias.
XMConvertVectorUIntToFloat Converts an XMVECTOR with uint32_t components to an XMVECTOR with float components and applies a uniform bias.