Skip to content
Flecs v4.1
ecs_mut_var_desc_t Struct Reference

Used with ecs_mut_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_mut_var_init().

Definition at line 1234 of file script.h.

Member Data Documentation

◆ name

const char* ecs_mut_var_desc_t::name

Variable name.

Definition at line 1236 of file script.h.

◆ parent

ecs_entity_t ecs_mut_var_desc_t::parent

Variable parent (namespace).

Definition at line 1239 of file script.h.

◆ type

ecs_entity_t ecs_mut_var_desc_t::type

Variable type.

Definition at line 1242 of file script.h.

◆ value

void* ecs_mut_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 1246 of file script.h.


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