FastLED 3.10.8
Loading...
Searching...
No Matches

◆ erase()

FramePtr fl::video::FrameInterpolator::erase ( fl::u32 frameNum)
inline

Definition at line 50 of file frame_interpolator.h.

50 {
51 FramePtr out;
52 auto it = mFrames.find(frameNum);
53 if (it == mFrames.end()) {
54 return out;
55 }
56 out = it->second;
57 mFrames.erase(it);
58 return out;
59 }

References fl::FL_NO_EXCEPT, and mFrames.