Introduction
Ghost.Entities is an archetype-based ECS runtime designed for high throughput and predictable memory access.
At a high level:
Worldowns all ECS state for an isolated simulation context.EntityManagerperforms structural/entity/component operations.ComponentManagerowns archetypes and cached queries.EntityQueryprovides data access and iteration over matching archetypes/chunks.SystemManagerandSystemGroupdrive update order and lifecycle.
The runtime favors:
- contiguous data layouts,
- low-level spans/pointers in hot paths,
- explicit structural changes,
- deferred writes through
EntityCommandBufferfor safe mutation points.
Use this section for conceptual docs, and doc/api/ for generated API reference.