SDL_EGLSurface(3type)

✨ SDL_EGLSurface ✨

okay bestie, welcome to the SDL_EGLSurface page β€” it lives in the SDL3 DATATYPES section of the manual, and its manual name is literally 3type (yes, a type page, not a function page β€” she's built different πŸŽ€).


🌸 NAME 🌸

SDL_EGLSurface β€” the opaque type for an EGL surface. That's it. That's the whole name section. She's mysterious, she's lowkey, she's giving "you don't need to know what's inside me" πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

pull her in like this, bestie:

#include <SDL3/SDL_video.h>

typedef void *SDL_EGLSurface;

so yeah β€” it's a typedef of void *. Opaque. You hold the pointer, you pass the pointer around, and you do not go poking at whatever it points to. Respect her privacy fr fr πŸ™ˆ


πŸ’– AVAILABILITY πŸ’–

this datatype has been around since SDL 3.2.0. if you're on anything older, she simply does not exist for you β€” sorry babe 😭


and that's the whole vibe check, bestie β€” short page, no notes, ate and left no crumbs πŸ‘‘βœ¨

this one's brought to you by Simple Directmedia Layer, sitting pretty at version SDL 3.4.18 β€” big love to the SDL girlies for keeping the docs cute and the API stable πŸ«ΆπŸ’–

πŸ“¦ where this page comes from