|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Sparse array container for efficient component storage in ECS. More...
#include "RType/Assert.hpp"#include "RType/ECS/ComponentConcept.hpp"#include "RType/ECS/Entity.hpp"#include <vector>#include <limits>#include <span>#include "SparseArray.tpp"Go to the source code of this file.
Classes | |
| class | rtp::ecs::ISparseArray |
| Type-erased base interface for sparse arrays. More... | |
| class | rtp::ecs::SparseArray< T > |
| Sparse array container for component storage. More... | |
Namespaces | |
| namespace | rtp |
| namespace | rtp::ecs |
| File : RenderSystem.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias.nosp@m.-jos.nosp@m.ue.ha.nosp@m.jjar.nosp@m.-llau.nosp@m.quen.nosp@m.@epit.nosp@m.ech..nosp@m.eu Date : 14/12/2025. | |
Sparse array container for efficient component storage in ECS.
Provides a sparse array data structure optimized for storing components indexed by entity IDs. Uses a sparse-to-dense mapping for efficient iteration while maintaining O(1) access by entity.
Definition in file SparseArray.hpp.