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

Type that describes an enum constant. More...

#include <meta.h>

Public Attributes

const char * name
 Must be set when used with ecs_enum_desc_t.
 
int32_t value
 May be set when used with ecs_enum_desc_t.
 
ecs_entity_t constant
 Should not be set by ecs_enum_desc_t.
 

Detailed Description

Type that describes an enum constant.

Definition at line 271 of file meta.h.

Member Data Documentation

◆ constant

ecs_entity_t ecs_enum_constant_t::constant

Should not be set by ecs_enum_desc_t.

Definition at line 279 of file meta.h.

◆ name

const char* ecs_enum_constant_t::name

Must be set when used with ecs_enum_desc_t.

Definition at line 273 of file meta.h.

◆ value

int32_t ecs_enum_constant_t::value

May be set when used with ecs_enum_desc_t.

Definition at line 276 of file meta.h.


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