Skip to main content

present_mode

Function present_mode 

Source
pub fn present_mode(options: &mut NativeOptions) -> PresentMode
Expand description

Sets the options’ present mode for several windows (wanted_present_mode, Wayland read from the environment), unless the application chose one other than eframe’s default. Returns the mode in force.