Unofficial OpenGL Software Development Kit: C:/Projects/distro/glsdk_0_5_1/glutil/include/glutil/Debug.h Source File

Unofficial OpenGL Software Development Kit 0.5.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Debug.h
Go to the documentation of this file.
1
2 #ifndef DEBUG_UTIL_H
3 #define DEBUG_UTIL_H
4
5 #include <string>
6 #include <vector>
7
13 namespace glutil
14 {
17
19 enum OutputLocation
20 {
21 STD_OUT,
22 STD_ERR,
23 };
24
29
30
43 bool RegisterDebugOutput(OutputLocation eLoc);
44
46
52
53
60 std::string ErrorCodeToEnumString(GLenum errorCode);
61
70 std::string ErrorCodeToDescription(GLenum errorCode);
71
81 std::string FramebufferToEnumString(GLenum framebufferStatus);
82
92 std::string FramebufferToDescription(GLenum framebufferStatus);
94
96 }
97
98
99 #endif //DEBUG_UTIL_H