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

◆ blend()

CRGB CRGB::blend ( const CRGB & p1,
const CRGB & p2,
fract8 amountOfP2 )
static

Definition at line 55 of file crgb.cpp.hpp.

55 {
56 return CRGB(fl::blend8(p1.r, p2.r, amountOfP2), fl::blend8(p1.g, p2.g, amountOfP2),
57 fl::blend8(p1.b, p2.b, amountOfP2));
58}
FASTLED_FORCE_INLINE CRGB() FL_NO_EXCEPT
Default constructor.
Definition crgb.h:111

References CRGB(), and fl::FL_NO_EXCEPT.

Referenced by blendAlphaMaxChannel(), fl::FxCompositor::draw(), fl::Frame::interpolate(), and fl::sampleBilinear().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: