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

Mutable term view for entity-backed AoS data resolved through the world store. Used when writes target out-of-line payloads rather than chunk columns. 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

const EntitypEntities = nullptr
 
WorldpWorld = nullptr
 
Entity id = EntityBad
 
uint32_t cnt = 0
 

Detailed Description

template<typename U, bool WriteIm>
struct gaia::ecs::detail::EntityTermViewSetEntity< U, WriteIm >

Mutable term view for entity-backed AoS data resolved through the world store. Used when writes target out-of-line payloads rather than chunk columns.


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