MCPcopy Create free account

hub / github.com/chrischristakis/seecs / functions

Functions58 in github.com/chrischristakis/seecs

↓ 14 callersMethodsize
seecs.h:291
↓ 11 callersMethodreset
benchmark.h:50
↓ 10 callersMethodindex
seecs.h:77
↓ 9 callersMethodelapsed
Return time in seconds since timer was last reset
benchmark.h:46
↓ 8 callersMethodcreate_entity
Creates an entity and returns and Enttiy handle to the caller. @param(name): Optional and used for debugging purposes
seecs.h:538
↓ 6 callersMethodget
Return T* if data exists in dense list, or nullptr if not.
seecs.h:253
↓ 4 callersMethodclear
seecs.h:310
↓ 4 callersMethodempty
seecs.h:316
↓ 4 callersMethodfor_each
Executes a passed lambda on all the entities that match the passed parameter pack. Provided function should follow one of two forms: [](Component& c1
seecs.h:935
↓ 3 callersMethodset
seecs.h:231
↓ 3 callersMethodunset
Removes data from the dense list, and sets the sparse index to a tombstone (null) value
seecs.h:271
↓ 2 callersMethodcontains_index
Check if the EntityIndex currently has associated data in the dense list
seecs.h:306
↓ 2 callersMethodget_index_list
This returns a copy of all EntityIndex that currently have data in the dense list so we can safely delete from the vector while iterating.
seecs.h:299
↓ 2 callersMethodversion
seecs.h:81
↓ 1 callersMethoddelete_entity
Deletes an active entity and its associated components. Overwrites the given entity to NULL_ENTITY_ID.
seecs.h:579
↓ 1 callersMethodid
seecs.h:73
↓ 1 callersMethodpacked
Useful when you want a way to iterate a view via indices. Usage: auto packed = ecs.view<A, B>().packed(); for (size_t i = 0; i < packed.size(); i++)
seecs.h:964
MethodECS
seecs.h:523
MethodEntity
seecs.h:71
MethodSimpleView
seecs.h:899
MethodSparseSet
seecs.h:219
MethodTimer
benchmark.h:41
Methodall_contain
Returns true iff all the pools in the view contain the given EntityIndex
seecs.h:818
Methodcomponent_tuple
seecs.h:852
Methodencode
seecs.h:115
Methodentity_from_index
seecs.h:835
Methodentity_info_string
seecs.h:408
Methodfor_each_impl
seecs.h:864
Methodgenerate_component_mask
seecs.h:508
Methodget_component_index
seecs.h:444
Methodget_component_mask_bit
seecs.h:492
Methodget_component_pool_ptr
seecs.h:470
Methodget_dense_index
Returns the dense index for a given EntityIndex, or a tombstone (null) value if non-existent
seecs.h:210
Methodget_entity_name
seecs.h:564
Methodget_or_register_component_index
seecs.h:453
Methodget_pool
seecs.h:846
Methodget_ptr
seecs.h:684
Methodhas
seecs.h:718
Methodhas_any
seecs.h:730
Methodis_alive
Queries whether the entity is currently 'alive' and can be operated on by the ECS. It does this by comparing the version encoded in the Entity ID wit
seecs.h:751
Methodis_null
seecs.h:87
Functionmain
Example.cpp:19
Methodnext_component_index
Returns the next unused component index. Don't call directly for component type lookup, since each call generates a new index. It is intended to be u
seecs.h:429
Methodnext_version
Wraps the EntityVersion back to 0 once it exceeds MAX_VERSION_VALUE
seecs.h:517
Methodnot_excluded
Returns true iff the EntityIndex does not exist in at least one excluded pool
seecs.h:827
Methodoperator!=
seecs.h:99
Methodoperator==
seecs.h:95
Methodpool_count
seecs.h:758
Methodprint_dense
seecs.h:327
Methodprint_entity_components
seecs.h:762
Methodregister_component
seecs.h:617
Methodremove
seecs.h:698
Methodreset
seecs.h:525
Functionrun_benchmark
benchmark.h:61
Methodset_component_mask_bit
seecs.h:486
Methodset_sparse_index
Inserts an index into the sparse list that maps to the dense list, associating m_dense[m_sparse[entity_index]] == m_dense[dense_index]
seecs.h:200
Methodview
seecs.h:741
Method~ISparseSet
seecs.h:137