Struct EcsMetaType

Synopsis

#include <include/flecs/addons/meta.h>

typedef struct EcsMetaType

Description

Component that is automatically added to every type with the right kind.

Source

Lines 142-148 in include/flecs/addons/meta.h.

typedef struct EcsMetaType {
    ecs_type_kind_t kind;
    bool existing;   /* Did the type exist or is it populated from reflection */
    bool partial;    /* Is the reflection data a partial type description */
    ecs_size_t size;       /* Computed size */
    ecs_size_t alignment;  /* Computed alignment */
} EcsMetaType;