Struct lambda::runtimes::application::ApplicationRuntime
source · pub struct ApplicationRuntime { /* private fields */ }
Expand description
A windowed and event-driven runtime that can be used to render a scene on the primary GPU across Windows, MacOS, and Linux.
Trait Implementations§
source§impl Runtime for ApplicationRuntime
impl Runtime for ApplicationRuntime
source§fn run(self)
fn run(self)
Runs the event loop for the Application Runtime 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 an application runtime starts, it will attach all of the components that have been added during the construction phase in the users code.