OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
#include <OgreNaClGLSupport.h>
Public Member Functions | |
NaClGLSupport () | |
virtual | ~NaClGLSupport () |
void | addConfig (void) |
Add any special config values to the system. | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. | |
RenderWindow * | createWindow (bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle) |
virtual ConfigOptionMap & | getConfigOptions (void) |
virtual unsigned int | getDisplayMonitorCount () const |
Gets the number of display monitors. | |
String | getDisplayName (void) |
const String & | getGLVendor (void) const |
Get vendor information. | |
const DriverVersion & | getGLVersion (void) const |
Get version information. | |
void * | getProcAddress (const char *procname) const |
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. | |
RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
Creates a new rendering window. | |
void | refreshConfig (void) |
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 | start (void) |
Start anything special. | |
void | stop (void) |
Stop anything special. | |
void | switchMode (uint &width, uint &height, short &frequency) |
String | validateConfig (void) |
Make sure all the extra options are valid. | |
Ogre::NaClGLSupport::NaClGLSupport | ( | ) |
|
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.
Check if an extension is available.
|
virtual |
Implements Ogre::GLES2Support.
|
virtualinherited |
Gets the number of display monitors.
Get vendor information.
|
inlineinherited |
Get version information.
Get the address of a function.
Implements Ogre::GLES2Support.
Get shader cache path.
Get shader library path.
Check if GL Version is supported.
Initialises GL extensions, must be done AFTER the GL context has been established.
|
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.
Reimplemented from Ogre::GLES2Support.
Set shader library path.
Start anything special.
Implements Ogre::GLES2Support.
Stop anything special.
Implements Ogre::GLES2Support.
Make sure all the extra options are valid.
Implements Ogre::GLES2Support.