Skip to content
Flecs v4.1
EcsConstants Struct Reference

Component with data structures for looking up enum or 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 data structures for looking up enum or bitmask constants.

Definition at line 317 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 319 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 322 of file meta.h.


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