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_texture (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_backdrop_shader (App *app)
 
void load_geometry_shader (App *app)
 
void load_centroid_shader (App *app)
 
void load_generate_shader (App *app)
 
void load_assets (App *app)
 

Macro Definition Documentation

#define STB_IMAGE_IMPLEMENTATION

Definition at line 21 of file loader.cpp.

Function Documentation

GLuint compile_shader ( const char *  source,
GLenum  type 
)

Definition at line 76 of file loader.cpp.

GLuint link_program ( GLuint shaders,
int  count 
)

Definition at line 95 of file loader.cpp.

void load_assets ( App app)

Definition at line 175 of file loader.cpp.

void load_backdrop_shader ( App app)

Definition at line 120 of file loader.cpp.

void load_centroid_shader ( App app)

Definition at line 155 of file loader.cpp.

void load_generate_shader ( App app)

Definition at line 165 of file loader.cpp.

void load_geometry_shader ( App app)

Definition at line 137 of file loader.cpp.

GLuint load_texture ( const char *  filename)

Definition at line 24 of file loader.cpp.

char* read_file ( const char *  filename)

Definition at line 48 of file loader.cpp.