concinnity_engine/app/mod.rs
1//! Client application runtime: the world loop and the runtime systems that drive
2//! a compiled world. The build / edit / debug / preview paths live in the
3//! editor crate.
4//! `pub` so the editor crate (which drives a live App via the runtime API) can
5//! reach these runtime app items through `concinnity_engine::app::*`.
6pub mod anim_runtime;
7
8/// Process-level thread + memory budgets computed at App start.
9pub mod budget;
10// Fixed-timestep accumulator advanced before each world step.
11pub(crate) mod clock;
12pub mod dev_flags;
13// The windowed loop's implementation of the core driver trait.
14mod driver;
15/// Long-session drift of process memory against the tracked heap.
16pub mod mem_drift;
17pub(crate) mod pacing;
18// Pipelined frame driver: sim thread + render half + the channel pair.
19pub(crate) mod pipeline;
20pub mod run;
21pub mod runloop;
22/// Classification of fatal startup failures into a log line plus a sentence for
23/// the error screen.
24pub mod startup_error;
25/// The `App` value a host constructs, starts, and steps.
26pub mod state;
27/// Host-memory queries backing the memory budget + the live-usage readout.
28pub mod syscpu;
29pub mod sysmem;
30
31// Run the app from compiled binary data: the `cn run` production path. `pub`
32// so the editor crate's CLI can dispatch to it.
33pub use run::run;