|
ecsnet
|
Internal structure representing the ECS world state. This holds: More...
#include <ecs_internal.h>

Public Attributes | |
| entity_meta_t * | entities |
| component_signature_t * | signatures |
| size_t | entity_capacity |
| component_storage_t * | components |
| size_t | component_capacity |
| uint32_t | registered_entities_count |
| uint32_t | registered_component_count |
| system_func_t | systems [MAX_SYSTEMS] |
| int | system_count |
Internal structure representing the ECS world state. This holds:
This is the core ECS structure passed to all internal and public ECS functions.
| size_t ecs_t::component_capacity |
Current capacity of the component array.
| component_storage_t* ecs_t::components |
Dynamic array of registered component storages.
| entity_meta_t* ecs_t::entities |
Dynamic array of entity metadata.
| size_t ecs_t::entity_capacity |
Current capacity of the entity arrays.
| uint32_t ecs_t::registered_component_count |
Total number of registered component types.
| uint32_t ecs_t::registered_entities_count |
Total number of registered entities.
| component_signature_t* ecs_t::signatures |
Dynamic array of component signatures per entity.
| int ecs_t::system_count |
Current number of registered systems.
| system_func_t ecs_t::systems[MAX_SYSTEMS] |
Array of registered system function pointers.