Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OgreWin32GLSupport.h

Go to the documentation of this file.
00001 #ifndef __OgreWin32GLSupport_H__
00002 #define __OgreWin32GLSupport_H__
00003 
00004 #include "OgreWin32Prerequisites.h"
00005 #include "OgreGLSupport.h"
00006 #include "OgreGLRenderSystem.h"
00007 
00008 namespace Ogre
00009 {
00010     
00011     class Win32GLSupport : public GLSupport
00012     {
00013     public:
00014         Win32GLSupport();
00020         void addConfig();
00021 
00022         void setConfigOption(const String &name, const String &value);
00023 
00027         String validateConfig();
00028 
00029         virtual RenderWindow* createWindow(bool autoCreateWindow, GLRenderSystem* renderSystem, const String& windowTitle = "OGRE Render Window");
00030 
00032         virtual RenderWindow* newWindow(const String &name, unsigned int width, unsigned int height, 
00033             bool fullScreen, const NameValuePairList *miscParams = 0);
00034 
00036         virtual RenderTexture * createRenderTexture( const String & name, unsigned int width, unsigned int height,
00037                 TextureType texType = TEX_TYPE_2D, PixelFormat internalFormat = PF_X8R8G8B8, 
00038                 const NameValuePairList *miscParams = 0 ); 
00039 
00043         void start();
00047         void stop();
00048 
00052         void* getProcAddress(const String& procname);
00053 
00054         virtual void resizeReposition(void*);
00055 
00059         virtual void initialiseExtensions();
00063         virtual void initialiseCapabilities(RenderSystemCapabilities &caps);
00064     private:
00065         // Allowed video modes
00066         std::vector<DEVMODE> mDevModes;
00067         Win32Window *mInitialWindow;
00068 
00069         void refreshConfig();
00070     };
00071 
00072 }
00073 
00074 #endif

Copyright © 2000-2005 by The OGRE Team
Last modified Wed Feb 23 00:19:15 2005