logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

IMG_FreeAnimation - Dispose of an IMG_Animation

Availability

       This function is available since SDL_image 3.0.0.

Description

       The provided anim pointer is not valid once this call returns.

Function Parameters

animIMG_Animation
               to dispose of.

Header File

       Defined in SDL3_image/SDL_image.h

Name

       IMG_FreeAnimation - Dispose of an IMG_Animation
        and free its resources.

See Also

(3), IMG_LoadAnimation(3), (3), IMG_LoadAnimation_IO(3), (3), IMG_LoadAnimationTyped_IO(3)

SDL_image                                        SDL_image 3.2.4                            IMG_FreeAnimation(3)

Synopsis

#include"SDL3_image/SDL_image.h"voidIMG_FreeAnimation(IMG_Animation*anim);

See Also