Runtime (Visera.Runtime)¶
Runtime is the application-facing layer: RHI (Vulkan), graphics (scene, material, render graph), AssetHub, audio, input, scripting (V8), UI (ImGui), and window integration. It depends on Core and Platform and is what games link through the top-level Visera module (Engine/Visera.ixx).
Overview¶
- Module:
Visera.Runtime - Source path:
Engine/Runtime/Source/ - Dependencies: Core and Platform. Optional Forge is a separate executable, not a Runtime dependency for games.
- Build: Built as part of the
Viseralibrary target.
Submodules¶
The root module Visera-Runtime.ixx re-exports:
| Module | Description |
|---|---|
| AssetHub | Asset loading: images (PNG/EXR), font (FreeType), shader. |
| Audio | Audio interface, Null backend, Wwise and Wwise-IO. |
| Graphics | Framework, material, pipeline cache, render graph, scene (camera, light, renderable). |
| Input | Actions, mapping, devices (keyboard, mouse). |
| Scripting | V8 VM, context, bindings (graphics, input, audio), entry script and OnTick / OnInit. |
| RHI | Barriers, command list, registry, resources, Vulkan backend. |
| UI | UI context and ImGui integration. |
| Window | Runtime window and platform integration. |
Reserved: Visera.Runtime.World exists under Runtime/Source/World/ but is not re-exported by Visera.Runtime. See Architecture.
See also¶
- Architecture —
FEngineCreateInfo, service order,Run() - Engine Core
- Platform