Blender V5.3
blender::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 140 of file blf_internal_types.hh.

Member Function Documentation

◆ hash()

uint64_t blender::GlyphCacheKey::hash ( ) const
inline

Definition at line 147 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 143 of file blf_internal_types.hh.

References b, charcode, and subpixel.

Member Data Documentation

◆ charcode

uint blender::GlyphCacheKey::charcode

Definition at line 141 of file blf_internal_types.hh.

Referenced by hash(), and operator==.

◆ subpixel

uint8_t blender::GlyphCacheKey::subpixel

Definition at line 142 of file blf_internal_types.hh.

Referenced by hash(), and operator==.


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