Struct AsciiFontData
Defined in File stbfont.h
Struct Documentation
-
struct AsciiFontData
Retained atlas/geometry and copied pixel metrics used to construct an immutable ASCII font.
Public Members
-
std::shared_ptr<CE::Rendering::Geometry::Buffer2D> geometry
Triangle-list geometry with six vertices per printable ASCII slot.
-
std::shared_ptr<CE::Rendering::Resources::Image> texture
Baked alpha atlas in the selected provider domain.
-
std::array<float, ascii_character_count> advances = {}
Horizontal advances in baked local pixels, indexed from ascii_first_character.
-
float line_height = {}
Positive local pixel line advance.
-
std::shared_ptr<CE::Rendering::Geometry::Buffer2D> geometry