Skip to main content

Module app

Module app 

Source
Expand description

egui implementation of [khora_core::ui::AppContext] + the run_native boot helper.

Standalone tools (the hub) consume this through khora-sdk — they never import eframe or egui directly.

Structs§

EguiAppContext
Wraps the frame’s root egui::Ui to implement [AppContext].
WindowConfigInput
Owned-data window config — mirrors fields of WindowConfig but stays in khora-infra so we don’t drag the platform module definition all the way down to khora-core for tool-only use.
WindowIconInput
RGBA8 pixel buffer + dimensions for the window icon.

Functions§

run_native
Boot a tool app on the egui+eframe backend.