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

IMG_FreeAnimation

Dispose of an IMG_Animation and free its resources.

Syntax

void IMG_FreeAnimation(IMG_Animation *anim);

Function Parameters

anim IMG_Animation to dispose of.

Remarks

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

Version

This function is available since SDL_image 2.6.0.


CategoryAPI