class EE::Graphics::ResourceNameHash

Strong 64-bit hash of a semantic resource name.

This is a fast, process-local convenience key for trusted resource names. It is deliberately distinct from String::HashType so legacy 32-bit hashes cannot enter resource-name APIs through an implicit integer conversion. Complete ResourceKey values remain the authoritative identity whenever collision safety or persistence is required.

#include <resource.hpp>

class ResourceNameHash {
public:
    // construction

    ResourceNameHash();
    ResourceNameHash(Uint64 value);

    // methods

    constexpr Uint64 value() const;
    constexpr operator bool() const;
    constexpr bool operator==(const ResourceNameHash& other) const;
    constexpr bool operator!=(const ResourceNameHash& other) const;
    constexpr bool operator<(const ResourceNameHash& other) const;
};