SDL_FreeYUVOverlay(3)

πŸ’– SDL_FreeYUVOverlay(3) πŸ’–

SDL API Reference ✨ like yes we're in the SDL house tonight


🌸 NAME 🌸

SDL_FreeYUVOverlay β€” bestie, this one frees a YUV video overlay πŸ’… that's the whole job and she does it flawlessly


πŸŽ€ SYNOPSIS πŸŽ€

#include "SDL.h"

void SDL_FreeYUVOverlay(SDL_Overlay *overlay);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got a whole YUV video overlay situation going on, right? πŸ‘‘ And now you're done with it, and holding onto it is just clutter in your entire vibe. So you call this function and it frees an overlay created by SDL_CreateYUVOverlay. 🫢

That's it. That's the whole tea. It's the cleanup bestie, the you don't have to go home but you gotta get out of here of overlays. 🌈 No return value, no drama, it's void because she doesn't need to report back β€” she just handles it. 😌

⚠️ heads up: only pass her overlays that SDL_CreateYUVOverlay made, okay? Don't be out here handing her random pointers, that's not the move. πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

  • SDL_Overlay πŸ’™
  • SDL_DisplayYUVOverlay πŸ’œ
  • SDL_FreeYUVOverlay πŸ’š

and that's the page, bestie πŸ’… this was the SDL manual, dated Tue 11 Sep 2001, 23:01 β€” yes she's been iconic since 2001 and she has not missed a single day since πŸŽ€βœ¨ mwah, love u, go free ur overlays πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from