Visualization Library is a C++ middleware for high-performance 2D and 3D graphics applications based on OpenGL 1.x-4.x supporting Windows, Linux and Mac OS X.
Basically, create a new vl::OpenGLFunctions class that encapsulates all the GL function available for a given OpenGLContext. Initialized when the OpenGLContext initializes and returned by it:
vl::OpenGLFunctions* OpenGLContext::functions()
Everywhere we use GL functions (render states etc.) we should use this class (by making the OpenGLContext available).
Basically, create a new vl::OpenGLFunctions class that encapsulates all the GL function available for a given OpenGLContext. Initialized when the OpenGLContext initializes and returned by it:
Everywhere we use GL functions (render states etc.) we should use this class (by making the OpenGLContext available).
With proper support for Win, Linux & Mac.