Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

UtilsGL


Classes

class  GLRC
 OpenGL context handling
Attention:
Include windows.h before using this file! Usage:
  GLRC glrc;
  // inside window creation
  glrc.Create(wnd);
  // before rendering into window
  glrc.MakeCurrent();
  // ... 
  // display in the screen (in case of double buffering)
  glrc.SwapBuffers();
  // ..
  // delete gl context (may be avoided, because called in destructor anyway)
  glrc.Destroy();
.
More...

class  GLRC
 OpenGL context handling
Attention:
Include windows.h before using this file! Usage:
  GLRC glrc;
  // inside window creation
  glrc.Create(wnd);
  // before rendering into window
  glrc.MakeCurrent();
  // ... 
  // display in the screen (in case of double buffering)
  glrc.SwapBuffers();
  // ..
  // delete gl context (may be avoided, because called in destructor anyway)
  glrc.Destroy();
.
More...


Functions

int gml::InitGLExtensions (const char *origReqExts)
 Return 1 if all extensions listed in origReqExts are supported by GL implementation.

const char * gml::GetUnsupportedGLExtensions ()
 Return a list of unsupported extensions (should be called after InitGLExtensions).

void RenderBBox (const gml::BBox3f &bbox, const gml::ColorRGBAf &color)

Function Documentation

int InitGLExtensions const char *  origReqExts  ) 
 

Return 1 if all extensions listed in origReqExts are supported by GL implementation.

Extensions should be separated with spaces, like "GL_ARB_multitexture " "GL_NV_evaluators " "GL_NV_texture_shader "


Generated on Tue Jan 13 21:12:02 2004 for Graphics and Media Lab CSL by doxygen 1.3.4