Load an animation from a file.
Defined in SDL_image.h
file | path on the filesystem containing an animated image. |
Returns a new IMG_Animation, or NULL on error.
When done with the returned animation, the app should dispose of it with a call to IMG_FreeAnimation().
This function is available since SDL_image 3.0.0.