Blender V5.0
GlyphCacheKey Struct Reference

#include <blf_internal_types.hh>

Public Member Functions

uint64_t hash () const

Public Attributes

uint charcode
uint8_t subpixel

Friends

bool operator== (const GlyphCacheKey &a, const GlyphCacheKey &b)

Detailed Description

Definition at line 137 of file blf_internal_types.hh.

Member Function Documentation

◆ hash()

uint64_t GlyphCacheKey::hash ( ) const
inline

Definition at line 144 of file blf_internal_types.hh.

References charcode, blender::get_default_hash(), and subpixel.

◆ operator==

bool operator== ( const GlyphCacheKey & a,
const GlyphCacheKey & b )
friend

Definition at line 140 of file blf_internal_types.hh.

References b, charcode, and subpixel.

Member Data Documentation

◆ charcode

uint GlyphCacheKey::charcode

Definition at line 138 of file blf_internal_types.hh.

Referenced by hash(), and operator==.

◆ subpixel

uint8_t GlyphCacheKey::subpixel

Definition at line 139 of file blf_internal_types.hh.

Referenced by hash(), and operator==.


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