Struct lambda::runtimes::GenericRuntime
source · pub struct GenericRuntime { /* private fields */ }Expand description
A windowed and event-driven kernel that can be used to render a scene on the primary GPU across Windows, MacOS, and Linux at this point in time.
Trait Implementations§
source§impl Runtime for GenericRuntime
impl Runtime for GenericRuntime
source§fn run(self)
fn run(self)
Runs the event loop for the GenericRuntime which takes ownership of all components, the windowing the render context, and anything else relevant to the runtime.
source§fn on_start(&mut self)
fn on_start(&mut self)
When the generic runtime starts, it will attach all of the components that have been added during the construction phase in the users code.