Skip to main content

Module registry

Module registry 

Source
Expand description

Open component registration system for scene serialization.

Components register their serialization/deserialization functions at link time via inventory. The Definition and Recipe strategies iterate these registrations to handle all component types.

Structs§

ComponentRegistration
Registration entry for a serializable component type.

Functions§

link_parent_child
Links child under parent, maintaining both halves of the hierarchy edge — the Parent back-reference and the parent’s Children list.
provenance_of
Looks up the registered provenance of a component by its type_name.
serialize_all_components
Serializes every component of entity that belongs to the author.