#include <OgreGLSupport.h>
Inheritance diagram for Ogre::GLSupport:

Public Member Functions | |||||||||||||
| GLSupport () | |||||||||||||
| virtual | ~GLSupport () | ||||||||||||
| virtual void | addConfig ()=0 | ||||||||||||
| Add any special config values to the system. | |||||||||||||
| virtual void | setConfigOption (const String &name, const String &value) | ||||||||||||
| virtual String | validateConfig ()=0 | ||||||||||||
| Make sure all the extra options are valid. | |||||||||||||
| virtual ConfigOptionMap & | getConfigOptions (void) | ||||||||||||
| virtual RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle)=0 | ||||||||||||
| virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0 | ||||||||||||
Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific] Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0 Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate
Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0 | |||||||||||||
| virtual RenderTexture * | createRenderTexture (const String &name, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_X8R8G8B8, const NameValuePairList *miscParams=0) | ||||||||||||
Key: "depth" Description: Depth in case of render-to-texture TEX_3D Values: positive integers
| |||||||||||||
| virtual void | start ()=0 | ||||||||||||
| Start anything special. | |||||||||||||
| virtual void | stop ()=0 | ||||||||||||
| Stop anything special. | |||||||||||||
| const String & | getGLVendor (void) const | ||||||||||||
| get vendor information | |||||||||||||
| const String & | getGLVersion (void) const | ||||||||||||
| get version information | |||||||||||||
| bool | checkMinGLVersion (const String &v) const | ||||||||||||
| compare GL version numbers | |||||||||||||
| virtual bool | checkExtension (const String &ext) const | ||||||||||||
| Check if an extension is available. | |||||||||||||
| virtual void * | getProcAddress (const String &procname)=0 | ||||||||||||
| Get the address of a function. | |||||||||||||
| virtual void | initialiseExtensions () | ||||||||||||
| Intialises GL extensions, must be done AFTER the GL context has been established. | |||||||||||||
| virtual void | initialiseCapabilities (RenderSystemCapabilities &caps) | ||||||||||||
| GLsupport specific capabilities (hardware render-to-texture, being one of them) are marked in caps. | |||||||||||||
| virtual void | resizeRepositionWindow (void *window) | ||||||||||||
| virtual void | resizeReposition (void *) | ||||||||||||
Protected Attributes | |||||||||||||
| ConfigOptionMap | mOptions | ||||||||||||
| void * | m_windowToResize | ||||||||||||
| std::set< String > | extensionList | ||||||||||||
Private Attributes | |||||||||||||
| String | mVersion | ||||||||||||
| String | mVendor | ||||||||||||
|
|
Definition at line 16 of file OgreGLSupport.h. |
|
|
Definition at line 17 of file OgreGLSupport.h. |
|
|
Add any special config values to the system. Must have a "Full Screen" value that is a bool and a "Video Mode" value that is a string in the form of wxh Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport. |
|
|
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport. |
|
|
compare GL version numbers
Reimplemented in Ogre::GTKGLSupport. |
|
||||||||||||||||||||||||||||
|
Key: "depth" Description: Depth in case of render-to-texture TEX_3D Values: positive integers
Reimplemented in Ogre::GLXGLSupport, and Ogre::Win32GLSupport. |
|
||||||||||||||||
|
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport. |
|
|
|
|
|
get vendor information
Definition at line 59 of file OgreGLSupport.h. References mVendor, and Ogre::String. |
|
|
get version information
Definition at line 67 of file OgreGLSupport.h. References Ogre::String. |
|
|
Get the address of a function.
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport. |
|
|
GLsupport specific capabilities (hardware render-to-texture, being one of them) are marked in caps.
Reimplemented in Ogre::GLXGLSupport, and Ogre::Win32GLSupport. |
|
|
Intialises GL extensions, must be done AFTER the GL context has been established.
Reimplemented in Ogre::GTKGLSupport, and Ogre::Win32GLSupport. |
|
||||||||||||||||||||||||
|
Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific] Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0 Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0
Implemented in Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport. |
|
|
Reimplemented in Ogre::Win32GLSupport. Definition at line 97 of file OgreGLSupport.h. |
|
|
Definition at line 96 of file OgreGLSupport.h. References m_windowToResize. |
|
||||||||||||
|
Reimplemented in Ogre::Win32GLSupport. |
|
|
Start anything special.
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport. |
|
|
Stop anything special.
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport. |
|
|
Make sure all the extra options are valid.
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport. |
|
|
Definition at line 106 of file OgreGLSupport.h. |
|
|
Definition at line 103 of file OgreGLSupport.h. Referenced by resizeRepositionWindow(). |
|
|
Definition at line 101 of file OgreGLSupport.h. |
|
|
Definition at line 109 of file OgreGLSupport.h. Referenced by getGLVendor(). |
|
|
Definition at line 108 of file OgreGLSupport.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Apr 10 23:33:03 2005