#include <OgreGLES2Support.h>

Public Member Functions | |
| GLES2Support () | |
| virtual | ~GLES2Support () |
| 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. | |
| virtual RenderWindow * | createWindow (bool autoCreateWindow, GLES2RenderSystem *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. | |
| GLES2StateCacheManager * | getStateCacheManager () const |
| Get the state cache manager. | |
| 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. | |
| void | setStateCacheManager (GLES2StateCacheManager *stateCacheMgr) |
| Set a valid state cache manager. | |
| 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 |
| GLES2StateCacheManager * | mStateCacheMgr |
Private Attributes | |
| String | mShaderCachePath |
| String | mShaderLibraryPath |
| String | mVendor |
| String | mVersion |
Definition at line 41 of file OgreGLES2Support.h.
Definition at line 44 of file OgreGLES2Support.h.
| virtual Ogre::GLES2Support::~GLES2Support | ( | ) | [virtual] |
Definition at line 45 of file OgreGLES2Support.h.
| virtual void Ogre::GLES2Support::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::EGLSupport, Ogre::EGLSupport, Ogre::EAGL2Support, and Ogre::NaClGLSupport.
| virtual bool Ogre::GLES2Support::checkExtension | ( | const String & | ext | ) | const [virtual] |
Check if an extension is available.
| virtual RenderWindow* Ogre::GLES2Support::createWindow | ( | bool | autoCreateWindow, |
| GLES2RenderSystem * | renderSystem, | ||
| const String & | windowTitle | ||
| ) | [pure virtual] |
Implemented in Ogre::EGLSupport, Ogre::EAGL2Support, and Ogre::NaClGLSupport.
| virtual ConfigOptionMap& Ogre::GLES2Support::getConfigOptions | ( | void | ) | [virtual] |
| virtual unsigned int Ogre::GLES2Support::getDisplayMonitorCount | ( | ) | const [virtual] |
Gets the number of display monitors.
Definition at line 135 of file OgreGLES2Support.h.
| const String& Ogre::GLES2Support::getGLVendor | ( | void | ) | const |
Get vendor information.
Definition at line 74 of file OgreGLES2Support.h.
| const String& Ogre::GLES2Support::getGLVersion | ( | void | ) | const |
Get version information.
Definition at line 82 of file OgreGLES2Support.h.
| virtual void* Ogre::GLES2Support::getProcAddress | ( | const String & | procname | ) | [pure virtual] |
Get the address of a function.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, Ogre::EAGL2Support, and Ogre::NaClGLSupport.
| const String& Ogre::GLES2Support::getShaderCachePath | ( | void | ) | const |
Get shader cache path.
Definition at line 90 of file OgreGLES2Support.h.
| const String& Ogre::GLES2Support::getShaderLibraryPath | ( | void | ) | const |
Get shader library path.
Definition at line 98 of file OgreGLES2Support.h.
Get the state cache manager.
Definition at line 143 of file OgreGLES2Support.h.
| virtual void Ogre::GLES2Support::initialiseExtensions | ( | ) | [virtual] |
Initialises GL extensions, must be done AFTER the GL context has been established.
| virtual RenderWindow* Ogre::GLES2Support::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::X11EGLSupport, Ogre::X11EGLSupport, Ogre::EAGL2Support, Ogre::Win32EGLSupport, Ogre::Win32EGLSupport, Ogre::NaClGLSupport, Ogre::AndroidEGLSupport, and Ogre::AndroidEGLSupport.
| virtual void Ogre::GLES2Support::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual] |
Reimplemented in Ogre::EGLSupport, Ogre::EGLSupport, and Ogre::NaClGLSupport.
| void Ogre::GLES2Support::setShaderCachePath | ( | String | path | ) |
Set shader cache path.
Definition at line 106 of file OgreGLES2Support.h.
| void Ogre::GLES2Support::setShaderLibraryPath | ( | String | path | ) |
Set shader library path.
Definition at line 114 of file OgreGLES2Support.h.
| void Ogre::GLES2Support::setStateCacheManager | ( | GLES2StateCacheManager * | stateCacheMgr | ) |
Set a valid state cache manager.
Definition at line 151 of file OgreGLES2Support.h.
| virtual void Ogre::GLES2Support::start | ( | ) | [pure virtual] |
Start anything special.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, Ogre::EAGL2Support, and Ogre::NaClGLSupport.
| virtual void Ogre::GLES2Support::stop | ( | ) | [pure virtual] |
Stop anything special.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, Ogre::EAGL2Support, and Ogre::NaClGLSupport.
| virtual String Ogre::GLES2Support::validateConfig | ( | ) | [pure virtual] |
Make sure all the extra options are valid.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, Ogre::EAGL2Support, and Ogre::NaClGLSupport.
set<String>::type Ogre::GLES2Support::extensionList [protected] |
Definition at line 176 of file OgreGLES2Support.h.
ConfigOptionMap Ogre::GLES2Support::mOptions [protected] |
Definition at line 173 of file OgreGLES2Support.h.
String Ogre::GLES2Support::mShaderCachePath [private] |
Definition at line 168 of file OgreGLES2Support.h.
String Ogre::GLES2Support::mShaderLibraryPath [private] |
Definition at line 169 of file OgreGLES2Support.h.
GLES2StateCacheManager* Ogre::GLES2Support::mStateCacheMgr [protected] |
Definition at line 179 of file OgreGLES2Support.h.
String Ogre::GLES2Support::mVendor [private] |
Definition at line 167 of file OgreGLES2Support.h.
String Ogre::GLES2Support::mVersion [private] |
Definition at line 166 of file OgreGLES2Support.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:07