IMG_Animation.3type - Man Page

Animated image support

Header File

Defined in SDL3_image/SDL_image.h

Synopsis

#include "SDL3_image/SDL_image.h"

typedef struct IMG_Animation
{
	int w, h;
	int count;
	SDL_Surface **frames;
	int *delays;
} IMG_Animation;

Description

Currently only animated GIFs and WEBP images are supported.

Info

SDL_image 3.2.4 SDL_image3 DATATYPES