Definition at line 61 of file fx_compositor.h.
63 {
65 return;
66 }
69 if (!progress) {
70 fl::span<CRGB> surface0 =
mLayers[0]->getSurface();
72 return;
73 }
75 fl::span<CRGB> surface0 =
mLayers[0]->getSurface();
76 fl::span<CRGB> surface1 =
mLayers[1]->getSurface();
77
78 for (fl::u32 i = 0; i <
mNumLeds; i++) {
79 const CRGB &p0 = surface0[i];
80 const CRGB &p1 = surface1[i];
82 finalBuffer[i] = out;
83 }
84 if (progress == 255) {
86 }
87}
void completeTransition() FL_NO_EXCEPT
const T * data() const FL_NO_EXCEPT
FASTLED_FORCE_INLINE void * memcpy(void *dest, const void *src, size_t n) FL_NO_EXCEPT
static CRGB blend(const CRGB &p1, const CRGB &p2, fract8 amountOfP2) FL_NO_EXCEPT
References fl::CRGB::blend(), completeTransition(), fl::span< T, Extent >::data(), fl::FL_NO_EXCEPT, fl::memcpy(), mLayers, mNumLeds, mTransition, and speed.