Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::sparse< T, typename > Struct Template Reference

Trait that marks a component as Sparse at compile time. More...

#include <utils.hpp>

Inheritance diagram for flecs::sparse< T, typename >:
[legend]

Detailed Description

template<typename T, typename = void>
struct flecs::sparse< T, typename >

Trait that marks a component as Sparse at compile time.

Enable by adding a static constexpr bool sparse = true member to the type, or by specializing the trait to derive from std::true_type.

Definition at line 187 of file utils.hpp.


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