|
Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
|
Iterator over the entities matching the View filters. More...
#include <Registry.hpp>
Public Member Functions | |
| void | advance () |
| Helper to advance iterator to next matching entity. | |
| bool | operator!= (const Iterator &other) const |
| Check iterator inequality. | |
| void | operator++ () |
| Move iterator forward. | |
| auto | operator* () const |
| Dereferences the iterator to a tuple containing the entity and its component references. | |
Public Attributes | |
| Registry & | registry |
| const std::vector< Entity > & | entities |
| size_t | index |
|
inline |
Helper to advance iterator to next matching entity.
|
inline |
Check iterator inequality.
|
inline |
Dereferences the iterator to a tuple containing the entity and its component references.
|
inline |
Move iterator forward.
| const std::vector<Entity>& Registry::View< Components >::Iterator::entities |
| size_t Registry::View< Components >::Iterator::index |
| Registry& Registry::View< Components >::Iterator::registry |