Main Page   Class Hierarchy   Compound List   File List   Compound Members  

OGLRenderer.h

00001 
00002 #ifndef __OGLRENDERER_H_
00003 #define __OGLRENDERER_H_
00004 
00005 /**************************************************************************************
00006 * This file is part of the GameFramework project released by Wazoo Enterprises Inc.
00007 * under the GNU Public License. 
00008 *
00009 * Any projects using this code must attach these copyright notices along with their
00010 * own as outlined at http://www.gnu.org
00011 *
00012 * Copyright 2003 by Wazoo Enterprises Inc.
00013 * To contact the auther, send a message to wazoo@wazooenterprises.com
00014 *
00015 ****************************************************************************************/
00016 
00017 #include "..\rendererInterface.h"
00018 #include <gl/gl.h>
00019 #include <gl/glu.h>
00020 
00021 
00028 class OGLRenderer : public rendererInterface
00029 {
00030 private:
00031         HDC       m_hDC;         
00032         HGLRC m_hRC;         
00035 public:
00039         OGLRenderer();
00040 
00044         ~OGLRenderer();
00045 
00055     HRESULT createDevice(HWND, DWORD, DWORD, DWORD, BOOL);
00056 
00062     void destroyDevice(void);
00063 
00069     HRESULT beginRenderingScene(void);
00070 
00076     void endRenderingScene(void);
00077 
00086     void setClearColor(FLOAT, FLOAT, FLOAT, FLOAT);
00087 
00088 
00089 
00090 };
00091 
00092 #endif

Generated on Thu Jul 3 07:23:27 2003 for GameFramework by doxygen 1.3.1