# Module GL

The GL submodule provides a number of facilities for using OpenGL graphics in PyGUI applications. Use of these requires the presence of a functioning PyOpenGL installation.

## Classes

The following classes are defined in the GL submodule.

GLConfig
  A bundle of OpenGL context attributes.
GLView
  An on-screen view for displaying OpenGL graphics.
GLPixmap
  An off-screen area for OpenGL graphics.
ShareGroup
  A group of OpenGL contexts sharing textures and display lists.

Texture
  A context-independent representation of an OpenGL texture.
DisplayList
  A context-independent representation of an OpenGL display list.

## Exceptions

GLConfigError
  Raised when attempting to construct a GLView or GLPixmap with a set of attributes that cannot be satisified.