liballofw
|
Functions | |
void | checkGLErrors (const char *info, Logger *logger=Logger::Default()) |
GLuint | compileShaderProgram (const char *source_vertex, const char *source_fragment, Logger *logger=Logger::Default()) |
GLuint | compileShaderProgram (const char *source_vertex, const char *source_geometry, const char *source_fragment, Logger *logger=Logger::Default()) |
void allofw::glutils::checkGLErrors | ( | const char * | info, |
Logger * | logger = Logger::Default() |
||
) |
Print glGetError() to the logger.
info | The description. |
logger | The logger object. |
GLuint allofw::glutils::compileShaderProgram | ( | const char * | source_vertex, |
const char * | source_fragment, | ||
Logger * | logger = Logger::Default() |
||
) |
Compile shader program.
source_vertex | The source of the vertex shader. |
source_fragment | The source of the fragment shader. |
logger | The logger object. |
GLuint allofw::glutils::compileShaderProgram | ( | const char * | source_vertex, |
const char * | source_geometry, | ||
const char * | source_fragment, | ||
Logger * | logger = Logger::Default() |
||
) |
Compile shader program with gemoetry shader.
source_vertex | The source of the vertex shader. |
source_geometry | The source of the geometry shader. |
source_fragment | The source of the fragment shader. |
logger | The logger object. |