Nymph Game Engine
Chaiscript based Game Engine
|
Struct holding font character information. More...
#include <font.h>
Public Attributes | |
unsigned int | texture_handle |
glm::vec2 | position |
glm::vec2 | size |
float | advance |
VertexData | vertex_data |
unsigned int | vertex_array_object |
Struct holding font character information.
float Graphics::UI::Character::advance |
The character's advance amount.
glm::vec2 Graphics::UI::Character::position |
The character's position as specified by FT2 and transformed into our system
glm::vec2 Graphics::UI::Character::size |
The character's size as specified by FT2 and transformed into our system
unsigned int Graphics::UI::Character::texture_handle |
The character's opengl texture handle.
unsigned int Graphics::UI::Character::vertex_array_object |
The character's vao.
VertexData Graphics::UI::Character::vertex_data |
The character's vertex data.