![]() |
Gaia-ECS v0.9.3
A simple and powerful entity component system
|
Read-only AoS term view fallback for APIs where storage mode is known only at runtime. Direct iteration paths should use EntityTermViewGetPointer/Entity instead. More...
#include <chunk_iterator.h>
Public Member Functions | |
| GAIA_NODISCARD decltype(auto) | operator[] (size_t idx) const |
| GAIA_NODISCARD constexpr size_t | size () const noexcept |
| GAIA_NODISCARD const U * | data () const noexcept |
Static Public Member Functions | |
| static EntityTermViewGet | pointer (const U *pData, uint32_t cnt) |
| static EntityTermViewGet | entity (const Entity *pEntities, World *pWorld, Entity id, uint32_t cnt) |
| static EntityTermViewGet | inherited (const U *pDataInherited, uint32_t cnt) |
| static EntityTermViewGet | entity_chunk_stable (const Entity *pEntities, const Chunk *pChunk, World *pWorld, Entity id, uint16_t rowBase, uint32_t cnt) |
Public Attributes | |
| const U * | pData = nullptr |
| const Entity * | pEntities = nullptr |
| World * | pWorld = nullptr |
| Entity | id = EntityBad |
| uint32_t | cnt = 0 |
| const U * | pDataInherited = nullptr |
| const Archetype * | pLastArchetype = nullptr |
| Entity | cachedOwner = EntityBad |
| bool | cachedDirect = false |
Read-only AoS term view fallback for APIs where storage mode is known only at runtime. Direct iteration paths should use EntityTermViewGetPointer/Entity instead.