Function ggez::event::process_event[][src]

pub fn process_event(ctx: &mut Context, event: &mut Event<'_, ()>)
Expand description

Feeds an Event into the Context so it can update any internal state it needs to, such as detecting window resizes. If you are rolling your own event loop, you should call this on the events you receive before processing them yourself.