Function bevy::winit::get_fitting_videomode
source · pub fn get_fitting_videomode(
monitor: &MonitorHandle,
width: u32,
height: u32
) -> VideoMode
Expand description
Gets the “best” video mode which fits the given dimensions.
The heuristic for “best” prioritizes width, height, and refresh rate in that order.