Flecs: ecs_const_var_desc_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_const_var_desc_t Struct Reference
C API » Addons » Flecs script

Used with ecs_const_var_init(). More...

`#include <script.h>`

## Public Attributes
const char * | name
| Variable name.
ecs_entity_t | parent
| Variable parent (namespace).
ecs_entity_t | type
| Variable type.
void * | value
| Pointer to value of variable.

## Detailed Description

Used with ecs_const_var_init().

Definition at line 688 of file script.h.

## Member Data Documentation

## ◆ name

const char* ecs_const_var_desc_t::name

Variable name.

Definition at line 690 of file script.h.

## ◆ parent

ecs_entity_t ecs_const_var_desc_t::parent

Variable parent (namespace).

Definition at line 693 of file script.h.

## ◆ type

ecs_entity_t ecs_const_var_desc_t::type

Variable type.

Definition at line 696 of file script.h.

## ◆ value

void* ecs_const_var_desc_t::value

Pointer to value of variable.

The value will be copied to an internal storage and does not need to be kept alive.

Definition at line 700 of file script.h.

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

- include/flecs/addons/script.h