OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
#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 |
Gets the number of display monitors. | |
const String & | getGLVendor (void) const |
Get vendor information. | |
const DriverVersion & | getGLVersion (void) const |
Get version information. | |
virtual void * | getProcAddress (const char *procname) const =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. | |
bool | hasMinGLVersion (int major, int minor) const |
Check if GL Version is supported. | |
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 |
Creates a new rendering window. | |
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. | |
|
inline |
|
inlinevirtual |
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, and Ogre::NaClGLSupport.
Check if an extension is available.
|
pure virtual |
Implemented in Ogre::EGLSupport, and Ogre::NaClGLSupport.
|
virtual |
Gets the number of display monitors.
|
inline |
Get version information.
Get the address of a function.
Implemented in Ogre::EGLSupport, and Ogre::NaClGLSupport.
Get shader library path.
Check if GL Version is supported.
Initialises GL extensions, must be done AFTER the GL context has been established.
|
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::AndroidEGLSupport, Ogre::EmscriptenEGLSupport, Ogre::Win32EGLSupport, Ogre::X11EGLSupport, and Ogre::NaClGLSupport.
|
virtual |
Reimplemented in Ogre::EGLSupport, and Ogre::NaClGLSupport.
Start anything special.
Implemented in Ogre::EGLSupport, and Ogre::NaClGLSupport.
Stop anything special.
Implemented in Ogre::EGLSupport, and Ogre::NaClGLSupport.
Make sure all the extra options are valid.
Implemented in Ogre::EGLSupport, and Ogre::NaClGLSupport.