Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Built-in component types.

Types that represent built-in components. More...

Collaboration diagram for Built-in component types.:

Classes

struct  EcsIdentifier
 A (string) identifier. More...
 
struct  EcsComponent
 Component information. More...
 
struct  EcsPoly
 Component for storing a poly object. 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 EcsParent EcsParent
 Non-fragmenting ChildOf relationship.
 
typedef struct EcsTreeSpawner EcsTreeSpawner
 Tree instantiation cache component.
 

Detailed Description

Types that represent built-in components.

Typedef Documentation

◆ EcsIdentifier

typedef struct EcsIdentifier EcsIdentifier

A (string) identifier.

Used as a pair with EcsName and EcsSymbol tags.

◆ EcsTreeSpawner

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.