17 #include <GLES2/gl2.h>
18 #elif GLES_VERSION == 3
19 #include <GLES3/gl3.h>
21 #error "GLES_VERSION must be defined as either 2 or 3"
37 static const std::string textureFilename;
38 static const std::string vertexShaderFilename;
39 static const std::string fragmentShaderFilename;
52 int numberOfCharacters;
54 float *textTextureCoordinates;
62 GLuint vertexShaderID;
63 GLuint fragmentShaderID;
86 Text(
const char * resourceDirectory,
int windowWidth,
int windowHeight);
110 void addString(
int xPosition,
int yPosition,
const char *
string,
int red,
int green,
int blue,
int alpha);