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

Proxy representing a single writable SoA field element in the runtime fallback path only. Direct chunk-backed paths should use SoATermFieldWriteProxyPointer, which returns raw field references. More...

#include <chunk_iterator.h>

Public Member Functions

GAIA_NODISCARD operator value_type () const
 
ElementProxyoperator= (const value_type &value)
 
template<typename V >
ElementProxyoperator+= (V &&value)
 
template<typename V >
ElementProxyoperator-= (V &&value)
 
template<typename V >
ElementProxyoperator*= (V &&value)
 
template<typename V >
ElementProxyoperator/= (V &&value)
 

Public Attributes

value_type * pData = nullptr
 
const EntitypEntities = nullptr
 
WorldpWorld = nullptr
 
Entity id = EntityBad
 
uint32_t idx = 0
 
bool writeIm = true
 

Detailed Description

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

Proxy representing a single writable SoA field element in the runtime fallback path only. Direct chunk-backed paths should use SoATermFieldWriteProxyPointer, which returns raw field references.


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