OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Text.cpp File Reference
#include "Text.h"
#include "Skybox.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Namespaces

 Skybox
 

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...