TextureIdentityKey makeTextureIdentityKey(const std::filesystem::path &path, TextureType type)
Creates a texture identity key from a path and semantic type.
std::string normalizeTexturePath(const std::filesystem::path &path)
Converts a texture path to the registry key path form.
Hash functor for TextureIdentityKey.
std::size_t operator()(const TextureIdentityKey &key) const noexcept
Hashes the normalized path and semantic texture type.
Path and semantic type pair that uniquely identifies a texture handle.
std::string normalizedPath
Normalized texture path.
bool operator==(const TextureIdentityKey &other) const
Compares both normalized path and semantic texture type.
bool empty() const
Returns true when the key has no path.