Struct WangSignatureHash
Defined in File tileset.h
Struct Documentation
-
struct WangSignatureHash
Stateless lookup hash for all eight signature labels; not a serialized stable identity.
Public Functions
-
std::size_t operator()(const WangSignature &signature) const noexcept
Declaration:
[[nodiscard]]Hash all eight ordered terrain labels for an in-process unordered lookup.
See also
- Parameters:
signature – Exact canonical label array.
- Returns:
size_t hash; equality still compares full signatures. Do not persist the hash as a terrain/signature identifier.
-
std::size_t operator()(const WangSignature &signature) const noexcept