Expand description
Abstract trait for editor overlay rendering.
The EditorOverlay trait defines the interface for rendering an immediate-mode
UI overlay on top of the engine’s 3D scene. The concrete implementation lives in
khora-infra (e.g., EguiOverlay backed by egui + wgpu).
§Architecture
khora-core → EditorOverlay trait (this file)
khora-infra → EguiOverlay : impl EditorOverlay (egui + custom wgpu renderer)
khora-sdk → EngineState integrates the overlay into the frame loop
khora-editor → Application that builds the editor UI via the shared contextStructs§
- Overlay
Error - Error type for overlay operations.
- Overlay
Screen Descriptor - Descriptor for the current screen state, passed to the overlay each frame.
Traits§
- Editor
Overlay - Abstract trait for an editor UI overlay rendered on top of the 3D scene.