NGL  6.5
The NCCA Graphics Library
ngl::FontChar Struct Reference

a structure to hold the font char texture id and the vao. The vao for each font will be a different size need to investigate is a scale would be quicker / more efficient than storing multiple billboards (some will be the same size) More...

#include <Text.h>

+ Collaboration diagram for ngl::FontChar:

Public Attributes

int width
 
GLuint textureID
 the width of the font More...
 
AbstractVAOvao
 the texture id of the font billboard More...
 

Detailed Description

a structure to hold the font char texture id and the vao. The vao for each font will be a different size need to investigate is a scale would be quicker / more efficient than storing multiple billboards (some will be the same size)

Definition at line 58 of file Text.h.

Member Data Documentation

GLuint ngl::FontChar::textureID

the width of the font

Definition at line 61 of file Text.h.

AbstractVAO* ngl::FontChar::vao

the texture id of the font billboard

Definition at line 62 of file Text.h.

int ngl::FontChar::width

Definition at line 60 of file Text.h.


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