|
|
| ComponentCache (ComponentCache &&)=delete |
| |
|
| ComponentCache (const ComponentCache &)=delete |
| |
|
ComponentCache & | operator= (ComponentCache &&)=delete |
| |
|
ComponentCache & | operator= (const ComponentCache &)=delete |
| |
| template<typename T > |
| GAIA_NODISCARD GAIA_FORCEINLINE const ComponentCacheItem & | add (Entity entity, util::str_view scopePath={}) |
| | Registers the component item for.
|
| |
| GAIA_NODISCARD const ComponentCacheItem & | add (Entity entity, const char *name, uint32_t len, uint32_t size, DataStorageType storageType, uint32_t alig=1, uint32_t soa=0, const uint8_t *pSoaSizes=nullptr, ComponentLookupHash hashLookup={}, util::str_view scopePath={}) |
| | Registers a runtime-defined component.
|
| |
| GAIA_NODISCARD const ComponentCacheItem * | find (detail::ComponentDescId compDescId) const noexcept |
| | Searches for the component cache item given the compDescId.
|
| |
| GAIA_NODISCARD const ComponentCacheItem & | get (detail::ComponentDescId compDescId) const noexcept |
| | Returns the component cache item given the compDescId.
|
| |
| GAIA_NODISCARD const ComponentCacheItem * | find (Entity entity) const noexcept |
| | Searches for the component cache item.
|
| |
| GAIA_NODISCARD ComponentCacheItem * | find (Entity entity) noexcept |
| | Searches for the component cache item.
|
| |
| GAIA_NODISCARD const ComponentCacheItem & | get (Entity entity) const noexcept |
| | Returns the component cache item.
|
| |
| GAIA_NODISCARD ComponentCacheItem & | get (Entity entity) noexcept |
| | Returns the component cache item.
|
| |
| template<typename T > |
| GAIA_NODISCARD const ComponentCacheItem * | find () const noexcept |
| | Searches for the component item for.
|
| |
| template<typename T > |
| GAIA_NODISCARD const ComponentCacheItem & | get () const noexcept |
| | Returns the component item for.
|
| |
|
void | diag () const |
| |
Cache for compile-time defined components.