#include <OgreGLESSupport.h>
Public Member Functions | |
GLESSupport () | |
virtual | ~GLESSupport () |
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, GLESRenderSystem *renderSystem, const String &windowTitle)=0 |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0 |
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. | |
virtual void | initialiseExtensions () |
Initialises GL extensions, must be done AFTER the GL context has been established. | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. | |
virtual unsigned int | getDisplayMonitorCount () const |
virtual void | start ()=0 |
Start anything special. | |
virtual void | stop ()=0 |
Stop anything special. | |
virtual GLESPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height)=0 |
Protected Attributes | |
ConfigOptionMap | mOptions |
std::set< String > | extensionList |
Private Attributes | |
String | mVersion |
String | mVendor |
Definition at line 42 of file OgreGLESSupport.h.
Definition at line 45 of file OgreGLESSupport.h.
virtual Ogre::GLESSupport::~GLESSupport | ( | ) | [virtual] |
Definition at line 46 of file OgreGLESSupport.h.
virtual void Ogre::GLESSupport::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, and Ogre::EAGLSupport.
virtual bool Ogre::GLESSupport::checkExtension | ( | const String & | ext | ) | const [virtual] |
Check if an extension is available.
virtual GLESPBuffer* Ogre::GLESSupport::createPBuffer | ( | PixelComponentType | format, |
size_t | width, | ||
size_t | height | ||
) | [pure virtual] |
Implemented in Ogre::X11EGLSupport, Ogre::EGLSupport, Ogre::EAGLSupport, and Ogre::Win32EGLSupport.
virtual RenderWindow* Ogre::GLESSupport::createWindow | ( | bool | autoCreateWindow, |
GLESRenderSystem * | renderSystem, | ||
const String & | windowTitle | ||
) | [pure virtual] |
Implemented in Ogre::EGLSupport, and Ogre::EAGLSupport.
virtual ConfigOptionMap& Ogre::GLESSupport::getConfigOptions | ( | void | ) | [virtual] |
virtual unsigned int Ogre::GLESSupport::getDisplayMonitorCount | ( | ) | const [virtual] |
Definition at line 103 of file OgreGLESSupport.h.
const String& Ogre::GLESSupport::getGLVendor | ( | void | ) | const |
Get vendor information.
Definition at line 75 of file OgreGLESSupport.h.
const String& Ogre::GLESSupport::getGLVersion | ( | void | ) | const |
Get version information.
Definition at line 83 of file OgreGLESSupport.h.
virtual void* Ogre::GLESSupport::getProcAddress | ( | const String & | procname | ) | [pure virtual] |
Get the address of a function.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, and Ogre::EAGLSupport.
virtual void Ogre::GLESSupport::initialiseExtensions | ( | ) | [virtual] |
Initialises GL extensions, must be done AFTER the GL context has been established.
virtual RenderWindow* Ogre::GLESSupport::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::EAGLSupport, Ogre::Win32EGLSupport, and Ogre::Win32EGLSupport.
virtual void Ogre::GLESSupport::setConfigOption | ( | const String & | name, |
const String & | value | ||
) | [virtual] |
Reimplemented in Ogre::EGLSupport, and Ogre::EGLSupport.
virtual void Ogre::GLESSupport::start | ( | ) | [pure virtual] |
Start anything special.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, and Ogre::EAGLSupport.
virtual void Ogre::GLESSupport::stop | ( | ) | [pure virtual] |
Stop anything special.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, and Ogre::EAGLSupport.
virtual String Ogre::GLESSupport::validateConfig | ( | ) | [pure virtual] |
Make sure all the extra options are valid.
Implemented in Ogre::EGLSupport, Ogre::EGLSupport, and Ogre::EAGLSupport.
std::set<String> Ogre::GLESSupport::extensionList [protected] |
Definition at line 127 of file OgreGLESSupport.h.
ConfigOptionMap Ogre::GLESSupport::mOptions [protected] |
Definition at line 124 of file OgreGLESSupport.h.
String Ogre::GLESSupport::mVendor [private] |
Definition at line 120 of file OgreGLESSupport.h.
String Ogre::GLESSupport::mVersion [private] |
Definition at line 119 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 Sun Sep 2 2012 07:27:59