Flecs: ecs_enum_constant_t Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
ecs_enum_constant_t Struct Reference
C API » Addons » Meta

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 270 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 281 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 272 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 275 of file meta.h.

## ◆ value_unsigned

uint64_t ecs_enum_constant_t::value_unsigned

For when the underlying type is unsigned.

Definition at line 278 of file meta.h.

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

- include/flecs/addons/meta.h