#include <OgreEAGLSupport.h>

Public Member Functions | |
| EAGLSupport () | |
| virtual | ~EAGLSupport () |
| void | addConfig (void) |
| Add any special config values to the system. | |
| virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available. | |
| CFDictionaryRef | chooseGLConfig (const GLint *attribList, GLint *nElements) |
| virtual GLESPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height) |
| RenderWindow * | createWindow (bool autoCreateWindow, GLESRenderSystem *renderSystem, const String &windowTitle) |
| virtual ConfigOptionMap & | getConfigOptions (void) |
| virtual unsigned int | getDisplayMonitorCount () const |
| virtual String | getDisplayName (void) |
| GLint | getGLConfigAttrib (CFDictionaryRef fbConfig, GLint attribute, GLint *value) |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const String & | getGLVersion (void) const |
| Get version information. | |
| void * | getProcAddress (const Ogre::String &name) |
| Get the address of a function. | |
| GLESStateCacheManager * | getStateCacheManager () const |
| Get the state cache manager. | |
| virtual void | initialiseExtensions () |
| Initialises GL extensions, must be done AFTER the GL context has been established. | |
| RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
| CFDictionaryRef | selectGLConfig (const int *minAttribs, const int *maxAttribs) |
| virtual void | setConfigOption (const String &name, const String &value) |
| void | setStateCacheManager (GLESStateCacheManager *stateCacheMgr) |
| Set a valid state cache manager. | |
| void | start (void) |
| Start anything special. | |
| void | stop (void) |
| Stop anything special. | |
| String | validateConfig (void) |
| Make sure all the extra options are valid. | |
Protected Attributes | |
| std::set< String > | extensionList |
| ConfigOptionMap | mOptions |
| GLESStateCacheManager * | mStateCacheMgr |
Definition at line 53 of file OgreEAGLSupport.h.
| virtual Ogre::EAGLSupport::~EAGLSupport | ( | ) | [virtual] |
| void Ogre::EAGLSupport::addConfig | ( | void | ) | [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
Implements Ogre::GLESSupport.
| virtual bool Ogre::GLESSupport::checkExtension | ( | const String & | ext | ) | const [virtual, inherited] |
Check if an extension is available.
| CFDictionaryRef Ogre::EAGLSupport::chooseGLConfig | ( | const GLint * | attribList, |
| GLint * | nElements | ||
| ) |
| virtual GLESPBuffer* Ogre::EAGLSupport::createPBuffer | ( | PixelComponentType | format, |
| size_t | width, | ||
| size_t | height | ||
| ) | [virtual] |
Implements Ogre::GLESSupport.
| RenderWindow* Ogre::EAGLSupport::createWindow | ( | bool | autoCreateWindow, |
| GLESRenderSystem * | renderSystem, | ||
| const String & | windowTitle | ||
| ) | [virtual] |
Implements Ogre::GLESSupport.
| virtual ConfigOptionMap& Ogre::GLESSupport::getConfigOptions | ( | void | ) | [virtual, inherited] |
| virtual unsigned int Ogre::GLESSupport::getDisplayMonitorCount | ( | ) | const [virtual, inherited] |
Definition at line 104 of file OgreGLESSupport.h.
| virtual String Ogre::EAGLSupport::getDisplayName | ( | void | ) | [virtual] |
| GLint Ogre::EAGLSupport::getGLConfigAttrib | ( | CFDictionaryRef | fbConfig, |
| GLint | attribute, | ||
| GLint * | value | ||
| ) |
| const String& Ogre::GLESSupport::getGLVendor | ( | void | ) | const [inherited] |
Get vendor information.
Definition at line 76 of file OgreGLESSupport.h.
| const String& Ogre::GLESSupport::getGLVersion | ( | void | ) | const [inherited] |
Get version information.
Definition at line 84 of file OgreGLESSupport.h.
| void* Ogre::EAGLSupport::getProcAddress | ( | const Ogre::String & | procname | ) | [virtual] |
Get the address of a function.
Implements Ogre::GLESSupport.
| GLESStateCacheManager* Ogre::GLESSupport::getStateCacheManager | ( | ) | const [inherited] |
Get the state cache manager.
Definition at line 112 of file OgreGLESSupport.h.
| virtual void Ogre::GLESSupport::initialiseExtensions | ( | ) | [virtual, inherited] |
Initialises GL extensions, must be done AFTER the GL context has been established.
| RenderWindow* Ogre::EAGLSupport::newWindow | ( | const String & | name, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| bool | fullScreen, | ||
| const NameValuePairList * | miscParams = 0 |
||
| ) | [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:
|
Implements Ogre::GLESSupport.
| CFDictionaryRef Ogre::EAGLSupport::selectGLConfig | ( | const int * | minAttribs, |
| const int * | maxAttribs | ||
| ) |
| virtual void Ogre::GLESSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual, inherited] |
Reimplemented in Ogre::EGLSupport, and Ogre::EGLSupport.
| void Ogre::GLESSupport::setStateCacheManager | ( | GLESStateCacheManager * | stateCacheMgr | ) | [inherited] |
Set a valid state cache manager.
Definition at line 120 of file OgreGLESSupport.h.
| void Ogre::EAGLSupport::start | ( | void | ) | [virtual] |
Start anything special.
Implements Ogre::GLESSupport.
| void Ogre::EAGLSupport::stop | ( | void | ) | [virtual] |
Stop anything special.
Implements Ogre::GLESSupport.
| String Ogre::EAGLSupport::validateConfig | ( | void | ) | [virtual] |
Make sure all the extra options are valid.
Implements Ogre::GLESSupport.
std::set<String> Ogre::GLESSupport::extensionList [protected, inherited] |
Definition at line 144 of file OgreGLESSupport.h.
ConfigOptionMap Ogre::GLESSupport::mOptions [protected, inherited] |
Definition at line 141 of file OgreGLESSupport.h.
GLESStateCacheManager* Ogre::GLESSupport::mStateCacheMgr [protected, inherited] |
Definition at line 146 of file OgreGLESSupport.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:01