Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Data Fields
gui::font::Character Struct Reference

#include <loader.hpp>

Data Fields

unsigned int texture_id
 
glm::ivec2 size
 id handle for glyph texture More...
 
glm::ivec2 bearing
 size of glyph More...
 
unsigned int advance
 offset from baseline to left/top of glyph More...
 

Detailed Description

Representation of a font character

Field Documentation

◆ advance

unsigned int gui::font::Character::advance

offset from baseline to left/top of glyph

◆ bearing

glm::ivec2 gui::font::Character::bearing

size of glyph

◆ size

glm::ivec2 gui::font::Character::size

id handle for glyph texture

◆ texture_id

unsigned int gui::font::Character::texture_id

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