Skip to main content

close_window

Function close_window 

Source
pub fn close_window(ctx: &Context, viewport: ViewportId)
Expand description

Frees a window’s image surface (the window closed): its subsurfaces and connection go, its state is forgotten. Windows egui no longer knows are freed this way at the next frame.