Struct ecs_component_desc_t

Synopsis

#include <include/flecs.h>

typedef struct ecs_component_desc_t

Description

Used with ecs_component_init.

Mentioned in

Source

Lines 668-675 in include/flecs.h.

typedef struct ecs_component_desc_t {
    int32_t _canary;

    /* Existing entity to associate with observer (optional) */
    ecs_entity_t entity;

    ecs_type_info_t type;      /* Parameters for type (size, hooks, ...) */
} ecs_component_desc_t;