Function egui_winit::update_viewport_info
source · pub fn update_viewport_info(
viewport_info: &mut ViewportInfo,
egui_ctx: &Context,
window: &Window
)
Expand description
Update the given viewport info with the current state of the window.
Call before State::take_egui_input
.