CoriEngine
Loading...
Searching...
No Matches
HashedTag.hpp
Go to the documentation of this file.
1#pragma once
2#include "StringHash.hpp"
3
4namespace Cori {
5 namespace Utility {
9 struct HashedTag64 {
14 [[nodiscard]] const char* GetDebugName() const {
15 return m_DebugName;
16 }
17
18 bool operator==(const HashedTag64& other) const {
19 return m_Hash == other.m_Hash;
20 }
21
23 const char* m_DebugName{};
24 };
25 }
26}
A namespace for utilities of different kinds.
Definition AABB.hpp:7
uint64_t StringHash64
Global engine namespace.
HashedTag that uses a 64bit string hash (FNV-1a).
Definition HashedTag.hpp:9
bool operator==(const HashedTag64 &other) const
Definition HashedTag.hpp:18
const char * GetDebugName() const
Gets the name the tag was declared with.
Definition HashedTag.hpp:14