FastLED 3.10.6
Loading...
Searching...
No Matches

◆ ensureBuffers()

void mood_ring::MoodPainter::ensureBuffers ( fl::size n)
private

Definition at line 29 of file mood_painter.cpp.

29 {
30 if (mBufBreath.size() != n)
31 mBufBreath.assign(n, RGBf{});
32 if (mBufFlow.size() != n)
33 mBufFlow.assign(n, RGBf{});
34 if (mBufGroove.size() != n)
35 mBufGroove.assign(n, RGBf{});
36 if (mMix.size() != n)
37 mMix.assign(n, RGBf{});
38 if (mTrail.size() != n)
39 mTrail.assign(n, RGBf{});
40}
fl::vector< RGBf > mBufGroove
fl::vector< RGBf > mTrail
persistence shadow
fl::vector< RGBf > mBufFlow
fl::vector< RGBf > mBufBreath
fl::vector< RGBf > mMix
this frame, summed

References mBufBreath, mBufFlow, mBufGroove, mMix, and mTrail.

Referenced by draw().

+ Here is the caller graph for this function: