Expand description
bevy_winit
provides utilities to handle window creation and the eventloop through winit
Most commonly, the [WinitPlugin
] is used as part of
DefaultPlugins
.
The app’s runner is set by WinitPlugin
and handles the winit
EventLoop
.
See winit_runner
for details.
Modules
- Helpers for mapping window entities to accessibility types
Structs
- A resource for configuring usage of the
winit
library. - A resource which maps window entities to
winit
library windows.
Enums
- Configure how the winit event loop should update.
Functions
- Gets the “best” videomode from a monitor.
- Gets the “best” video mode which fits the given dimensions.
- The default
App::runner
for the [WinitPlugin
] plugin. - Compute the physical window position for a given
WindowPosition
.