![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
| C API | |
| Core | Core ECS functionality (entities, storage, queries) |
| API defines | Defines for customizing compile-time features |
| Core API Types | Types for core API objects |
| API types | Public API types |
| Function types. | Function callback types |
| Query descriptor types. | Types used to describe queries |
| Miscellaneous types | Types used to create entities, observers, queries, and more |
| Built-in component types. | Types that represent built-in components |
| API Constants | Public API constants |
| Component ID flags. | ID flags are bits that can be set on an ID (ecs_id_t) |
| Built-in component IDs. | |
| World | Functions for working with ecs_world_t |
| Creation & Deletion | |
| Frame functions | |
| Commands | |
| Misc | |
| Entities | Functions for working with ecs_entity_t |
| Creating & Deleting | Functions for creating and deleting entities |
| Adding & Removing | Functions for adding and removing components |
| Enabling & Disabling | Functions for enabling/disabling entities and components |
| Getting and Setting | Functions for getting and setting components |
| Entity Liveliness | Functions for testing and modifying entity liveliness |
| Entity Information. | Get information from an entity |
| Entity Names | Functions for working with entity names and paths |
| Components | Functions for registering and working with components |
| IDs | Functions for working with ecs_id_t |
| Queries | Functions for working with ecs_term_t and ecs_query_t |
| Each iterator | Find all entities that have a single (component) ID |
| Observers | Functions for working with events and observers |
| Iterators | Functions for working with ecs_iter_t |
| Tables | Functions for working with ecs_table_t |
| Values | Construct, destruct, copy, and move dynamically created values |
| Addons | C APIs for addons |
| Alerts | Create alerts from monitoring queries |
| App | Optional addon for running the main application loop |
| Doc | Utilities for documenting entities, components, and systems |
| Http | Simple HTTP server used for serving up the REST API |
| Json | Functions for serializing to and from JSON |
| Log | Logging functions |
| Meta | Flecs reflection framework |
| Meta Utilities | Macro utilities to automatically insert reflection data |
| Metrics | Collect user-defined metrics from ECS data |
| Module | Modules organize components, systems, and more in reusable units of code |
| OS API Implementation | Default implementation for OS API interface |
| Pipeline | Pipelines order and schedule systems for execution |
| Rest | REST API for querying and mutating entities |
| Flecs script | DSL for loading scenes, assets, and configuration |
| Stats | Collection of statistics for world, queries, systems, and pipelines |
| System | Systems are a query + function that can be run manually or by a pipeline |
| Timer | Run systems at a time interval |
| Units. | Common unit annotations for reflection framework |
| Prefixes | Prefixes to indicate unit count (e.g., Kilo, Mega) |
| Duration | |
| Time | |
| Mass | |
| Electric Current | |
| Amount | |
| Luminous Intensity | |
| Force | |
| Length | |
| Pressure | |
| Speed | |
| Temperature | |
| Data | |
| Data Rate | |
| Angle | |
| Frequency | |
| Uri | |
| Color | |
| OS API | Interface for providing OS-specific functionality |
| Macro API | Convenience macros for C API |
| Creation macros | Convenience macros for creating entities, components, and observers |
| Type-Safe API | Macros that wrap around core functions to provide a "type-safe" API in C |
| Entity API | |
| Creation & Deletion | |
| Adding & Removing | |
| Getting & Setting | |
| Singletons | |
| Has, Owns, Shares | |
| Enabling & Disabling | |
| Entity Names | |
| Component API | |
| ID API | |
| Iterator API | |
| Table API | |
| Value API | |
| Table sorting | Convenience macros for sorting tables |
| Misc | Misc convenience macros |
| C++ API | |
| Core | Core ECS functionality (entities, storage, queries) |
| API Types and Globals | Types and constants bridged from C API |
| Components | Registering and working with components |
| Entities | Entity operations |
| Fields | Field helper types |
| Iterators | Iterator operations |
| IDs | Class for working with entity, component, tag, and pair IDs |
| Observers | Observers let applications register callbacks for ECS events |
| Queries | |
| Pair type | Compile-time utilities for working with relationship pairs |
| Refs | Refs are a fast mechanism for referring to a specific entity/component |
| Tables | Table operations |
| Types | Type operations |
| World | World operations |
| Addons | C++ APIs for addons |
| Logging | Logging functions |
| Alerts | Alert implementation |
| App | Optional addon for running the main application loop |
| Doc | Utilities for documenting entities, components, and systems |
| Events | API for emitting events |
| Json | Functions for serializing to/from JSON |
| Meta | Flecs reflection framework |
| Metrics | The metrics module extracts metrics from components and makes them available through a unified component interface |
| Modules | Modules organize components, systems, and more in reusable units of code |
| Pipelines | Pipelines order and schedule systems for execution |
| Rest | REST API for querying and mutating entities |
| Script | Data definition format for loading entity data |
| Stats | The stats addon tracks statistics for the world and systems |
| Systems | Systems are a query and a function that can be run manually or by a pipeline |
| Timer | Run systems at a time interval |
| Units | Common unit annotations for reflection framework |
| Prefixes | Prefixes to indicate unit count (e.g., Kilo, Mega) |
| Quantities | Quantities that group units (e.g., Length) |
| Duration | |
| Angle | |
| Time | |
| Mass | |
| Electric Current | |
| Amount | |
| Luminous Intensity | |
| Force | |
| Length | |
| Pressure | |
| Speed | |
| Temperature | |
| Data | |
| Data Rate | |
| Frequency | |
| Uri | |
| Color |