Struct EcsType


#include <include/flecs.h>

typedef struct EcsType


Component that stores an ecs_type_t. This component allows for the creation of entities that represent a type, and therefore the creation of named types. This component is typically instantiated by ECS_TYPE.

Mentioned in


Lines 198-201 in include/flecs.h.

typedef struct EcsType {
    ecs_type_t type;        /**< Preserved nested types */
    ecs_type_t normalized;  /**< Union of type and nested AND types */
} EcsType;