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.

Syntax

XMVECTOR XMVectorEqualR(
         uint32_t *pCR,
         XMVECTOR V1,
         XMVECTOR V2
)  

Parameters

pCR
Type: uint32_t *

[out]

Pointer to a uint32_t comparison value that can be examined using functions such as XMComparisonAllTrue. The XMComparisonXXXX functions may be used to further test the number of components that passed the comparison.

V1
Type: XMVECTOR 

[in]

First vector to compare.

V2
Type: XMVECTOR 

[in]

Second vector to compare.

Return value

Type: XMVECTOR 

Returns a vector containing the results of each component test.

Requirements

Header: Declared in directxmath.h.