Glyph metadata for a single character.
More...
#include <font.hpp>
|
|
glm::vec2 | tex_coord_min |
| | UV coordinates in texture atlas (min).
|
|
glm::vec2 | tex_coord_max |
| | UV coordinates in texture atlas (max).
|
|
glm::vec2 | size |
| | Size of glyph in pixels.
|
|
glm::vec2 | bearing |
| | Offset from baseline to top-left of glyph.
|
|
float | advance |
| | Horizontal offset to advance to next glyph.
|
Glyph metadata for a single character.
Contains all information needed to render a character from the texture atlas.
The documentation for this struct was generated from the following file: