124static const uint64_t Self =
EcsSelf;
126static const uint64_t Up =
EcsUp;
128static const uint64_t Trav =
EcsTrav;
132static const uint64_t Desc =
EcsDesc;
FLECS_API const ecs_entity_t ecs_id(EcsDocDescription)
Component ID for EcsDocDescription.
struct ecs_component_record_t ecs_component_record_t
Information about a (component) ID, such as type info and tables with the ID.
struct ecs_ref_t ecs_ref_t
A ref is a fast way to fetch a component for a specific entity.
ecs_id_t ecs_entity_t
An entity identifier.
struct ecs_table_record_t ecs_table_record_t
Opaque type for table record.
struct ecs_world_t ecs_world_t
A world is the container for all ECS data and supporting features.
uint64_t ecs_id_t
IDs are the things that can be added to an entity.
struct ecs_table_t ecs_table_t
A table stores entities and components for a specific type.
ecs_iter_t iter_t
Iterator type.
ecs_query_t query_t
Query type.
ecs_component_record_t component_record_t
Component record type.
ecs_world_info_t world_info_t
World info type.
ecs_term_t term_t
Term type.
EcsDefaultChildComponent DefaultChildComponent
Built-in EcsDefaultChildComponent type.
ecs_table_t table_t
Table type.
EcsComponent Component
Built-in EcsComponent type.
ecs_type_hooks_t type_hooks_t
Type hooks type.
EcsIdentifier Identifier
Built-in EcsIdentifier type.
ecs_table_records_t table_records_t
Table records type.
ecs_flags64_t flags64_t
64-bit flags type.
ecs_table_record_t table_record_t
Table record type.
oper_kind_t
Operator kind.
ecs_entity_t entity_t
Entity type.
EcsParent Parent
Built-in EcsParent type.
ecs_type_t type_t
Type type.
ecs_query_group_info_t query_group_info_t
Query group info type.
ecs_observer_t observer_t
Observer type.
ecs_flags32_t flags32_t
32-bit flags type.
query_cache_kind_t
Query cache kind.
EcsPoly Poly
Built-in EcsPoly type.
ecs_world_t world_t
World type.
ecs_type_info_t type_info_t
Type info type.
@ NotFrom
NotFrom operator.
@ AndFrom
AndFrom operator.
@ Optional
Optional operator.
@ QueryCacheNone
No caching.
@ QueryCacheAll
Cache all.
@ QueryCacheAuto
Auto query cache.
@ QueryCacheDefault
Default query cache.
@ InOutFilter
InOutFilter.
@ InOutDefault
InOutDefault.
const ecs_id_t ECS_PAIR
Indicate that the ID is a pair.
const ecs_id_t ECS_AUTO_OVERRIDE
Automatically override component when it is inherited.
const ecs_id_t ECS_TOGGLE
Add a bitset to storage, which allows a component to be enabled or disabled.
#define EcsIsEntity
Term ID is an entity.
#define EcsIsVariable
Term ID is a variable.
#define EcsIsName
Term ID is a name (don't attempt to look up as an entity).
#define EcsDesc
Iterate groups in descending order.
#define EcsCascade
Sort results breadth-first.
#define EcsTrav
Traverse relationship transitively.
#define EcsTraverseFlags
All term traversal flags.
#define EcsTermRefFlags
All term reference kind flags.
#define EcsUp
Match by traversing upwards.
#define EcsSelf
Term ID flags.
@ EcsQueryCacheAll
Require that all query terms can be cached.
@ EcsQueryCacheDefault
Behavior determined by query creation context.
@ EcsQueryCacheNone
No caching.
@ EcsQueryCacheAuto
Cache query terms that are cacheable.
@ EcsOut
Term is only written.
@ EcsInOut
Term is both read and written.
@ EcsInOutFilter
Same as InOutNone + prevents term from triggering observers.
@ EcsInOutDefault
InOut for regular terms, In for shared terms.
@ EcsInOutNone
Term is neither read nor written.
@ EcsIn
Term is only read.
@ EcsNot
The term must not match.
@ EcsOptional
The term may match.
@ EcsOr
One of the terms in an or chain must match.
@ EcsOrFrom
Term must match at least one component from term ID.
@ EcsAnd
The term must match.
@ EcsNotFrom
Term must match none of the components from term ID.
@ EcsAndFrom
Term must match all components from term ID.
When added to an entity, this informs serialization formats which component to use when a value is as...
Non-fragmenting ChildOf relationship.
Component for storing a poly object.
An observer reacts to events matching a query.
Type that contains information about a query group.
Queries are lists of constraints (terms) that match entities.
Type that describes a term (single element in a query).
Type that contains component information (passed to ctors/dtors/...).
A type is a list of (component) IDs.
Type that contains information about the world.