Load an animation from a file.
Defined in <SDL3_image/SDL_image.h>
const char *file); IMG_Animation * IMG_LoadAnimation(
const char * | file | path on the filesystem containing an animated image. |
(IMG_Animation *) 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.