/// `anti_alias=false` gives us around 23% savings in final bandwidth
`anti_alias=false` gives us around 23% savings in final bandwidth
` anti_alias = false ` gives us around 23% savings in final bandwidth
fn example_output(anti_alias: bool) -> (egui::Output, Vec<egui::ClippedMesh>) {
    let mut ctx = egui::CtxRef::default();
    ctx.memory().options.tessellation_options.anti_alias = anti_alias;
    let raw_input = egui::RawInput::default();
    let mut demo_windows = egui_demo_lib::DemoWindows::default();
    let (output, shapes) = ctx.run(raw_input, |ctx| demo_windows.ui(ctx));
    let clipped_meshes = ctx.tessellate(shapes);
    (output, clipped_meshes)
}
fn example_output ( anti_alias : bool ) -> ( egui :: Output , Vec < egui :: ClippedMesh > ) { let mut ctx = egui :: CtxRef :: default ( ) ; ctx . memory ( ) . options . tessellation_options . anti_alias = anti_alias ; let raw_input = egui :: RawInput :: default ( ) ; let mut demo_windows = egui_demo_lib :: DemoWindows :: default ( ) ; let ( output , shapes ) = ctx . run ( raw_input , | ctx | demo_windows . ui ( ctx ) ) ; let clipped_meshes = ctx . tessellate ( shapes ) ; ( output , clipped_meshes ) }
`anti_alias=false` gives us around 23% savings in final bandwidth
` anti_alias = false ` gives us around 23% savings in final bandwidth
anti_alias
bool