FastLED 3.9.15
|
|
inline |
Adds a new effect to the engine.
Allocate from static memory. This is not reference tracked and an object passed in must never be deleted, as the engine will use a non tracking Ptr which may outlive a call to removeFx() and the engine will thefore not know that an object has been deleted. But if it's a static object that's then the object probably wasn't going to be deleted anyway.
Definition at line 68 of file fx_engine.h.
References addFx(), and fl::Ptr< T >::NoTracking().
Referenced by addFx().