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

Mutable term view for chunk-backed AoS data. Exposes direct references to contiguous component storage without any world lookup. More...

#include <chunk_iterator.h>

Public Member Functions

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

Public Attributes

U * pData = nullptr
 
uint32_t cnt = 0
 

Detailed Description

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

Mutable term view for chunk-backed AoS data. Exposes direct references to contiguous component storage without any world lookup.


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