FastLED 3.9.7
|
Public Types | |
using | DrawContext = _DrawContext |
Public Member Functions | |
Fx (uint16_t numLeds) | |
virtual void | draw (DrawContext context)=0 |
virtual bool | hasFixedFrameRate (float *fps) const |
virtual fl::Str | fxName () const =0 |
virtual void | pause (uint32_t now) |
virtual void | resume (uint32_t now) |
uint16_t | getNumLeds () const |
Public Member Functions inherited from fl::Referent | |
virtual int | ref_count () const |
Protected Attributes | |
uint16_t | mNumLeds |
Additional Inherited Members | |
Protected Member Functions inherited from fl::Referent | |
Referent (const Referent &) | |
Referent & | operator= (const Referent &) |
Referent (Referent &&) | |
Referent & | operator= (Referent &&) |
virtual void | ref () |
virtual void | unref () |
virtual void | destroy () |
using fl::Fx::DrawContext = _DrawContext |
|
pure virtual |
now | The current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior. |
Implemented in fl::Animartrix, fl::Cylon, fl::DemoReel100, fl::Fire2012, fl::NoisePalette, fl::NoiseWave, fl::Pacifica, fl::Pride2015, fl::RedSquare, fl::ScaleUp, fl::TwinkleFox, fl::Video, and fl::VideoFxWrapper.
|
inlinevirtual |