#summary The OpenGL helper module = Overview = The modules [http://odefu.googlecode.com/svn/trunk/OpenGLUtils/openglutils/GL.d GL], [http://odefu.googlecode.com/svn/trunk/OpenGLUtils/openglutils/DebugGL.d DebugGL], [http://odefu.googlecode.com/svn/trunk/OpenGLUtils/openglutils/GLError.d GLError] and [http://odefu.googlecode.com/svn/trunk/OpenGLUtils/openglutils/GLException.d GLException] are used for direct OpenGL. Importing the GL module provides all other modules as well. == GL == The main responsibility of the GL module is to publicly import all OpenGL functions and constants up to the version 1.1. You need a valid context for loading the newer versions. It also loads the the OpenGL shared library for you. The module also takes care of publicly importing the other modules. The DebugGL is only imported if the -debug switch has been used when compiling, or version DebugGL has been set. == DebugGL == The DebugGL module provides a template wrapper around OpenGL functions that checks for errors after every function call, except when between calls to glBegin and glEnd. It throws an GLException if there is an error. I've also been thinking on providing an implementation which logs all the errors instead of throwing an exception, if that seems to be desirable. == GLError == The GLError module provides the needed error checking functions for DebugGL. They can be used independently as well. == GLException == The GLException is used through out the OpenGLUtils when there is an error with OpenGL functions.