Vulfram Engine Overview
Vulfram Engine is the TypeScript host runtime for the Vulfram core. It manages worlds, entities, and resources, then sends batched commands to the native/WASM core via a transport.
Core Concepts
- Engine: Global runtime that owns transports, worlds, and the execution pipeline.
- World: A logical scene bound to a window ID. Most commands include a
windowId. - Entities: Lightweight IDs in the host ECS; components are plain data.
- Resources: GPU-backed objects created in the core (materials, textures, geometry).
- Intents: Host-side requests queued and processed on
tick(). - Systems: Functions that translate intents and synchronize with the core.
Data Flow
- Host enqueues intents by calling API helpers (create entity, update transform, etc.).
- On
tick(), systems translate intents into core commands. - Commands are batched and sent to the core.
- The core replies with responses and emits events (input/window/system).
Where to Start
docs/getting-started.mdfor a minimal setup.docs/resources.mdfor materials, textures, geometry, and models.docs/render-graphs.mdfor custom render graph catalog commands.docs/events-input.mdfor input handling and window state queries.docs/input-frame-contract.mdfor frame-order/reset semantics of mirrored input.docs/input-inventory-phase-0.mdfor baseline ownership/read-write mapping.docs/input-core-extraction-phase-1.mdfor the first extraction step of input core modules.docs/input-routing-extraction-phase-2.mdfor routed pointer extraction by world/target scope.docs/world-input-adapter-phase-3.mdfor world facade adapters andWorld3Dinput split.docs/world3d-api-completion-phase-4.mdfor completedWorld3Dinput/diagnostics query wrappers.docs/consumer-alignment-phase-5.mdfor dependent package/demo alignment after API completion.docs/legacy-cleanup-phase-6.mdfor convergence cleanup and removal of redundant legacy paths.docs/input-architecture-final.mdfor the consolidated final input architecture.docs/input-usage-guide.mdfor practicalWorld3Dinput usage examples.docs/input-hardening-phase-7.mdfor final hardening checklist/status.docs/rendering-environment.mdfor skybox, MSAA, and shadows.
Documentation Vulfram Core