Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
EcsConstants Struct Reference

Component with datastructures for looking up enum/bitmask constants. More...

#include <meta.h>

Public Attributes

ecs_map_t * constants
 Populated from child entities with Constant component.
 
ecs_vec_t ordered_constants
 Stores the constants in registration order.
 

Detailed Description

Component with datastructures for looking up enum/bitmask constants.

Definition at line 310 of file meta.h.

Member Data Documentation

◆ constants

ecs_map_t* EcsConstants::constants

Populated from child entities with Constant component.

map<i32_t, ecs_enum_constant_t>

Definition at line 312 of file meta.h.

◆ ordered_constants

ecs_vec_t EcsConstants::ordered_constants

Stores the constants in registration order.

vector<ecs_enum_constants_t>

Definition at line 315 of file meta.h.


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