other versions
- trixie 3.2.4+ds-1
- testing 3.2.6+ds-1
- unstable 3.4.0+ds-1
- experimental 3.3.4+ds-2
| IMG_Animation(3type) | SDL_image3 DATATYPES | IMG_Animation(3type) |
NAME¶
IMG_Animation - Animated image support
SYNOPSIS¶
#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;
| SDL_image 3.4.0 | SDL_image |