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

Prebound operations for one runtime sparse component store. More...

#include <chunk_iterator.h>

Public Attributes

const void * pStore = nullptr
 Type-erased sparse store instance.
 
const void *(* funcGet )(const void *, Entity) = nullptr
 Reads one component value from the store.
 
void *(* funcMut )(void *, Entity) = nullptr
 Acquires mutable access to one component value.
 
bool(* funcHas )(const void *, Entity) = nullptr
 Tests whether an entity has a value in the store.
 
uint32_t elemSize = 0
 Size of one stored component value in bytes.
 

Detailed Description

Prebound operations for one runtime sparse component store.


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