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

Concept for components that are stored in a sparse set. More...

#include <component.hpp>

Concept definition

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

Detailed Description

Concept for components that are stored in a sparse set.

A sparse set component must satisfy ComponentTrait and have a storage type of ComponentStorageType::kSparseSet.

Definition at line 147 of file component.hpp.