|
FastLED 3.9.15
|
| nsgif_error fl::third_party::nsgif_reset | ( | nsgif_t * | gif | ) |
Reset a GIF animation.
Some animations are only meant to loop N times, and then show the final frame forever. This function resets the loop and frame counters, so that the animation can be replayed without the overhead of recreating the nsgif_t object and rescanning the raw data.
| [in] | gif | A nsgif_t object. |
Definition at line 1872 of file gif.cpp.hpp.
References FL_NOEXCEPT, NSGIF_FRAME_INVALID, and NSGIF_OK.