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

Storage used only by grouped query result caches. More...

#include <query_info.h>

Public Member Functions

void clear ()
 Releases grouped payload storage and resets cached group selection state.
 
void clear_transient ()
 Clears grouped payload contents while preserving allocated storage.
 

Public Attributes

cnt::darray< GroupId > archetypeGroupIds
 Group ids for grouped queries, aligned with archetypeCache.
 
cnt::darray< GroupData > archetypeGroupData
 Group data used by cache.
 
GroupData selectedGroupData {}
 Cached range for the currently selected group id.
 
bool selectedGroupDataValid = false
 True when selectedGroupData matches the active group filter.
 
bool dataPending = false
 True when grouped archetype order/ranges need to be rebuilt.
 

Detailed Description

Storage used only by grouped query result caches.


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