OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
loader.cpp File Reference
#include "stb_image.h"

Go to the source code of this file.

Macros

#define STB_IMAGE_IMPLEMENTATION
 

Functions

GLuint load_packed_cubemap (const char *filename)
 
char * read_file (const char *filename)
 
GLuint compile_shader (const char *source, GLenum type)
 
GLuint link_program (GLuint *shaders, int count)
 
void load_mapping_shader (App *app)
 
void load_backdrop_shader (App *app)
 
void load_assets (App *app)
 

Macro Definition Documentation

#define STB_IMAGE_IMPLEMENTATION

Definition at line 27 of file loader.cpp.

Function Documentation

GLuint compile_shader ( const char *  source,
GLenum  type 
)

Definition at line 124 of file loader.cpp.

GLuint link_program ( GLuint shaders,
int  count 
)

Definition at line 143 of file loader.cpp.

void load_assets ( App app)

Definition at line 202 of file loader.cpp.

void load_backdrop_shader ( App app)

Definition at line 188 of file loader.cpp.

void load_mapping_shader ( App app)

Definition at line 168 of file loader.cpp.

GLuint load_packed_cubemap ( const char *  filename)

Definition at line 30 of file loader.cpp.

char* read_file ( const char *  filename)

Definition at line 96 of file loader.cpp.