Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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