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

Read-only term view for chunk-backed AoS data. Used by direct iteration paths that can guarantee contiguous component storage. 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 U * pData = nullptr
 
uint32_t cnt = 0
 

Detailed Description

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

Read-only term view for chunk-backed AoS data. Used by direct iteration paths that can guarantee contiguous component storage.


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