13#ifndef FASTLED_FX_ENGINE_MAX_FX
14#define FASTLED_FX_ENGINE_MAX_FX 64
77 for (fl::u32 i = 0; i <
mNumLeds; i++) {
78 const CRGB &p0 = surface0[i];
79 const CRGB &p1 = surface1[i];
83 if (progress == 255) {
void draw(fl::u32 now, fl::u32 warpedTime, fl::span< CRGB > finalBuffer, float speed=1.0f, const AudioBatch *audio=nullptr)
void startTransition(fl::u32 now, fl::u32 duration, fl::shared_ptr< Fx > nextFx)
void completeTransition()
FxCompositor(fl::u32 numLeds)
const T * data() const FL_NOEXCEPT
void * memcpy(void *dest, const void *src, size_t n) FL_NOEXCEPT
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Base definition for an LED controller.
static CRGB blend(const CRGB &p1, const CRGB &p2, fract8 amountOfP2) FL_NOEXCEPT
Representation of an 8-bit RGB pixel (Red, Green, Blue)