Skip to content
Flecs v4.2
ecs_script_desc_t Struct Reference

Used with ecs_script_init(). More...

#include <script.h>

Public Attributes

ecs_entity_t entity
 Set to customize entity handle associated with script.
const char * filename
 Set to load script from file.
const char * code
 Set to parse script from string.
bool skip_unknown
 Skip unknown identifiers (see ecs_script_eval_desc_t::skip_unknown).
bool ir
 Evaluate script with IR runtime.

Detailed Description

Used with ecs_script_init().

Definition at line 807 of file script.h.

Member Data Documentation

◆ code

const char* ecs_script_desc_t::code

Set to parse script from string.

Definition at line 810 of file script.h.

◆ entity

ecs_entity_t ecs_script_desc_t::entity

Set to customize entity handle associated with script.

Definition at line 808 of file script.h.

◆ filename

const char* ecs_script_desc_t::filename

Set to load script from file.

Definition at line 809 of file script.h.

◆ ir

bool ecs_script_desc_t::ir

Evaluate script with IR runtime.

Definition at line 812 of file script.h.

◆ skip_unknown

bool ecs_script_desc_t::skip_unknown

Skip unknown identifiers (see ecs_script_eval_desc_t::skip_unknown).

Definition at line 811 of file script.h.


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