![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Tree instantiation cache component. More...
#include <flecs.h>
Public Attributes | |
| ecs_tree_spawner_t | data [(6)] |
| Cache data indexed by depth. | |
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.
| ecs_tree_spawner_t EcsTreeSpawner::data[(6)] |