FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator&=() [2/2]

FASTLED_FORCE_INLINE CRGB & CRGB::operator&= ( fl::u8 d)
inline

"and" operator brings each channel down to the lower of the two values

Definition at line 398 of file crgb.h.

399 {
400 if( d < r) r = d;
401 if( d < g) g = d;
402 if( d < b) b = d;
403 return *this;
404 }

References CRGB(), and FASTLED_FORCE_INLINE.

+ Here is the call graph for this function: