CoriEngine
Loading...
Searching...
No Matches
HashedTag.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
StringHash.hpp
"
3
4
namespace
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
22
StringHash64
m_Hash
{ 0 };
23
const
char
*
m_DebugName
{};
24
};
25
}
26
}
StringHash.hpp
Cori::Utility
A namespace for utilities of different kinds.
Definition
AABB.hpp:7
Cori::Utility::StringHash64
uint64_t StringHash64
Definition
StringHash.hpp:18
Cori
Global engine namespace.
Definition
AssetLoadStatus.hpp:3
Cori::Utility::HashedTag64
HashedTag that uses a 64bit string hash (FNV-1a).
Definition
HashedTag.hpp:9
Cori::Utility::HashedTag64::operator==
bool operator==(const HashedTag64 &other) const
Definition
HashedTag.hpp:18
Cori::Utility::HashedTag64::m_Hash
StringHash64 m_Hash
Definition
HashedTag.hpp:22
Cori::Utility::HashedTag64::GetDebugName
const char * GetDebugName() const
Gets the name the tag was declared with.
Definition
HashedTag.hpp:14
Cori::Utility::HashedTag64::m_DebugName
const char * m_DebugName
Definition
HashedTag.hpp:23
CoriEngine
Engine
src
Utility
HashedTag.hpp
Generated by
1.14.0