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

IMG_LoadAnimation_RW

Load an animation from an SDL datasource

Syntax

IMG_Animation * IMG_LoadAnimation_RW(SDL_RWops *src, int freesrc);

Function Parameters

src

RWops

freesrc

can be set so that the RWops is freed after this function is called

Return Value

Returns IMG Animation, or NULL on error

IMG_FreeAnimation

CategoryAPI


[ 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.