liballofw
Main Page
Namespaces
Classes
Files
File List
File Members
AllofwModule
liballofw
include
allofw
opengl_utils.h
Go to the documentation of this file.
1
#ifndef ALLOFW_OPENGL_UTILS_H
2
#define ALLOFW_OPENGL_UTILS_H
3
4
#include "
opengl.h
"
5
#include "
logger.h
"
6
7
namespace
allofw
{
8
namespace
glutils {
12
void
checkGLErrors
(
const
char
* info,
Logger
* logger =
Logger::Default
());
13
19
GLuint
compileShaderProgram
(
const
char
* source_vertex,
const
char
* source_fragment,
Logger
* logger =
Logger::Default
());
20
27
GLuint
compileShaderProgram
(
const
char
* source_vertex,
const
char
* source_geometry,
const
char
* source_fragment,
Logger
* logger =
Logger::Default
());
28
}
29
}
30
31
#endif
opengl.h
allofw
Definition:
allofw.h:12
allofw::Logger
Definition:
logger.h:25
logger.h
allofw::Logger::Default
static Logger * Default()
Definition:
logger.h:49
allofw::glutils::compileShaderProgram
GLuint compileShaderProgram(const char *source_vertex, const char *source_fragment, Logger *logger=Logger::Default())
allofw::glutils::checkGLErrors
void checkGLErrors(const char *info, Logger *logger=Logger::Default())
Generated by
1.8.11