struct
#include <core/ecs/entity/archetype_id.hpp>
ArchetypeId Identifies an archetype.
Public static variables
- static const ArchetypeId Empty
- Empty archetype identifier.
- static const ArchetypeId Invalid
- Invalid archetype identifier.
Public functions
- auto operator==(const ArchetypeId& other) const -> bool defaulted
- Compares two archetype identifiers for equality.
Public variables
- std::size_t inner
- Archetype identifier.
Function documentation
bool cubos:: core:: ecs:: ArchetypeId:: operator==(const ArchetypeId& other) const defaulted
Compares two archetype identifiers for equality.
Parameters | |
---|---|
other | Other archetype identifier. |
Returns | Whether the two archetype identifiers are equal. |