Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::DirectChunkEntry Struct Reference

Cached archetype/chunk pair used by repeated direct-dense scans over highly fragmented result caches. More...

#include <query_info.h>

Public Attributes

const ArchetypepArchetype = nullptr
 Archetype owning the chunk.
 
ChunkpChunk = nullptr
 Chunk supplying entity and component rows.
 
const uint8_t * pCompIndices = nullptr
 Prepared query-field to chunk-column mapping for pArchetype, or null when not available.
 
const void * pData = nullptr
 Cached base data pointer for the common single selected field, or null when unavailable/not single-field.
 
uint32_t dataOffset = UINT32_MAX
 Offset into ExecPayload::directChunkData for this entry, or UINT32_MAX when no pointers are cached.
 
uint16_t rowFrom = 0
 First enabled row in pChunk processed by direct-dense iteration.
 
uint16_t rowTo = 0
 One-past-the-end enabled row in pChunk processed by direct-dense iteration.
 

Detailed Description

Cached archetype/chunk pair used by repeated direct-dense scans over highly fragmented result caches.


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