Skip to main content

Module app

Module app 

Source
Expand description

Backend-agnostic app runtime — App trait + AppContext trait.

Standalone tools (the hub, future asset cooker, …) implement App and receive a AppContext each frame. Neither the trait nor its impls expose egui / eframe types — the concrete backend lives in khora-infra::ui::egui::app.

Apps don’t import this module directly; they reach it through the khora-sdk re-exports + a run_native() function that boots the eframe backend behind the trait.

Re-exports§

pub use context::AppContext;
pub use runtime::App;
pub use runtime::AppLifecycle;

Modules§

context
AppContext — per-frame handle handed to super::App::update.
runtime
App trait — what every standalone Khora tool implements.