Struct WangSignatureHash

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

Detailed guide

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.