Skip to main content

EguiRender

Trait EguiRender 

Source
pub trait EguiRender {
    // Required method
    fn show(&mut self, ctx: &Context);
}
Expand description

Trait for implementing custom egui render passes. Implement this trait to render egui UI in your application.

Required Methods§

Source

fn show(&mut self, ctx: &Context)

Renders the egui UI. Called between begin_frame and end_frame.

Implementors§