GLContext Class Reference

Platform independent interface class to manage an OpenGL context. More...

#include <mlGLContext.h>

List of all members.

Classes

struct  GLCtx
 Structure with platform dependent information about OpenGL context. More...

Static Public Member Functions

static GLCtx create ()
 Returns new context or 0 in case of an error.
static GLCtx createFullScreen ()
 Returns new full-screen context or 0 in case of an error.
static void destroy (GLCtx &ctx)
 destroys given context
static void activate (GLCtx &ctx)
 Make given context current.
static GLCtx current ()
 Return currently active context.


Detailed Description

Platform independent interface class to manage an OpenGL context.

Definition at line 28 of file mlGLContext.h.


Member Function Documentation

static void GLContext::activate ( GLCtx ctx  )  [static]

Make given context current.

static GLCtx GLContext::create (  )  [static]

Returns new context or 0 in case of an error.

static GLCtx GLContext::createFullScreen (  )  [static]

Returns new full-screen context or 0 in case of an error.

static GLCtx GLContext::current (  )  [static]

Return currently active context.

static void GLContext::destroy ( GLCtx ctx  )  [static]

destroys given context


The documentation for this class was generated from the following file:

Generated on Sat Sep 3 18:39:31 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8