Skip to main content

Module window

Module window 

Source

Structs§

Input
The frame’s keyboard/mouse/touch/window input state.
TouchPoint
One active finger on a touchscreen — id is stable for that finger’s whole contact, from Started through Ended/Cancelled.
Window
Runtime control over the OS window — cursor, title, size, fullscreen, and the like.
WindowControlPlugin
Inserts Window as a resource, wrapping the same handle already in WindowResource<WinitWindow>. WGPUPlugin adds this automatically, right after WindowPlugin<WinitWindow> — add it yourself only if you’re composing WindowPlugin<WinitWindow> without going through WGPUPlugin (see the book’s “Owning the graphics backend yourself”).
WinitWindow

Enums§

TouchPhase
Mirrors winit::event::TouchPhase.