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

Compound lookup key combining text copy with style states to handle discrete GPU text caching. More...

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

+ Collaboration diagram for Flint::TextCacheKey:

Public Member Functions

bool operator== (const TextCacheKey &other) const
 

Public Attributes

std::string text
 
std::string fontName
 
uint16_t fontSize
 
uint16_t weight
 
Color color
 

Detailed Description

Compound lookup key combining text copy with style states to handle discrete GPU text caching.

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

Member Function Documentation

◆ operator==()

bool Flint::TextCacheKey::operator== ( const TextCacheKey & other) const
inline

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

Member Data Documentation

◆ color

Color Flint::TextCacheKey::color

Target color channel bitmask profile settings.

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

◆ fontName

std::string Flint::TextCacheKey::fontName

The assigned typeface family identifier name string.

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

◆ fontSize

uint16_t Flint::TextCacheKey::fontSize

Configured raster point calculation size.

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

◆ text

std::string Flint::TextCacheKey::text

The raw character payload copy block.

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

◆ weight

uint16_t Flint::TextCacheKey::weight

Configured typeface rendering weight parameter.

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


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