Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::geode::GlyphGeometryKeyHash Struct Reference

Hash for GlyphGeometryKey. Mixes with the 64-bit splitmix finalizer so the low-entropy fields (small glyph indices, a handful of scales) still spread across buckets. More...

#include "donner/svg/renderer/geode/GeodeGlyphResidency.h"

Public Member Functions

size_t operator() (const GlyphGeometryKey &key) const
 Hash every bitwise field of a glyph geometry key.

Detailed Description

Hash for GlyphGeometryKey. Mixes with the 64-bit splitmix finalizer so the low-entropy fields (small glyph indices, a handful of scales) still spread across buckets.

Member Function Documentation

◆ operator()()

size_t donner::geode::GlyphGeometryKeyHash::operator() ( const GlyphGeometryKey & key) const
inline

Hash every bitwise field of a glyph geometry key.

Parameters
keyKey to hash.

The documentation for this struct was generated from the following file: