XMColorLessOrEqual

Tests whether all the components of the first color are less than or equal to the corresponding components of the second color.

Syntax

bool XMColorLessOrEqual(
         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 every component of C1 is less than or equal to the corresponding component in C2. Returns false otherwise.

Requirements

Header: Declared in directxmath.h.