DirectXMath Library template functions

Lists the template functions provided by DirectXMath.

In this section

Topic Description
XMMax
Compares two numeric data type instances, or two instances of an object which supports an overload of <, and returns the larger one of the two instances. The data type of the arguments and the return value is the same.
XMMin
Compares two numeric data type instances, or two instances of an object which supports an overload of <, and returns the smaller one of the two instances. The data type of the arguments and the return value is the same.
XMVectorPermute
Permutes the components of two vectors to create a new vector.
XMVectorRotateLeft
Rotates the vector left by a given number of 32-bit elements.
XMVectorRotateRight
Rotates the vector right by a given number of 32-bit elements.
XMVectorShiftLeft
Shifts a vector left by a given number of 32-bit elements, filling the vacated elements with elements from a second vector.
XMVectorSwizzle
Swizzles a vector.
XMVectorInsert
Rotates a vector left by a given number of 32-bit components and insert selected elements of that result into another vector.

 

DirectXMath Library Functions