Skip to main content

Module editor_overlay

Module editor_overlay 

Source
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 context

Structs§

OverlayError
Error type for overlay operations.
OverlayScreenDescriptor
Descriptor for the current screen state, passed to the overlay each frame.

Traits§

EditorOverlay
Abstract trait for an editor UI overlay rendered on top of the 3D scene.