CopperSpice API  1.9.1
CsOpenGL

Bindings for the OpenGL API. More...

Classes

class  QGLBuffer
 Functions for creating and managing GL buffer objects More...
 
class  QGLColormap
 Used for installing custom colormaps into a QGLWidget More...
 
class  QGLContext
 Encapsulates an OpenGL rendering context More...
 
class  QGLFormat
 Display format of an OpenGL rendering context More...
 
class  QGLFramebufferObject
 Encapsulates an OpenGL framebuffer object More...
 
class  QGLFramebufferObjectFormat
 Format of an OpenGL framebuffer object More...
 
class  QGLFunctions
 Cross-platform access to the OpenGL/ES 2.0 API More...
 
class  QGLPixelBuffer
 Encapsulates an OpenGL pbuffer More...
 
class  QGLShader
 Allows OpenGL shaders to be compiled More...
 
class  QGLShaderProgram
 Allows OpenGL shader programs to be linked and used More...
 
class  QGLWidget
 Widget for rendering OpenGL graphics More...
 

Detailed Description

OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D rendering and provides little or no support for GUI programming issues. The user interface for an OpenGL application must be created with another toolkit, such as Motif on the X platform, Microsoft Foundation Classes (MFC) under Windows, or CopperSpice on both platforms.

The CsOpenGL library makes it easy to use OpenGL in CopperSpice applications. It provides an OpenGL widget class that can be used just like any other CopperSpice widget, except that it opens an OpenGL display buffer where you can use the OpenGL API to render the contents.

The CsOpenGL library is implemented as a platform-independent CopperSpice/C++ wrapper around the platform-dependent GLX (version 1.3 or later), WGL, or AGL C APIs. Although the basic functionality provided is very similar to Mark Kilgard's GLUT library, applications using the CsOpenGL library can take advantage of the whole CopperSpice API for non-OpenGL-specific GUI functionality.

OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries.