Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::QueryInfo::QueryState::DynamicCacheState::VariablePayload Struct Reference

Variable-binding payload for reusable dynamic caches with runtime variables. More...

#include <query_info.h>

Public Member Functions

void clear ()
 Clears runtime variable binding snapshot state.
 
GAIA_NODISCARD bool changed (const cnt::sarray< Entity, MaxVarCnt > &runtimeBindings, uint8_t runtimeBindingMask) const
 Returns true when runtime variable bindings differ from the captured snapshot.
 
void snapshot (const cnt::sarray< Entity, MaxVarCnt > &runtimeBindings, uint8_t runtimeBindingMask)
 Captures runtime variable bindings.
 

Public Attributes

cnt::sarray< Entity, MaxVarCnt > bindings
 Snapshot of runtime variable bindings used to build the current dynamic cache.
 
uint8_t bindingMask = 0
 Bitmask of the variable bindings captured in bindings.
 

Detailed Description

Variable-binding payload for reusable dynamic caches with runtime variables.


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