IMG_FreeAnimation(3)
β¨ NAME β¨
okay so bestie, this is the SDL_image3 FUNCTIONS manual page for IMG_FreeAnimation β the dispose-of-an-IMG_Animation-and-free-its-resources episode. She disposes of an IMG_Animation and frees its resources, and thatβs literally the assignment. π«Ά
π SYNOPSIS π
#include <SDL3_image/SDL_image.h>
void IMG_FreeAnimation(IMG_Animation *anim);
π DESCRIPTION π
You pass in your anim, and this function disposes of it and frees its resources. Slay. But hear me: the provided anim pointer is not valid once this call returns. No cap, that pointer is done. π
After this call returns, anim is not valid β thatβs the rule, bestie. π«
πΈ FUNCTION PARAMETERS πΈ
animβ theIMG_Animationto dispose of. Hand her over and let the cleanup happen. π
β AVAILABILITY β
This function is available since SDL_image 3.0.0. Periodt. β¨
π SEE ALSO π
IMG_LoadAnimation(3)IMG_LoadAnimation_IO(3)IMG_LoadAnimationTyped_IO(3)IMG_LoadANIAnimation_IO(3)IMG_LoadAPNGAnimation_IO(3)IMG_LoadAVIFAnimation_IO(3)IMG_LoadGIFAnimation_IO(3)IMG_LoadWEBPAnimation_IO(3)
stay hydrated and go free that animation, bestie π this page is from SDL_image 3.4.4 by SDL_image β the footer didnβt hand us a date, so no fake date from me, just vibes and accurate facts. π
π¦ where this page comes from
- ubuntu stonking: libsdl3-image-doc 3.4.4+ds-2 Β· zlib/libpng AND HPND-like AND zlib-like-permissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms