Load SDL2 library, redirect logging to our logger. You can pass a null logger if you don't want logging. To specify a minimum version of SDL2 you need to use compile time versions (SDL_201, SDL_202, etc.)
Releases the SDL library and all resources. All resources should have been released at this point, since you won't be able to call any SDL function afterwards.
Get next SDL event. Input state gets updated and window callbacks are called too.
Process all pending SDL events. Input state gets updated. You would typically look at event instead of calling this function.
Sets clipboard content.
Start text input.
Stops text input.
Initialize a subsystem. By default, all SDL subsystems are uninitialized.
Wait for next SDL event. Input state gets updated and window callbacks are called too.
Wait for next SDL event, with a timeout. Input state gets updated and window callbacks are called too.
Owns both the loader, logging, keyboard state... This object is passed around to other SDL wrapper objects to ensure library loading.