![]() |
Flecs v3.2
A fast entity component system (ECS) for C & C++
|
Type that contains information about the world. More...
#include <flecs.h>
Public Attributes | ||
| ecs_entity_t | last_component_id | |
| Last issued component entity id. | ||
| ecs_entity_t | min_id | |
| First allowed entity id. | ||
| ecs_entity_t | max_id | |
| Last allowed entity id. | ||
| float | delta_time_raw | |
| Raw delta time (no time scaling) | ||
| float | delta_time | |
| Time passed to or computed by ecs_progress. | ||
| float | time_scale | |
| Time scale applied to delta_time. | ||
| float | target_fps | |
| Target fps. | ||
| float | frame_time_total | |
| Total time spent processing a frame. | ||
| float | system_time_total | |
| Total time spent in systems. | ||
| float | emit_time_total | |
| Total time spent notifying observers. | ||
| float | merge_time_total | |
| Total time spent in merges. | ||
| float | world_time_total | |
| Time elapsed in simulation. | ||
| float | world_time_total_raw | |
| Time elapsed in simulation (no scaling) | ||
| float | rematch_time_total | |
| Time spent on query rematching. | ||
| int64_t | frame_count_total | |
| Total number of frames. | ||
| int64_t | merge_count_total | |
| Total number of merges. | ||
| int64_t | rematch_count_total | |
| Total number of rematches. | ||
| int64_t | id_create_total | |
| Total number of times a new id was created. | ||
| int64_t | id_delete_total | |
| Total number of times an id was deleted. | ||
| int64_t | table_create_total | |
| Total number of times a table was created. | ||
| int64_t | table_delete_total | |
| Total number of times a table was deleted. | ||
| int64_t | pipeline_build_count_total | |
| Total number of pipeline builds. | ||
| int64_t | systems_ran_frame | |
| Total number of systems ran in last frame. | ||
| int64_t | observers_ran_frame | |
| Total number of times observer was invoked. | ||
| int32_t | id_count | |
| Number of ids in the world (excluding wildcards) | ||
| int32_t | tag_id_count | |
| Number of tag (no data) ids in the world. | ||
| int32_t | component_id_count | |
| Number of component (data) ids in the world. | ||
| int32_t | pair_id_count | |
| Number of pair ids in the world. | ||
| int32_t | wildcard_id_count | |
| Number of wildcard ids. | ||
| int32_t | table_count | |
| Number of tables. | ||
| int32_t | tag_table_count | |
| Number of tag-only tables. | ||
| int32_t | trivial_table_count | |
| Number of tables with trivial components (no lifecycle callbacks) | ||
| int32_t | empty_table_count | |
| Number of tables without entities. | ||
| int32_t | table_record_count | |
| Total number of table records (entries in table caches) | ||
| int32_t | table_storage_count | |
| Total number of table storages. | ||
| struct { | ||
| int64_t add_count | ||
| add commands processed More... | ||
| int64_t remove_count | ||
| remove commands processed More... | ||
| int64_t delete_count | ||
| delete commands processed More... | ||
| int64_t clear_count | ||
| clear commands processed More... | ||
| int64_t set_count | ||
| set commands processed More... | ||
| int64_t get_mut_count | ||
| get_mut/emplace commands processed More... | ||
| int64_t modified_count | ||
| modified commands processed More... | ||
| int64_t other_count | ||
| other commands processed More... | ||
| int64_t discard_count | ||
| commands discarded, happens when entity is no longer alive when running the command More... | ||
| int64_t batched_entity_count | ||
| entities for which commands were batched More... | ||
| int64_t batched_command_count | ||
| commands batched More... | ||
| } | cmd | |
| const char * | name_prefix | |
| Value set by ecs_set_name_prefix. | ||
| int64_t ecs_world_info_t::batched_command_count |
| int64_t ecs_world_info_t::batched_entity_count |
| int64_t ecs_world_info_t::clear_count |
| int32_t ecs_world_info_t::component_id_count |
| int64_t ecs_world_info_t::delete_count |
| float ecs_world_info_t::delta_time |
| float ecs_world_info_t::delta_time_raw |
| int64_t ecs_world_info_t::discard_count |
| float ecs_world_info_t::emit_time_total |
| int32_t ecs_world_info_t::empty_table_count |
| int64_t ecs_world_info_t::frame_count_total |
| float ecs_world_info_t::frame_time_total |
| int64_t ecs_world_info_t::get_mut_count |
| int32_t ecs_world_info_t::id_count |
| int64_t ecs_world_info_t::id_create_total |
| int64_t ecs_world_info_t::id_delete_total |
| ecs_entity_t ecs_world_info_t::last_component_id |
| ecs_entity_t ecs_world_info_t::max_id |
| int64_t ecs_world_info_t::merge_count_total |
| float ecs_world_info_t::merge_time_total |
| ecs_entity_t ecs_world_info_t::min_id |
| int64_t ecs_world_info_t::modified_count |
| const char* ecs_world_info_t::name_prefix |
| int64_t ecs_world_info_t::observers_ran_frame |
| int64_t ecs_world_info_t::other_count |
| int32_t ecs_world_info_t::pair_id_count |
| int64_t ecs_world_info_t::pipeline_build_count_total |
| int64_t ecs_world_info_t::rematch_count_total |
| float ecs_world_info_t::rematch_time_total |
| int64_t ecs_world_info_t::remove_count |
| float ecs_world_info_t::system_time_total |
| int64_t ecs_world_info_t::systems_ran_frame |
| int64_t ecs_world_info_t::table_create_total |
| int64_t ecs_world_info_t::table_delete_total |
| int32_t ecs_world_info_t::table_record_count |
| int32_t ecs_world_info_t::table_storage_count |
| int32_t ecs_world_info_t::tag_id_count |
| int32_t ecs_world_info_t::tag_table_count |
| float ecs_world_info_t::time_scale |
| int32_t ecs_world_info_t::trivial_table_count |
| int32_t ecs_world_info_t::wildcard_id_count |
| float ecs_world_info_t::world_time_total |
| float ecs_world_info_t::world_time_total_raw |