Struct ecs_type_info_t

Synopsis

#include <include/flecs.h>

struct ecs_type_info_t

Description

Type that contains component information (passed to ctors/dtors/...)

Type information

Source

Lines 584-589 in include/flecs.h.

struct ecs_type_info_t {
    ecs_size_t size;         /* Size of type */
    ecs_size_t alignment;    /* Alignment of type */
    ecs_type_hooks_t hooks;  /* Type hooks */
    ecs_entity_t component;  /* Handle to component (do not set) */
};