IMG_LoadAnimation3
Load an animation from a file.
Usage
#include "SDL3_image/SDL_image.h"
IMG_Animation * IMG_LoadAnimation(const char *file);
Header file
Defined in SDL3_image/SDL_image.h
Overview
When done with the returned animation, the app should dispose of it with a call to IMG_FreeAnimation ().
Function parameters
- file
-
path on the filesystem containing an animated image.
Return value
( IMG_Animation
*) Returns a new
IMG_Animation , or NULL on error.