Added Screen space reflections and Editor UI refactoring

This commit is contained in:
antopilo
2022-01-31 13:54:58 -05:00
parent e216686272
commit b273a2fb8a
78 changed files with 2454 additions and 946 deletions

30
Nuake/src/Resource/UUID.h Normal file
View File

@@ -0,0 +1,30 @@
#pragma once
#include <cstdint>
#include <xhash>
namespace Nuake {
class UUID
{
public:
UUID();
UUID(uint64_t uuid);
UUID(const UUID&) = default;
operator uint64_t() const { return m_UUID; }
private:
uint64_t m_UUID;
};
}
namespace std {
template<>
struct hash<Nuake::UUID>
{
std::size_t operator()(const Nuake::UUID& uuid) const
{
return hash<uint64_t>()((uint64_t)uuid);
}
};
}