Vis 2 Demo  1.0
Technical illustration type real-time rendering of geometry
 All Classes Namespaces Files Functions Variables Typedefs Macros
DebugFunctions.h
Go to the documentation of this file.
1 #ifndef __DEBUG_FUNCTIONS_H__
2 #define __DEBUG_FUNCTIONS_H__
3 
4 #include <iostream>
5 #include <sstream>
6 #include <string>
7 #include <GL/glfw.h>
8 //#include <glew.h>
9 #include <glext.h>
10 
12 
14 {
15 public:
17 
26  static void APIENTRY DebugCallback( GLenum source,
27  GLenum type,
28  GLuint id,
29  GLenum severity,
30  GLsizei length,
31  const GLchar* message,
32  GLvoid* userParam);
33 
35 
42  static std::string FormatDebugOutput( GLenum source,
43  GLenum type,
44  GLuint id,
45  GLenum severity,
46  const char* msg);
47 
49  static void registerCallBackFunction();
50 };
51 
52 
53 #endif