- sdl_init_flag(?Flag:atom, ?Value:integer) is nondet
- Enumerate the SDL subsystem subscription flags. Each flag is a
Prolog atom linked to its SDL bit-mask value.
The user-facing flag atoms are:
audio
video
joystick
haptic
gamepad
events
sensor
camera
everything -- a convenience flag combining the other flags
- See also
- - https://wiki.libsdl.org/SDL3/SDL_Init
- sdl_init(+Flags:list(sdl_init_flag)) is det
- Initializes the SDL library. Each element of Flags must be one of
the atoms enumerated by sdl_init_flag/2.
- See also
- - https://wiki.libsdl.org/SDL3/SDL_Init
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- sdl_quit
- sdl_quit