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

◆ blend()

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

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

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

References CRGB().

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: