logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_InitFlags - Initialization flags for SDL_Init and/or SDL_InitSubSystem

Availability

       This datatype is available since SDL 3.2.0.

Description

       These  are the flags which may be passed to SDL_Init().  You should specify the subsystems which you will
       be using in your application.

Name

       SDL_InitFlags - Initialization flags for SDL_Init and/or SDL_InitSubSystem

See Also

SDL_Init(3), SDL_Quit(3), SDL_InitSubSystem(3), SDL_QuitSubSystem(3), SDL_WasInit(3)

Simple Directmedia Layer                           SDL 3.2.20                               SDL_InitFlags(3type)

Synopsis

#include<SDL3/SDL_init.h>typedefUint32SDL_InitFlags;#defineSDL_INIT_AUDIO0x00000010u/**<`SDL_INIT_AUDIO`implies`SDL_INIT_EVENTS`*/#defineSDL_INIT_VIDEO0x00000020u/**<`SDL_INIT_VIDEO`implies`SDL_INIT_EVENTS`,shouldbeinitializedonthemainthread*/#defineSDL_INIT_JOYSTICK0x00000200u/**<`SDL_INIT_JOYSTICK`implies`SDL_INIT_EVENTS`*/#defineSDL_INIT_HAPTIC0x00001000u#defineSDL_INIT_GAMEPAD0x00002000u/**<`SDL_INIT_GAMEPAD`implies`SDL_INIT_JOYSTICK`*/#defineSDL_INIT_EVENTS0x00004000u#defineSDL_INIT_SENSOR0x00008000u/**<`SDL_INIT_SENSOR`implies`SDL_INIT_EVENTS`*/#defineSDL_INIT_CAMERA0x00010000u/**<`SDL_INIT_CAMERA`implies`SDL_INIT_EVENTS`*/

See Also