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

Public Types

using FetchByKeyFn = std::span< const ComponentIndexEntry >(*)(const void *, std::span< const Archetype * >, Entity, const EntityLookupKey &)
 

Public Member Functions

GAIA_NODISCARD bool empty () const
 
GAIA_NODISCARD std::span< const ComponentIndexEntryfetch (std::span< const Archetype * > arr, Entity ent, const EntityLookupKey &key) const
 

Public Attributes

const void * pData = nullptr
 
FetchByKeyFn fetchByKey = nullptr
 

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