#include <OgreAndroidGLSupport.h>
Public Member Functions | |
AndroidGLSupport () | |
virtual | ~AndroidGLSupport () |
void | switchMode (uint &width, uint &height, short &frequency) |
String | getDisplayName (void) |
RenderWindow * | createWindow (bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle) |
RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
void | start (void) |
Start anything special. | |
void | stop (void) |
Stop anything special. | |
void | addConfig (void) |
Add any special config values to the system. | |
void | refreshConfig (void) |
String | validateConfig (void) |
Make sure all the extra options are valid. | |
void | setConfigOption (const String &name, const String &value) |
void * | getProcAddress (const Ogre::String &name) |
Get the address of a function. | |
virtual ConfigOptionMap & | getConfigOptions (void) |
const String & | getGLVendor (void) const |
Get vendor information. | |
const String & | getGLVersion (void) const |
Get version information. | |
const String & | getShaderCachePath (void) const |
Get shader cache path. | |
const String & | getShaderLibraryPath (void) const |
Get shader library path. | |
void | setShaderCachePath (String path) |
Set shader cache path. | |
void | setShaderLibraryPath (String path) |
Set shader library path. | |
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 |
Protected Attributes | |
ConfigOptionMap | mOptions |
set< String >::type | extensionList |
Definition at line 37 of file OgreAndroidGLSupport.h.
virtual Ogre::AndroidGLSupport::~AndroidGLSupport | ( | ) | [virtual] |
void Ogre::AndroidGLSupport::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::GLES2Support.
virtual bool Ogre::GLES2Support::checkExtension | ( | const String & | ext | ) | const [virtual, inherited] |
Check if an extension is available.
RenderWindow* Ogre::AndroidGLSupport::createWindow | ( | bool | autoCreateWindow, |
GLES2RenderSystem * | renderSystem, | ||
const String & | windowTitle | ||
) | [virtual] |
Implements Ogre::GLES2Support.
virtual ConfigOptionMap& Ogre::GLES2Support::getConfigOptions | ( | void | ) | [virtual, inherited] |
virtual unsigned int Ogre::GLES2Support::getDisplayMonitorCount | ( | ) | const [virtual, inherited] |
Gets the number of display monitors.
Definition at line 134 of file OgreGLES2Support.h.
const String& Ogre::GLES2Support::getGLVendor | ( | void | ) | const [inherited] |
Get vendor information.
Definition at line 73 of file OgreGLES2Support.h.
const String& Ogre::GLES2Support::getGLVersion | ( | void | ) | const [inherited] |
Get version information.
Definition at line 81 of file OgreGLES2Support.h.
void* Ogre::AndroidGLSupport::getProcAddress | ( | const Ogre::String & | procname | ) | [virtual] |
Get the address of a function.
Implements Ogre::GLES2Support.
const String& Ogre::GLES2Support::getShaderCachePath | ( | void | ) | const [inherited] |
Get shader cache path.
Definition at line 89 of file OgreGLES2Support.h.
const String& Ogre::GLES2Support::getShaderLibraryPath | ( | void | ) | const [inherited] |
Get shader library path.
Definition at line 97 of file OgreGLES2Support.h.
virtual void Ogre::GLES2Support::initialiseExtensions | ( | ) | [virtual, inherited] |
Initialises GL extensions, must be done AFTER the GL context has been established.
RenderWindow* Ogre::AndroidGLSupport::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::GLES2Support.
void Ogre::AndroidGLSupport::refreshConfig | ( | void | ) |
void Ogre::AndroidGLSupport::setConfigOption | ( | const String & | name, |
const String & | value | ||
) | [virtual] |
Reimplemented from Ogre::GLES2Support.
void Ogre::GLES2Support::setShaderCachePath | ( | String | path | ) | [inherited] |
Set shader cache path.
Definition at line 105 of file OgreGLES2Support.h.
void Ogre::GLES2Support::setShaderLibraryPath | ( | String | path | ) | [inherited] |
Set shader library path.
Definition at line 113 of file OgreGLES2Support.h.
void Ogre::AndroidGLSupport::start | ( | void | ) | [virtual] |
Start anything special.
Implements Ogre::GLES2Support.
void Ogre::AndroidGLSupport::stop | ( | void | ) | [virtual] |
Stop anything special.
Implements Ogre::GLES2Support.
void Ogre::AndroidGLSupport::switchMode | ( | uint & | width, |
uint & | height, | ||
short & | frequency | ||
) |
String Ogre::AndroidGLSupport::validateConfig | ( | void | ) | [virtual] |
Make sure all the extra options are valid.
Implements Ogre::GLES2Support.
set<String>::type Ogre::GLES2Support::extensionList [protected, inherited] |
Definition at line 159 of file OgreGLES2Support.h.
ConfigOptionMap Ogre::GLES2Support::mOptions [protected, inherited] |
Definition at line 156 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 Fri May 25 2012 21:49:26