Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::vm::MatchingCtx Struct Reference

Public Attributes

const WorldpWorld
 World.
 
const EntityToArchetypeMappEntityToArchetypeMap
 entity -> archetypes mapping
 
const ArchetypeDArraypAllArchetypes
 Array of all archetypes in the world.
 
cnt::set< Archetype * > * pMatchesSet
 Set of already matched archetypes. Reset before each exec().
 
ArchetypeDArraypMatchesArr
 Array of already matches archetypes. Reset before each exec().
 
QueryArchetypeCacheIndexMappLastMatchedArchetypeIdx_All
 Idx of the last matched archetype against the ALL opcode.
 
QueryArchetypeCacheIndexMappLastMatchedArchetypeIdx_Any
 Idx of the last matched archetype against the ANY opcode.
 
QueryArchetypeCacheIndexMappLastMatchedArchetypeIdx_Not
 Idx of the last matched archetype against the NOT opcode.
 
QueryMask queryMask
 Mask for speeding up simple query matching.
 
uint32_t as_mask_0
 Mask for items with Is relationship pair. If the id is a pair, the first part (id) is written here.
 
uint32_t as_mask_1
 Mask for items with Is relationship pair. If the id is a pair, the second part (gen) is written here.
 
uint8_t flags
 Flags copied over from QueryCtx::Data.
 
Entity ent
 Entity to match.
 
EntitySpan idsToMatch
 List of entity ids in a query to consider.
 
uint32_t pc
 Current stack position (program counter)
 

The documentation for this struct was generated from the following file: