SDL Wiki
(This function is part of SDL_image, a separate library from SDL.)

IMG_Animation

Animated image support Currently only animated GIFs are supported.

Header File

Defined in <SDL3_image/SDL_image.h>

Syntax

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

CategoryAPI, CategoryAPIStruct, CategorySDLImage


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.