DirectXMath Library types

The DirectXMath Library provides a number of structures and defined types to encapsulate data to support ease of use, optimization, and portability.

The list below includes structures currently part of the DirectXMath Library, and available through the DirectXMath.h header.

In this section

Topic Description
HALF Data Type
An alias to uint16_t packed with a 16-bit floating-point number consisting of a sign bit, a 5-bit biased exponent, and a 10-bit mantissa.
XMVECTOR Data Type
A portable type used to represent a vector of four 32-bit floating-point or integer components, each aligned optimally and mapped to a hardware vector register.
XMVECTORF32 Data Type
An opaque, portable type to support the use of C/C++ initializer syntax to load floating-point values into an instance of XMVECTOR type.
XMVECTORI32 Data Type
An opaque, portable type to support the use of C/C++ initializer syntax to load integer values into an instance of XMVECTOR type.
XMVECTORU32 Data Type
An opaque, portable type to support the use of C/C++ initializer syntax to load uint32_t values into an instance of XMVECTOR type.
XMVECTORU8 Data Type
An opaque, portable type to support the use of C/C++ initializer syntax to load uint8_t values into an instance of XMVECTOR type.

 

DirectXMath Programming Reference