XMComparisonAllFalse

Tests the comparison value to determine if all of the compared components are false.

Syntax

bool XMComparisonAllFalse(
         uint32_t CR
)  

Parameters

CR
Type: uint32_t 

Comparison value to test. The comparison value is typically retrieved using a recording version of an DirectXMath function such as XMVector4EqualR. The names of the recording functions end with an “R”.

Return value

Type: bool 

Returns true if all of the compared components are false.

Remarks

The following code snippet highlights how this function might be used:

uint32_t comparisonValue = XMVector4EqualR( V1, V2 );
if( XMComparisonAllFalse( comparisonValue ) )
{
	DoStuff();
}  

The DoStuff function will be called only if all four components of V1 and V2 are different (all compared components are false).

Requirements

Header: Declared in directxmath.h.