Function bevy::winit::winit_runner

pub fn winit_runner(app: App) -> AppExit
Expand description

The default App::runner for the WinitPlugin plugin.

Overriding the app’s runner while using WinitPlugin will bypass the EventLoop.