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

◆ operator|=() [1/2]

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

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

Definition at line 303 of file crgb.h.

304 {
305 if( rhs.r > r) r = rhs.r;
306 if( rhs.g > g) g = rhs.g;
307 if( rhs.b > b) b = rhs.b;
308 return *this;
309 }

References CRGB(), and FASTLED_FORCE_INLINE.

+ Here is the call graph for this function: