IMG_Animation
Animated image support
- Provided by: libsdl3-image-doc (Version: 3.4.0+ds-1)
- Source: libsdl3-image
- Report a bug
Animated image support
#include <SDL3_image/SDL_image.h>
typedef struct IMG_Animation
{
int w; /**< The width of the frames */
int h; /**< The height of the frames */
int count; /**< The number of frames */
SDL_Surface **frames; /**< An array of frames */
int *delays; /**< An array of frame delays, in milliseconds */
} IMG_Animation;