Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Graphics::UI::Character Struct Reference

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
 

Detailed Description

Struct holding font character information.

Member Data Documentation

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.


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