ecsia-monorepo / devtools/src / FrameDelta
Interface: FrameDelta
Defined in: devtools/src/types.ts:65
One frame's deltas vs the previous observed frame (watch ).
Properties
frame
readonly frame: number;Defined in: devtools/src/types.ts:67
0-based frame index since watch start.
spawned
readonly spawned: number;Defined in: devtools/src/types.ts:70
Entities spawned since the previous sample — real lifecycle (handleStats totals diff), not component churn: add() on a living entity contributes 0; a bare spawn() contributes 1.
despawned
readonly despawned: number;Defined in: devtools/src/types.ts:72
Entities despawned since the previous sample (same lifecycle source).
aliveDelta
readonly aliveDelta: number;Defined in: devtools/src/types.ts:74
Net alive change; always equals spawned − despawned.
archetypesCreated
readonly archetypesCreated: number;Defined in: devtools/src/types.ts:76
Archetypes created since the previous sample (archetype churn).
changedComponents
readonly changedComponents: Readonly<Record<string, number>>;Defined in: devtools/src/types.ts:78
Components whose .changed write-log fired this frame, keyed by component name → count.
changedTotal
readonly changedTotal: number;Defined in: devtools/src/types.ts:80
Total change-tracked writes observed this frame.