![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Types that represent built-in components. More...
Classes | |
| struct | EcsIdentifier |
| A (string) identifier. More... | |
| struct | EcsComponent |
| Component information. More... | |
| struct | EcsPoly |
| Component for storing a poly object. More... | |
| struct | EcsDefaultChildComponent |
| When added to an entity, this informs serialization formats which component to use when a value is assigned to an entity without specifying the component. More... | |
| struct | EcsParent |
| Non-fragmenting ChildOf relationship. More... | |
| struct | ecs_tree_spawner_child_t |
| Component with data to instantiate a non-fragmenting tree. More... | |
| struct | ecs_tree_spawner_t |
| Tree spawner data for a single hierarchy depth. More... | |
| struct | EcsTreeSpawner |
| Tree instantiation cache component. More... | |
Typedefs | |
| typedef struct EcsIdentifier | EcsIdentifier |
| A (string) identifier. | |
| typedef struct EcsComponent | EcsComponent |
| Component information. | |
| typedef struct EcsPoly | EcsPoly |
| Component for storing a poly object. | |
| typedef struct EcsDefaultChildComponent | EcsDefaultChildComponent |
| When added to an entity, this informs serialization formats which component to use when a value is assigned to an entity without specifying the component. | |
| typedef struct EcsParent | EcsParent |
| Non-fragmenting ChildOf relationship. | |
| typedef struct EcsTreeSpawner | EcsTreeSpawner |
| Tree instantiation cache component. | |
Types that represent built-in components.
| typedef struct EcsDefaultChildComponent EcsDefaultChildComponent |
When added to an entity, this informs serialization formats which component to use when a value is assigned to an entity without specifying the component.
This is intended as a hint; serialization formats are not required to use it. Adding this component does not change the behavior of core ECS operations.
| typedef struct EcsIdentifier EcsIdentifier |
| typedef struct EcsTreeSpawner EcsTreeSpawner |
Tree instantiation cache component.
Tree instantiation cache, indexed by depth. Tables will have a (ParentDepth, depth) pair indicating the hierarchy depth. This means that for different depths, the tables the children are created in will also be different. Caching tables for different depths therefore speeds up instantiating trees even when the top-level entity is not at the root.