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

Mutable SoA term view for chunk-backed storage only. Provides direct row and field access without carrying any entity fallback state. 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 >
 
using write_view_policy = mem::data_view_policy_soa_set< U::gaia_Data_Layout, U >
 

Public Member Functions

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

Public Attributes

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::SoATermViewSetPointer< U >

Mutable SoA term view for chunk-backed storage only. Provides direct row and field access without carrying any entity fallback state.


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