KrisLibrary  1.0.0
Namespaces | Classes | Functions
GLDraw

OpenGL, GLUT, and GLUI drawing routines. More...

Namespaces

 GLDraw
 Contains all definitions in the GLDraw package.
 

Classes

struct  GLDraw::GLColor
 An rgba color. More...
 
class  GLDraw::GLLight
 An OpenGL light. More...
 
struct  GLDraw::GLMaterial
 An OpenGL material. More...
 
class  GLDraw::GLRenderToImage
 Allows for GL calls to draw to an image. More...
 
class  GLDraw::GLScreenshotProgram< BaseGUI >
 A plugin class that "automatically" saves a movie to disk in the form of PPM screenshots. More...
 
class  GLDraw::GLTexture1D
 1D texture data for use in OpenGL. More...
 
class  GLDraw::GLTexture2D
 2D texture data for use in OpenGL. More...
 
class  GLDraw::GLTextureObject
 A GL texture object class. Simplifies allocating and cleaning up texture objects. Usually you only need to interact with GLTexture[X]D and the texture management is handled for you. More...
 
class  GLUINavigationProgram
 A 3D navigation program based on GLUI. More...
 
class  GLUTNavigationProgram
 A 3D navigation program based on GLUT. More...
 
class  GLDraw::Widget
 Base class for a visual widget. More...
 
class  GLDraw::WidgetSet
 A container of sub-widgets. More...
 

Functions

bool GLSaveScreenshot (const char *filename)
 Saves the current back buffer to filename. More...
 

Detailed Description

OpenGL, GLUT, and GLUI drawing routines.

Function Documentation

bool GLSaveScreenshot ( const char *  filename)

Saves the current back buffer to filename.

If GDI is available (windows) saves to whatever file type is given by filename. Otherwise this saves in PPM format.