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

Go to the source code of this file.

Functions

bool compile_shader (GLuint shader, GLenum type, const char *source)
 
bool link_program (GLuint program, std::vector< GLuint > shaders)
 

Function Documentation

bool compile_shader ( GLuint  shader,
GLenum  type,
const char *  source 
)

Definition at line 29 of file shader.cpp.

bool link_program ( GLuint  program,
std::vector< GLuint shaders 
)

Definition at line 48 of file shader.cpp.