MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
mxvk::CacheKey Struct Reference

Cache key combining text content and colour. More...

#include <mxvk/include/mxvk/mxvk_text.hpp>

Public Member Functions

bool operator== (const CacheKey &other) const =default

Public Attributes

uint8_t a
uint8_t b
TTF_Font * font = nullptr
uint8_t g
uint8_t r
std::string text

Detailed Description

Cache key combining text content and colour.

Definition at line 84 of file mxvk_text.hpp.

Member Function Documentation

◆ operator==()

bool mxvk::CacheKey::operator== ( const CacheKey & other) const
default

Member Data Documentation

◆ a

uint8_t mxvk::CacheKey::a

Definition at line 87 of file mxvk_text.hpp.

◆ b

uint8_t mxvk::CacheKey::b

Definition at line 87 of file mxvk_text.hpp.

◆ font

TTF_Font* mxvk::CacheKey::font = nullptr

Definition at line 86 of file mxvk_text.hpp.

◆ g

uint8_t mxvk::CacheKey::g

Definition at line 87 of file mxvk_text.hpp.

◆ r

uint8_t mxvk::CacheKey::r

Definition at line 87 of file mxvk_text.hpp.

◆ text

std::string mxvk::CacheKey::text

Definition at line 85 of file mxvk_text.hpp.


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