Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DirectXMath Library Conversion Functions

Lists the conversion functions provided by DirectXMath.

In this section

TopicDescription

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.

 

Related topics

DirectXMath Library Functions

 

 

Show:
© 2017 Microsoft