FastLED 3.10.8
Loading...
Searching...
No Matches
draw_context.h
Go to the documentation of this file.
1#pragma once
2
3#include "fl/stl/stdint.h"
4#include "fl/stl/span.h"
5#include "fl/stl/noexcept.h"
6
7namespace fl {
8
9class AudioBatch; // forward declaration — pointer only, no include needed
10
12 fl::u32 now;
14 u16 frame_time = 0;
15 float speed = 1.0f;
16 const AudioBatch *audio = nullptr;
18 float speed = 1.0f, const AudioBatch *audio = nullptr)
20 audio(audio) {}
21};
22
23} // namespace fl
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition blur.h:186
Base definition for an LED controller.
DrawContext(fl::u32 now, fl::span< CRGB > leds, u16 frame_time=0, float speed=1.0f, const AudioBatch *audio=nullptr) FL_NO_EXCEPT
fl::span< CRGB > leds
const AudioBatch * audio
Non-owning. Null when no audio.