OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Text.h File Reference
#include "Matrix.h"
#include <GLES3/gl3.h>

Go to the source code of this file.

Classes

struct  Skybox::Vec2
 Type representing texture coordinates. More...
 
class  Skybox::Text
 Functions for drawing text in OpenGL ES. More...
 

Namespaces

 Skybox
 

Typedefs

typedef struct Skybox::Vec2 Skybox::Vec2
 Type representing texture coordinates. More...
 

Functions

void Skybox::loadData (const char *filename, unsigned char **textureData)
 Load texture data from a file into memory. More...
 
GLint Skybox::get_and_check_attrib_location (GLuint program, const GLchar *attrib_name)
 Invoke glGetAttribLocation(), if it has returned a positive value. Otherwise, print a message and exit. Function used for clarity reasons. More...
 
GLint Skybox::get_and_check_uniform_location (GLuint program, const GLchar *uniform_name)
 Invoke glGetUniformLocation, if it has returned a positive value. Otherwise, print a message and exit. Function used for clarity reasons. More...
 

Variables

const char Skybox::fontVertexShaderSource []
 Vertex shader source code for text rendering. More...
 
const char Skybox::fontFragmentShaderSource []
 Fragment shader source code for text rendering. More...