OpenGLDevice Class Reference

Implements the interface for OpenGL. More...

#include <OpenGLDevice.h>

List of all members.

Public Member Functions

 OpenGLDevice (HDC &deviceContext, int stencil=0)
 OpenGLDevice (HWND &window, int stencil=0)
 OpenGLDevice ()
bool create (HDC &deviceContext, int stencil=0)
bool create (HWND &window, int stencil=0)
void destroy ()
void makeCurrent (bool disableOther=true)
virtual ~OpenGLDevice ()

Protected Member Functions

bool setDCPixelFormat (HDC &deviceContext, int stencil)

Protected Attributes

HGLRC renderContext
HDC deviceContext


Detailed Description

Implements the interface for OpenGL.


Constructor & Destructor Documentation

OpenGLDevice::OpenGLDevice ( HDC &  deviceContext,
int  stencil = 0 
)

OpenGLDevice::OpenGLDevice ( HWND &  window,
int  stencil = 0 
)

OpenGLDevice::OpenGLDevice (  ) 

OpenGLDevice::~OpenGLDevice (  )  [virtual]


Member Function Documentation

bool OpenGLDevice::create ( HDC &  deviceContext,
int  stencil = 0 
)

bool OpenGLDevice::create ( HWND &  window,
int  stencil = 0 
)

void OpenGLDevice::destroy (  ) 

void OpenGLDevice::makeCurrent ( bool  disableOther = true  ) 

bool OpenGLDevice::setDCPixelFormat ( HDC &  deviceContext,
int  stencil 
) [protected]


Member Data Documentation

HGLRC OpenGLDevice::renderContext [protected]

HDC OpenGLDevice::deviceContext [protected]


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 11:58:36 2007 for VisLuBsp1 by  doxygen 1.5.1-p1