Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::detail::EntityTermViewGetEntity< U > Struct Template Reference

Read-only term view for entity-backed AoS data resolved through the world store. Used when the queried payload lives out of line and must be fetched by entity id. More...

#include <chunk_iterator.h>

Public Member Functions

GAIA_NODISCARD decltype(auto) operator[] (size_t idx) const
 
GAIA_NODISCARD constexpr size_t size () const noexcept
 
GAIA_NODISCARD const U * data () const noexcept
 

Public Attributes

const EntitypEntities = nullptr
 
WorldpWorld = nullptr
 
Entity id = EntityBad
 
uint32_t cnt = 0
 
const ArchetypepLastArchetype = nullptr
 
Entity cachedOwner = EntityBad
 
bool cachedDirect = false
 

Detailed Description

template<typename U>
struct gaia::ecs::detail::EntityTermViewGetEntity< U >

Read-only term view for entity-backed AoS data resolved through the world store. Used when the queried payload lives out of line and must be fetched by entity id.


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