osgViewer::GraphicsHandleWin32 Class Reference

Inheritance diagram for osgViewer::GraphicsHandleWin32:

osgViewer::GraphicsWindowWin32 osgViewer::PixelBufferWin32

List of all members.

Public Member Functions

 GraphicsHandleWin32 ()
void setHWND (HWND hwnd)
HWND getHWND () const
void setHDC (HDC hdc)
HDC getHDC () const
void setWGLContext (HGLRC hglrc)
HGLRC getWGLContext () const

Protected Attributes

HWND _hwnd
HDC _hdc
HGLRC _hglrc


Detailed Description

Class to encapsulate platform-specific OpenGL context handle variables. Derived osg::GraphicsContext classes can inherit from this class to share OpenGL resources.

Constructor & Destructor Documentation

osgViewer::GraphicsHandleWin32::GraphicsHandleWin32 (  )  [inline]


Member Function Documentation

void osgViewer::GraphicsHandleWin32::setHWND ( HWND  hwnd  )  [inline]

Set native window.

HWND osgViewer::GraphicsHandleWin32::getHWND (  )  const [inline]

Get native window.

void osgViewer::GraphicsHandleWin32::setHDC ( HDC  hdc  )  [inline]

Set device context.

HDC osgViewer::GraphicsHandleWin32::getHDC (  )  const [inline]

Get device context.

void osgViewer::GraphicsHandleWin32::setWGLContext ( HGLRC  hglrc  )  [inline]

Set native OpenGL graphics context.

HGLRC osgViewer::GraphicsHandleWin32::getWGLContext (  )  const [inline]

Get native OpenGL graphics context.


Member Data Documentation


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

Generated on Fri Mar 19 19:53:00 2010 for openscenegraph by  doxygen 1.5.6