IMG_AnimationEncoder(3type)

πŸ“¦
version 3.4.8 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– IMG_AnimationEncoder(3type) πŸ’–

okay bestie, welcome to the SDL_image3 DATATYPES section of the manual β€” yes, the datatypes girlies are here and we are thriving ✨


🌸 NAME 🌸

IMG_AnimationEncoder β€” literally just an object that represents the encoder context πŸŽ€

no cap, that's the whole name line. an object. representing the encoder context. she's an icon, she's a vibe, she's a struct πŸ‘‘


✨ SYNOPSIS ✨

#include <SDL3_image/SDL_image.h>

typedef struct IMG_AnimationEncoder IMG_AnimationEncoder;

so the way that works is you pull in <SDL3_image/SDL_image.h> and then β€” boom β€” IMG_AnimationEncoder is a typedef for struct IMG_AnimationEncoder πŸ’… the struct itself is opaque-ish in the sense that the typedef is the thing you actually write in your code. copy it exactly, don't get cute with it, i'm serious 😭


πŸ¦‹ DESCRIPTION πŸ¦‹

IMG_AnimationEncoder is an object representing the encoder context 🫢

that's it. that's the description. she's mysterious, she's lowkey, she keeps her internals to herself and honestly? respect. main character energy fr fr 🌈


πŸ’€ reminder bestie: this page tells you what the type is. it does not tell you what functions take it, return it, or free it. don't be out here guessing β€” go read those pages, iykyk.

sign-off time πŸŽ€

this lil slice of documentation came from SDL_image, version SDL_image 3.4.8 β€” written up under the SDL_image 3type datatypes corner of the manual. obsessed with her, honestly. go forth and encode your animations, queen πŸ‘‘πŸ’–

πŸ“¦ where this page comes from