#include <OgreGL3PlusSupport.h>

Public Member Functions | |
| GL3PlusSupport () | |
| virtual | ~GL3PlusSupport () |
| virtual void | addConfig ()=0 |
| Add any special config values to the system. | |
| virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available. | |
| bool | checkMinGLVersion (const String &v) const |
| Compare GL version numbers. | |
| virtual RenderWindow * | createWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)=0 |
| virtual ConfigOptionMap & | getConfigOptions (void) |
| virtual unsigned int | getDisplayMonitorCount () const |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const String & | getGLVersion (void) const |
| Get version information. | |
| virtual void * | getProcAddress (const String &procname)=0 |
| Get the address of a function. | |
| const String & | getShaderCachePath (void) const |
| Get shader cache path. | |
| const String & | getShaderLibraryPath (void) const |
| Get shader library path. | |
| virtual void | initialiseExtensions () |
| Initialises GL extensions, must be done AFTER the GL context has been established. | |
| virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0 |
| virtual void | setConfigOption (const String &name, const String &value) |
| void | setShaderCachePath (String path) |
| Set shader cache path. | |
| void | setShaderLibraryPath (String path) |
| Set shader library path. | |
| virtual void | start ()=0 |
| Start anything special. | |
| virtual void | stop ()=0 |
| Stop anything special. | |
| virtual String | validateConfig ()=0 |
| Make sure all the extra options are valid. | |
Protected Attributes | |
| set< String >::type | extensionList |
| ConfigOptionMap | mOptions |
Private Attributes | |
| String | mShaderCachePath |
| String | mShaderLibraryPath |
| String | mVendor |
| String | mVersion |
Definition at line 40 of file OgreGL3PlusSupport.h.
Definition at line 43 of file OgreGL3PlusSupport.h.
| virtual Ogre::GL3PlusSupport::~GL3PlusSupport | ( | ) | [virtual] |
Definition at line 44 of file OgreGL3PlusSupport.h.
| virtual void Ogre::GL3PlusSupport::addConfig | ( | ) | [pure virtual] |
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::GTKGLSupport, Ogre::GTKGLSupport, Ogre::OSXGL3PlusSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual bool Ogre::GL3PlusSupport::checkExtension | ( | const String & | ext | ) | const [virtual] |
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
| bool Ogre::GL3PlusSupport::checkMinGLVersion | ( | const String & | v | ) | const |
Compare GL version numbers.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
| virtual RenderWindow* Ogre::GL3PlusSupport::createWindow | ( | bool | autoCreateWindow, |
| GL3PlusRenderSystem * | renderSystem, | ||
| const String & | windowTitle | ||
| ) | [pure virtual] |
Implemented in Ogre::OSXGL3PlusSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, and Ogre::SDLGLSupport.
| virtual ConfigOptionMap& Ogre::GL3PlusSupport::getConfigOptions | ( | void | ) | [virtual] |
| virtual unsigned int Ogre::GL3PlusSupport::getDisplayMonitorCount | ( | ) | const [virtual] |
Gets the number of display monitors.
Reimplemented in Ogre::Win32GLSupport, and Ogre::Win32GLSupport.
Definition at line 139 of file OgreGL3PlusSupport.h.
| const String& Ogre::GL3PlusSupport::getGLVendor | ( | void | ) | const |
Get vendor information.
Definition at line 73 of file OgreGL3PlusSupport.h.
| const String& Ogre::GL3PlusSupport::getGLVersion | ( | void | ) | const |
Get version information.
Definition at line 81 of file OgreGL3PlusSupport.h.
| virtual void* Ogre::GL3PlusSupport::getProcAddress | ( | const String & | procname | ) | [pure virtual] |
Get the address of a function.
Implemented in Ogre::OSXGL3PlusSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| const String& Ogre::GL3PlusSupport::getShaderCachePath | ( | void | ) | const |
Get shader cache path.
Definition at line 89 of file OgreGL3PlusSupport.h.
| const String& Ogre::GL3PlusSupport::getShaderLibraryPath | ( | void | ) | const |
Get shader library path.
Definition at line 97 of file OgreGL3PlusSupport.h.
| virtual void Ogre::GL3PlusSupport::initialiseExtensions | ( | ) | [virtual] |
Initialises GL extensions, must be done AFTER the GL context has been established.
Reimplemented in Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, and Ogre::GLXGLSupport.
| virtual RenderWindow* Ogre::GL3PlusSupport::newWindow | ( | const String & | name, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| bool | fullScreen, | ||
| const NameValuePairList * | miscParams = 0 |
||
| ) | [pure virtual] |
Creates a new rendering window.
| name | The name of the window. Used in other methods later like setRenderTarget and getRenderTarget. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| width | The width of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| height | The height of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fullScreen | Specify true to make the window full screen without borders, title bar or menu bar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise:
|
Implemented in Ogre::OSXGL3PlusSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual void Ogre::GL3PlusSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual] |
Reimplemented in Ogre::GLXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
| void Ogre::GL3PlusSupport::setShaderCachePath | ( | String | path | ) |
Set shader cache path.
Definition at line 105 of file OgreGL3PlusSupport.h.
| void Ogre::GL3PlusSupport::setShaderLibraryPath | ( | String | path | ) |
Set shader library path.
Definition at line 113 of file OgreGL3PlusSupport.h.
| virtual void Ogre::GL3PlusSupport::start | ( | ) | [pure virtual] |
Start anything special.
Implemented in Ogre::Win32GLSupport, Ogre::OSXGL3PlusSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual void Ogre::GL3PlusSupport::stop | ( | ) | [pure virtual] |
Stop anything special.
Implemented in Ogre::OSXGL3PlusSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual String Ogre::GL3PlusSupport::validateConfig | ( | ) | [pure virtual] |
Make sure all the extra options are valid.
Implemented in Ogre::Win32GLSupport, Ogre::OSXGL3PlusSupport, Ogre::Win32GLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
set<String>::type Ogre::GL3PlusSupport::extensionList [protected] |
Definition at line 164 of file OgreGL3PlusSupport.h.
ConfigOptionMap Ogre::GL3PlusSupport::mOptions [protected] |
Definition at line 161 of file OgreGL3PlusSupport.h.
String Ogre::GL3PlusSupport::mShaderCachePath [private] |
Definition at line 156 of file OgreGL3PlusSupport.h.
Definition at line 157 of file OgreGL3PlusSupport.h.
String Ogre::GL3PlusSupport::mVendor [private] |
Definition at line 155 of file OgreGL3PlusSupport.h.
String Ogre::GL3PlusSupport::mVersion [private] |
Definition at line 154 of file OgreGL3PlusSupport.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:04