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

Method draw

tests/fl/fx/2d/blend.hpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 fl::string fxName() const override { return "TestFx2D"; }
56
57 void draw(fl::Fx::DrawContext context) override {
58 for (uint16_t i = 0; i < mXyMap.getTotal(); i++) {
59 context.leds[i] = mLeds[i];
60 }
61 }
62
63 fl::unique_ptr<CRGB[]> mLeds;
64};

Callers 6

flowfield.hppFile · 0.45
blend.hppFile · 0.45
renderVizFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls 1

getTotalMethod · 0.80

Tested by

no test coverage detected