SDLInit
SDLInit is a term often used to refer to the initialization routine of the Simple DirectMedia Layer (SDL) library. The official API function is SDL_Init, which initializes the SDL library and any requested subsystems. It takes a single parameter flags, a bitmask constructed from SDL_INIT_TIMER, SDL_INIT_AUDIO, SDL_INIT_VIDEO, SDL_INIT_JOYSTICK, SDL_INIT_HAPTIC, SDL_INIT_GAMECONTROLLER, SDL_INIT_EVENTS, SDL_INIT_SENSOR, or the convenience constant SDL_INIT_EVERYTHING to initialize all subsystems. SDL_Init returns 0 on success or a negative error code on failure. When it fails, the exact status of individual subsystems may vary; retrieve an error message with SDL_GetError.
If you want to initialize subsystems incrementally, use SDL_InitSubSystem to initialize a subset and SDL_WasInit to
Typical usage involves calling SDL_Init early in program startup, usually before creating windows or rendering contexts,
Notes: SDL_Init is the standard entry point; SDLInit may appear in documentation as shorthand or in wrappers,