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 418-422 in include/flecs.h.

typedef struct ecs_component_desc_t {
    ecs_entity_desc_t entity;           /* Parameters for component entity */
    size_t size;                        /* Component size */
    size_t alignment;                   /* Component alignment */
} ecs_component_desc_t;