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.
 
int64_t value
 May be set when used with ecs_enum_desc_t.
 
uint64_t value_unsigned
 For when the underlying type is unsigned.
 
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 282 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

int64_t ecs_enum_constant_t::value

May be set when used with ecs_enum_desc_t.

Definition at line 276 of file meta.h.

◆ value_unsigned

uint64_t ecs_enum_constant_t::value_unsigned

For when the underlying type is unsigned.

Definition at line 279 of file meta.h.


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