![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
One archetype record stored in the entity-to-archetype reverse index. More...
#include <query_common.h>
Public Member Functions | |
| GAIA_NODISCARD bool | matches (const Archetype *pOther) const |
| Tests whether this record belongs to an archetype. | |
Public Attributes | |
| Archetype * | pArchetype = nullptr |
| Archetype matched by the indexed entity or pair key. | |
| uint16_t | compIdx = ComponentIndexBad |
| Component column index in pArchetype, or ComponentIndexBad when no direct column exists. | |
| uint16_t | matchCount = 0 |
| Number of archetype components contributing this lookup-key match. | |
One archetype record stored in the entity-to-archetype reverse index.
|
inline |
Tests whether this record belongs to an archetype.
| pOther | Archetype pointer to compare. |