Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
CheckedGL.h
1 //Author: Christian Hafner
2 #pragma once
3 #include "flextGL.h"
4 
5 void c_resetCheckedGL();
6 void c_glEnable(GLenum target);
7 void c_glDisable(GLenum target);
8 void c_bindTextureToUnit(unsigned unit, GLenum target, GLuint handle);
9 void c_bindImageTextureToUnit(unsigned unit, GLenum target,unsigned level, GLboolean layered,GLint layer,GLenum access,GLenum format);
10 void c_glCullFace(GLenum mode);
11 void c_glBindVertexArray(GLuint vao);
12 void c_glBindFramebuffer(GLenum mode, GLuint handle);
13 void c_glBlendEquation(GLenum mode);
14 void c_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
15 void c_glBlendFunc(GLenum sfactor, GLenum dfactor);
16 void c_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
17 void c_glClearColor(float r, float g, float b, float a);
18 void c_glClearDepth(double depth);
19 void c_glViewport(int x, int y, int width, int height);
20 void c_glDrawBuffer(GLenum buffer);
21 void c_glDrawBuffers(int numTargets, GLenum* buffers);
22 void c_glDepthFunc(GLenum mode);
23 void c_glUseProgram(GLuint program);