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

Read-only SoA term view for chunk-backed storage only. Used by direct iteration paths once the term has been resolved to a chunk column. More...

#include <chunk_iterator.h>

Public Types

using raw_view_policy = mem::data_view_policy_soa< U::gaia_Data_Layout, U >
 
using read_view_policy = mem::data_view_policy_soa_get< U::gaia_Data_Layout, U >
 

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
 
uint32_t idxBase = 0
 
uint32_t cnt = 0
 

Detailed Description

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

Read-only SoA term view for chunk-backed storage only. Used by direct iteration paths once the term has been resolved to a chunk column.


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