Skip to main content

Crate oriera_core

Crate oriera_core 

Source
Expand description

L2 Core — real-time frame scheduler and determinism frame.

The scheduler is generic over the world type W: L2 stays below the object model (L3) and must not know what a World is. The application shell instantiates Scheduler<oriera_ecs::World> and owns the world — systems receive &mut W each frame. No shared global state crosses layer boundaries (book T3 §3.8.1).

Structs§

FrameCtx
Context passed to every system each frame.
Scheduler
The frame scheduler: runs registered systems in order, tracks frame time.

Constants§

FRAME_BUDGET_NS
Target frame time in nanoseconds (60fps ≈ 16.6ms).

Traits§

System
A named system that runs each frame against the world W.