gramods
GLUtils.hh
1 
2 #ifndef GRAMODS_GRAPHICS_GLUTILS
3 #define GRAMODS_GRAPHICS_GLUTILS
4 
5 #include <gmGraphics/config.hh>
6 
7 #include <GL/glew.h>
8 #include <GL/gl.h>
9 
10 BEGIN_NAMESPACE_GMGRAPHICS;
11 
15 struct GLUtils {
16 
21  static bool check_shader_program(GLuint program_id);
22 
27  static bool check_framebuffer();
28 
32  static int nextPowerOfTwo(int v);
33 
34 };
35 
36 END_NAMESPACE_GMGRAPHICS;
37 
38 #endif
Utility functions for handling GL.
Definition: GLUtils.hh:15