FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator&=() [2/2]

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

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

Definition at line 343 of file crgb.h.

344 {
345 if( d < r) r = d;
346 if( d < g) g = d;
347 if( d < b) b = d;
348 return *this;
349 }
InputGamut g
Definition rgbw.h:125

References CRGB(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, and fl::g.

+ Here is the call graph for this function: