Crate bevy::winit

source ·
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§

Structs§

  • The default event that can be used to wake the window loop Wakes up the loop if in wait state
  • A Plugin that uses winit to create and manage windows, and receive window and input events.
  • Settings for the WinitPlugin.
  • A resource mapping window entities to their winit-backend Window states.

Enums§

Functions§

Type Aliases§