FastLED 3.10.6
Loading...
Searching...
No Matches

◆ operator|=() [1/2]

FASTLED_FORCE_INLINE CRGB & fl::CRGB::operator|= ( const CRGB & rhs)
inline

"or" operator brings each channel up to the higher of the two values

Definition at line 316 of file crgb.h.

317 {
318 if( rhs.r > r) r = rhs.r;
319 if( rhs.g > g) g = rhs.g;
320 if( rhs.b > b) b = rhs.b;
321 return *this;
322 }
InputGamut g
Definition rgbw.h:124

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

+ Here is the call graph for this function: