SDL_InitFlags(3type)
β¨ SDL_InitFlags(3type) β¨
okay bestie, welcome to the SDL3 DATATYPES corner of the man pages, this one's all about SDL_InitFlags π
π NAME π
SDL_InitFlags β the initialization flags for SDL_Init and/or SDL_InitSubSystem. that's it, that's the whole vibe, she's a bitmask and she's booked and busy π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_init.h>
typedef Uint32 SDL_InitFlags;
#define SDL_INIT_AUDIO 0x00000010u /**< `SDL_INIT_AUDIO` implies `SDL_INIT_EVENTS` */
#define SDL_INIT_VIDEO 0x00000020u /**< `SDL_INIT_VIDEO` implies `SDL_INIT_EVENTS`, should be initialized on the main thread */
#define SDL_INIT_JOYSTICK 0x00000200u /**< `SDL_INIT_JOYSTICK` implies `SDL_INIT_EVENTS` */
#define SDL_INIT_HAPTIC 0x00001000u
#define SDL_INIT_GAMEPAD 0x00002000u /**< `SDL_INIT_GAMEPAD` implies `SDL_INIT_JOYSTICK` */
#define SDL_INIT_EVENTS 0x00004000u
#define SDL_INIT_SENSOR 0x00008000u /**< `SDL_INIT_SENSOR` implies `SDL_INIT_EVENTS` */
#define SDL_INIT_CAMERA 0x00010000u /**< `SDL_INIT_CAMERA` implies `SDL_INIT_EVENTS` */
so it's a Uint32 underneath, she's just wearing a fancy typedef dress π«Ά
π« DESCRIPTION π«
these are the flags you can pass to SDL_Init(), no cap. and like β you should only be specifying the subsystems you're actually gonna use in your app, bestie. don't be out here initializing the whole buffet if you're only eating one snack π
π AVAILABILITY π
this datatype has been iconic since SDL 3.2.0 β¨
π₯ SEE ALSO π₯
and that's the whole page, periodt π this one came from Simple Directmedia Layer, version SDL 3.4.18, dated as SDL_InitFlags(3type) β go forth and initialize responsibly, mwah ππβ¨
π¦ 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