sandbox
Loading...
Searching...
No Matches
sbx::ui::font Struct Reference

Public Member Functions

auto find_glyph (std::uint32_t codepoint) const -> memory::observer_ptr< const glyph >
 

Public Attributes

graphics::image2d_handle atlas {}
 
std::float_t atlas_width {0.0f}
 
std::float_t atlas_height {0.0f}
 
std::float_t line_height {1.0f}
 
std::float_t sdf_px_range {2.0f}
 
std::unordered_map< std::uint32_t, glyphglyphs
 

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