FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Frame()

fl::Frame::Frame ( int pixels_per_frame)
explicit

Definition at line 16 of file frame.cpp.

16 : mPixelsCount(pixels_count), mRgb() {
17 mRgb.resize(pixels_count);
18 fl::memfill((uint8_t*)mRgb.data(), 0, pixels_count * sizeof(CRGB));
19}
fl::vector< CRGB, fl::allocator_psram< CRGB > > mRgb
Definition frame.h:45
const size_t mPixelsCount
Definition frame.h:44
void * memfill(void *ptr, int value, fl::size num)
Definition memfill.h:11

References fl::memfill(), mPixelsCount, and mRgb.

Referenced by copy(), interpolate(), and interpolate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: