36 void load(
char const * filename, GLuint type);
41 void set(
char const * name,
char const * str, GLuint type);
Simple class to load and compile some OpenGL-ES shader code.
void load(char const *filename, GLuint type)
Load a shader from file.
void set(char const *name, char const *str, GLuint type)
Load a shader from inlined code in a C-string.
GLuint id() const
Get the shader's ID.
Main namespace for all JeVois classes and functions.