XMColorEqual

Tests for the equality of two colors.

Syntax

bool XMColorEqual(
         XMVECTOR C1,
         XMVECTOR C2
)  

Parameters

C1
Type: XMVECTOR 

XMVECTOR describing the first color to compare.

C2
Type: XMVECTOR 

XMVECTOR describing the second color to compare.

Return value

Type: bool 

Returns true if each of the components of the two colors are equal, or false otherwise.

Requirements

Header: Declared in directxmath.h.