Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrischristakis/seecs
/ functions
Functions
58 in github.com/chrischristakis/seecs
⨍
Functions
58
◇
Types & classes
17
↓ 14 callers
Method
size
seecs.h:291
↓ 11 callers
Method
reset
benchmark.h:50
↓ 10 callers
Method
index
seecs.h:77
↓ 9 callers
Method
elapsed
Return time in seconds since timer was last reset
benchmark.h:46
↓ 8 callers
Method
create_entity
Creates an entity and returns and Enttiy handle to the caller. @param(name): Optional and used for debugging purposes
seecs.h:538
↓ 6 callers
Method
get
Return T* if data exists in dense list, or nullptr if not.
seecs.h:253
↓ 4 callers
Method
clear
seecs.h:310
↓ 4 callers
Method
empty
seecs.h:316
↓ 4 callers
Method
for_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 callers
Method
set
seecs.h:231
↓ 3 callers
Method
unset
Removes data from the dense list, and sets the sparse index to a tombstone (null) value
seecs.h:271
↓ 2 callers
Method
contains_index
Check if the EntityIndex currently has associated data in the dense list
seecs.h:306
↓ 2 callers
Method
get_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 callers
Method
version
seecs.h:81
↓ 1 callers
Method
delete_entity
Deletes an active entity and its associated components. Overwrites the given entity to NULL_ENTITY_ID.
seecs.h:579
↓ 1 callers
Method
id
seecs.h:73
↓ 1 callers
Method
packed
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
Method
ECS
seecs.h:523
Method
Entity
seecs.h:71
Method
SimpleView
seecs.h:899
Method
SparseSet
seecs.h:219
Method
Timer
benchmark.h:41
Method
all_contain
Returns true iff all the pools in the view contain the given EntityIndex
seecs.h:818
Method
component_tuple
seecs.h:852
Method
encode
seecs.h:115
Method
entity_from_index
seecs.h:835
Method
entity_info_string
seecs.h:408
Method
for_each_impl
seecs.h:864
Method
generate_component_mask
seecs.h:508
Method
get_component_index
seecs.h:444
Method
get_component_mask_bit
seecs.h:492
Method
get_component_pool_ptr
seecs.h:470
Method
get_dense_index
Returns the dense index for a given EntityIndex, or a tombstone (null) value if non-existent
seecs.h:210
Method
get_entity_name
seecs.h:564
Method
get_or_register_component_index
seecs.h:453
Method
get_pool
seecs.h:846
Method
get_ptr
seecs.h:684
Method
has
seecs.h:718
Method
has_any
seecs.h:730
Method
is_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
Method
is_null
seecs.h:87
Function
main
Example.cpp:19
Method
next_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
Method
next_version
Wraps the EntityVersion back to 0 once it exceeds MAX_VERSION_VALUE
seecs.h:517
Method
not_excluded
Returns true iff the EntityIndex does not exist in at least one excluded pool
seecs.h:827
Method
operator!=
seecs.h:99
Method
operator==
seecs.h:95
Method
pool_count
seecs.h:758
Method
print_dense
seecs.h:327
Method
print_entity_components
seecs.h:762
Method
register_component
seecs.h:617
Method
remove
seecs.h:698
Method
reset
seecs.h:525
Function
run_benchmark
benchmark.h:61
Method
set_component_mask_bit
seecs.h:486
Method
set_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
Method
view
seecs.h:741
Method
~ISparseSet
seecs.h:137