pub fn configure_surface(
    surface: &Surface,
    device: &Device,
    format: TextureFormat,
    size: UVec2,
    present_mode: PresentMode
)
Expand description

Convinence function that re-configures the surface with the expected usages.