MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ describe()

static constexpr auto MayaFlux::Core::TextConfig::describe ( )
inlinestaticconstexpr

Definition at line 296 of file GlobalGraphicsInfo.hpp.

297 {
298 return std::make_tuple(
299 IO::member("family", &TextConfig::family),
300 IO::member("style", &TextConfig::style),
301 IO::member("pixel_size", &TextConfig::pixel_size),
302 IO::member("atlas_size", &TextConfig::atlas_size));
303 }
constexpr auto member(std::string_view key, T Class::*ptr)
std::string style
Optional style hint (e.g.
uint32_t atlas_size
Atlas texture dimension (power of two).
uint32_t pixel_size
Glyph rasterization height in pixels.
std::string family
Font family name forwarded to Platform::find_font().

References atlas_size, family, MayaFlux::IO::member(), pixel_size, and style.

+ Here is the call graph for this function: