Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::FontKeyHash Struct Reference

Custom hashing mechanism to facilitate constant-time O(1) font lookups inside associative arrays. More...

#include <flint/ui/ui-canvas.h>

+ Collaboration diagram for Flint::FontKeyHash:

Public Member Functions

std::size_t operator() (const FontKey &key) const
 

Detailed Description

Custom hashing mechanism to facilitate constant-time O(1) font lookups inside associative arrays.

Definition at line 44 of file ui-canvas.h.

Member Function Documentation

◆ operator()()

std::size_t Flint::FontKeyHash::operator() ( const FontKey & key) const
inline

Definition at line 45 of file ui-canvas.h.


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