pub fn begin_with<'a, W>(
    window: &mut W,
    render_pass: RenderPass<'a>,
    surface: Surface,
    surface_config: SurfaceConfiguration
) -> (Painter<'a>, EguiState)where
    W: WindowExt + PPU,
Expand description

Construct the frontend.