IMG_Animation.3type - Man Page

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;

Info

SDL_image 3.4.0 SDL_image3 DATATYPES