124static const uint64_t Self =
EcsSelf;
126static const uint64_t Up =
EcsUp;
128static const uint64_t Trav =
EcsTrav;
132static const uint64_t Desc =
EcsDesc;
struct EcsIdentifier EcsIdentifier
A (string) identifier.
struct EcsPoly EcsPoly
Component for storing a poly object.
struct EcsDefaultChildComponent EcsDefaultChildComponent
When added to an entity, this informs serialization formats which component to use when a value is as...
struct EcsParent EcsParent
Non-fragmenting ChildOf relationship.
struct EcsComponent EcsComponent
Component information.
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_term_t ecs_term_t
A term is a single element in a query.
struct ecs_type_info_t ecs_type_info_t
Type information.
struct ecs_observer_t ecs_observer_t
An observer is a system that is invoked when an event matches its query.
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.
struct ecs_type_hooks_t ecs_type_hooks_t
Type hooks are callbacks associated with component lifecycle events.
uint64_t ecs_id_t
IDs are the things that can be added to an entity.
struct ecs_query_t ecs_query_t
A query returns entities matching a list of constraints.
struct ecs_table_t ecs_table_t
A table stores entities and components for a specific type.
struct ecs_iter_t ecs_iter_t
Type used for iterating iterable objects.
ecs_component_record_t component_record_t
Component record type.
ecs_table_t table_t
Table 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.
ecs_flags32_t flags32_t
32-bit flags type.
query_cache_kind_t
Query cache kind.
ecs_world_t world_t
World 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.
struct ecs_world_info_t ecs_world_info_t
Type that contains information about the world.
struct ecs_query_group_info_t ecs_query_group_info_t
Type that contains information about a query group.
#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.