pub trait Backend {
// Required methods
fn init_for_window(&self, window: &mut Window);
fn new_frame(&self);
fn render(&self);
fn shutdown(&self);
}Expand description
A backend is a platform-specific implementation of the imgui renderer.
Required Methods§
sourcefn init_for_window(&self, window: &mut Window)
fn init_for_window(&self, window: &mut Window)
Initializes the backend.