Function SDL_WasInit
pub unsafe extern "C" fn SDL_WasInit(flags: u32) -> u32 ⓘ
Available on crate feature
dep_sdl3
only.Expand description
Get a mask of the specified subsystems which are currently initialized.
§Parameters
flags
: any of the flags used bySDL_Init()
; seeSDL_Init
for details.
§Return value
Returns a mask of all initialized subsystems if flags
is 0, otherwise it
returns the initialization status of the specified subsystems.
§Availability
This function is available since SDL 3.2.0.