Tests whether two 4D vectors are equal. In addition, this function returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
uint32_t XMVector4EqualR(
XMVECTOR V1,
XMVECTOR V2
)
V1
Type: XMVECTOR
4D vector.
V2
Type: XMVECTOR
4D vector.
Type: uint32_t
Returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
This function does the following test:
V1.x == V2.x
V1.y == V2.y
V1.z == V2.z
V1.w == V2.w
Header: Declared in directxmath.h.