![]() |
Gaia-ECS v0.9.3
A simple and powerful entity component system
|
Mutable field proxy for a single SoA member in entity-backed storage. Updates reconstruct the whole value, modify one field and store it back. More...
#include <chunk_iterator.h>
Classes | |
| struct | ElementProxy |
| Proxy representing one writable field element in entity-backed storage. More... | |
Public Types | |
| using | view_policy = mem::data_view_policy_soa_set< U::gaia_Data_Layout, U > |
| using | value_type = typename view_policy::template data_view_policy_idx_info< Item >::value_type |
Public Member Functions | |
| GAIA_NODISCARD ElementProxy | operator[] (size_t idx) const |
| GAIA_NODISCARD constexpr size_t | size () const noexcept |
Public Attributes | |
| const Entity * | pEntities = nullptr |
| World * | pWorld = nullptr |
| Entity | id = EntityBad |
| uint32_t | cnt = 0 |
Mutable field proxy for a single SoA member in entity-backed storage. Updates reconstruct the whole value, modify one field and store it back.