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

Read-only SoA field proxy fallback for APIs where storage mode is known only at runtime. Direct chunk-backed paths should use SoATermFieldReadProxyPointer instead. More...

#include <chunk_iterator.h>

Public Types

using value_type = typename SoATermFieldReadProxyPointer< U, Item >::value_type
 

Public Member Functions

GAIA_NODISCARD value_type operator[] (size_t idx) const
 
GAIA_NODISCARD constexpr size_t size () const noexcept
 

Public Attributes

const value_type * pData = nullptr
 
const EntitypEntities = nullptr
 
WorldpWorld = nullptr
 
Entity id = EntityBad
 
uint32_t cnt = 0
 

Detailed Description

template<typename U, size_t Item>
struct gaia::ecs::detail::SoATermFieldReadProxy< U, Item >

Read-only SoA field proxy fallback for APIs where storage mode is known only at runtime. Direct chunk-backed paths should use SoATermFieldReadProxyPointer instead.


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