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<(), String> for ApplicationRuntime
impl Runtime<(), String> for ApplicationRuntime
source§fn run(self) -> Result<(), String>
fn run(self) -> Result<(), String>
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.