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 β€” the IMG_Animation to dispose of. Hand her over and let the cleanup happen. πŸ“

⭐ AVAILABILITY ⭐

This function is available since SDL_image 3.0.0. Periodt. ✨

🌈 SEE ALSO 🌈


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