Platform.pollEvent

Get next SDL2 event. Input state gets updated and window callbacks are called too. Returns true if an event is returned.

class Platform
bool
pollEvent
(
SDL_Event* event
)

Meta