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

Direct concrete-source payload for reusable dynamic caches. More...

#include <query_info.h>

Public Member Functions

GAIA_NODISCARD bool changed (const World &world, std::span< const Entity > sourceEntities) const
 Returns true when any tracked source entity changed archetype.
 
void snapshot (const World &world, std::span< const Entity > sourceEntities)
 Captures current source entity archetype versions.
 

Public Attributes

cnt::sarray< uint32_t, MAX_ITEMS_IN_QUERY > entityVersions
 Last seen archetype versions for tracked direct concrete source entities.
 

Detailed Description

Direct concrete-source payload for reusable dynamic caches.


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