Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
helios::ecs::ArchetypeComponentTrait Concept Reference

Concept for components that are stored in an archetype. More...

#include <component.hpp>

Concept definition

template<typename T>
Concept for components that are stored in an archetype.
Concept to check if a type can be used as a component.
Definition component.hpp:31
@ kArchetype
Component is stored in an archetype.
Definition component.hpp:21
consteval ComponentStorageType ComponentStorageTypeOf() noexcept
Component storage type.

Detailed Description

Concept for components that are stored in an archetype.

An archetype component must satisfy ComponentTrait and have a storage type of ComponentStorageType::kArchetype.

Definition at line 137 of file component.hpp.