Skip to content

Engine → ECS

component_registry.h

Owns the component_info of every registered type. Thread-safe: every method takes the registry mutex except info() and count(), which read the pre-reserved, append-only vector guarded by the atomic count. Non-copyable and non-movable (worlds and caches hold its address).

Structs

File Description
dynamic_component_desc A runtime-described component type. DYNAMIC | TRIVIAL are forced on; the alignment must be a power of two in [1, 16].
dynamic_field_desc One field of a runtime-described (C#) component.

Classes

File Description
component_registry Owns the component_info of every registered type. Thread-safe: every method takes the registry mutex except info() and count(), which read the pre-reserved, append-only vector guarded by the atomic count. Non-copyable and non-movable (worlds and caches hold its address).

Forward Declarations

component_type_desc

struct component_type_desc;

world

class world;