SDL_GLContextFlag(3type)
π SDL_GLContextFlag π
okay bestie, welcome to the SDL_GLContextFlag(3type) page from the SDL3 DATATYPES crew π«Ά this is the lil' typedef that holds all the possible flags you can set for the SDL_GL_CONTEXT_FLAGS attribute. she's small, she's Uint32, she's lowkey iconic π
β¨ NAME β¨
SDL_GLContextFlag β the possible flags you can set for the SDL_GL_CONTEXT_FLAGS attribute π
π SYNOPSIS π
#include <SDL3/SDL_video.h>
typedef Uint32 SDL_GLContextFlag;
#define SDL_GL_CONTEXT_DEBUG_FLAG 0x0001
#define SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG 0x0002
#define SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG 0x0004
#define SDL_GL_CONTEXT_RESET_ISOLATION_FLAG 0x0008
so yeah, it's literally just a Uint32 in a cute lil' trench coat, and the four defines above are the flags you can OR together. no cap π§
πΈ AVAILABILITY πΈ
this datatype has been serving looks since SDL 3.2.0 β¨ she's not new new, but she's not ancient either. periodt.
and that's the whole vibe, bestie β every flag, every value, all of it, exactly where it belongs. go forth and set your context flags responsibly π
source: Simple Directmedia Layer Β· version: SDL 3.4.18 Β· manual: SDL_GLContextFlag(3type) π¦
mwah, stan a good typedef, bye bestie ππβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms