Vector Comparison Functions

Lists the vector comparison functions.

Functions

Name Description
XMVectorEqual Performs a per-component test for equality of two vectors.
XMVectorEqualInt Performs a per-component test for the equality of two vectors, treating each component as an unsigned integer.
XMVectorEqualIntR Performs a per-component test for equality of two vectors, treating each component as an unsigned integer. In addition, this function sets a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVectorEqualR Performs a per-component test for equality of two vectors and sets a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVectorGreater Performs a per-component test for greater-than between two vectors.
XMVectorGreaterOrEqual Performs a per-component test for greater-than-or-equal between two vectors.
XMVectorGreaterOrEqualR Performs a per-component test for greater-than-or-equal between two vectors and sets a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVectorGreaterR Performs a per-component test for greater-than between two vectors and sets a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVectorLess Performs a per-component test for less-than between two vectors.
XMVectorLessOrEqual Performs a per-component test for less-than-or-equal between two vectors.
XMVectorNearEqual Performs a per-component test for equality of two vectors within a given threshold.