◆ add()
Registers the provided query lookup context ctx. If it already exists it is returned.
- Parameters
-
| ctx | Query context |
| entityToArchetypeMap | Map of all archetypes |
| allArchetypes | Array of all archetypes |
- Returns
- Reference to the newly created or an already existing QueryInfo object.
◆ del()
Deletes an existing QueryInfo object given the provided query handle.
- Parameters
-
- Returns
- True if handle was found. False otherwise.
◆ get()
Returns a QueryInfo object associated with handle.
- Parameters
-
- Returns
- Query info
◆ invalidate_queries_for_entity()
| void gaia::ecs::QueryCache::invalidate_queries_for_entity |
( |
EntityLookupKey |
entityKey | ) |
|
|
inline |
Invalidates all cached queries that work with the given entity This covers the following kinds of query terms: 1) X 2) (*, X) 3) (X, *)
- Parameters
-
◆ try_get()
Returns a QueryInfo object associated with handle.
- Parameters
-
- Returns
- Query info
The documentation for this class was generated from the following file:
- /home/runner/work/gaia-ecs/gaia-ecs/include/gaia/ecs/query_cache.h