UserInterface

Trait UserInterface 

Source
pub trait UserInterface<D: Device, A: App> {
    // Required method
    fn show_ui(&mut self, imgui: &mut ImGui<D, A>, open: bool) -> bool;
}
Expand description

Trait for hooking into imgui ui calls into other modules

Required Methods§

Source

fn show_ui(&mut self, imgui: &mut ImGui<D, A>, open: bool) -> bool

Implementors§

Source§

impl<D, A> UserInterface<D, A> for Pmfx<D>
where D: Device, A: App, D::RenderPipeline: Pipeline,