DirectXMath Library 4D vector comparison functions

Lists the 4D vector comparison functions.

In this section

Topic Description
XMVector4Equal
Tests whether two 4D vectors are equal.
XMVector4EqualInt
Tests whether two 4D vectors are equal, treating each component as an unsigned integer.
XMVector4EqualIntR
Tests whether two 4D vectors are equal, treating each component as an unsigned integer. In addition, this function returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVector4EqualR
Tests whether two 4D vectors are equal. In addition, this function returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVector4Greater
Tests whether one 4D vector is greater than another 4D vector.
XMVector4GreaterOrEqual
Tests whether one 4D vector is greater-than-or-equal-to another 4D vector.
XMVector4GreaterOrEqualR
Tests whether one 4D vector is greater-than-or-equal-to another 4D vector and returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVector4GreaterR
Tests whether one 4D vector is greater than another 4D vector and returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVector4IsInfinite
Tests whether any component of a 4D vector is positive or negative infinity.
XMVector4IsNaN
Tests whether any component of a 4D vector is a NaN.
XMVector4Less
Tests whether one 4D vector is less than another 4D vector.
XMVector4LessOrEqual
Tests whether one 4D vector is less-than-or-equal-to another 4D vector.
XMVector4NearEqual
Tests whether one 4D vector is near another 4D vector.
XMVector4NotEqual
Tests whether two 4D vectors are not equal.
XMVector4NotEqualInt
Test whether two 4D vectors are not equal, treating each component as an unsigned integer.

 

DirectXMath Library 4D Vector Functions