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

Read-only SoA term view fallback for APIs where storage mode is known only at runtime. Direct chunk-backed paths should use SoATermViewGetPointer instead. More...

#include <chunk_iterator.h>

Public Member Functions

GAIA_NODISCARD U operator[] (size_t idx) const
 
template<size_t Item>
GAIA_NODISCARD auto get () const
 
GAIA_NODISCARD constexpr size_t size () const noexcept
 

Public Attributes

const uint8_t * pData = nullptr
 
uint32_t dataSize = 0
 
const EntitypEntities = nullptr
 
WorldpWorld = nullptr
 
Entity id = EntityBad
 
uint32_t idxBase = 0
 
uint32_t cnt = 0
 

Detailed Description

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

Read-only SoA term view fallback for APIs where storage mode is known only at runtime. Direct chunk-backed paths should use SoATermViewGetPointer instead.


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