SDL_DisplayModeData(3type)

πŸ’… SDL_DisplayModeData πŸ’…

okay bestie, welcome to the SDL3 DATATYPES corner of the manual β€” this one's tiny but it matters, so let's get into it 🫢


✨ NAME ✨

SDL_DisplayModeData β€” Internal display mode data. That's it. That's the whole vibe. πŸ™ˆ


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_video.h>

typedef struct SDL_DisplayModeData SDL_DisplayModeData;

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie: this thing lives as a field inside SDL_DisplayMode, and it's opaque data. Meaning? You don't poke at its insides, you don't peek under the hood, you just let it exist and do its lil internal thing. It's giving mysterious. It's giving backstage pass only. πŸ‘‘

No cap β€” opaque means you're not supposed to touch the internals. Hands off the merch, bestie. πŸ’…

🌸 AVAILABILITY 🌸

  • This struct has been around since SDL 3.2.0. So if you're on anything older, she is not there yet, and that's on that. 😭

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, periodt ✨ This one came straight from the Simple Directmedia Layer girlies, rocking SDL 3.4.18, and yes she's short but she's iconic. bye bestie, drink water πŸ’–πŸŒˆ

πŸ“¦ where this page comes from