Skip to content
Flecs v4.1

Tree instantiation cache component. More...

#include <flecs.h>

Public Attributes

ecs_tree_spawner_t data [(6)]
 Cache data indexed by depth.

Detailed Description

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.

Definition at line 1655 of file flecs.h.

Member Data Documentation

◆ data

ecs_tree_spawner_t EcsTreeSpawner::data[(6)]

Cache data indexed by depth.

Definition at line 1656 of file flecs.h.


The documentation for this struct was generated from the following file: