MCPcopy Create free account
hub / github.com/FastLED/FastLED / getFx

Method getFx

src/fl/fx/fx_engine.cpp.hpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87FxPtr FxEngine::getFx(int id) {
88 if (mEffects.has(id)) {
89 FxPtr fx;
90 mEffects.get(id, &fx);
91 return fx;
92 }
93 return FxPtr();
94}
95
96bool FxEngine::draw(fl::u32 now, fl::span<CRGB> finalBuffer) {
97 mTimeFunction.update(now);

Callers

nothing calls this directly

Calls 2

hasMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected