40 #ifndef _graphicsoglesrendersyshelper_cpp
41 #define _graphicsoglesrendersyshelper_cpp
43 #include "Graphics/oglesrendersyshelper.h.cpp"
49 #include "OgreGLESPlugin.h"
54 Ogre::GLESPlugin* RSPlugin;
63 if( RSPlugin == NULL ) {
64 RSPlugin =
new Ogre::GLESPlugin();
65 Ogre::Root::getSingletonPtr()->installPlugin( RSPlugin );
67 MEZZ_EXCEPTION(Exception::INVALID_STATE_EXCEPTION,
"The OpenGLES render system has already been created.")
78 {
return Graphics::RS_OpenGLES1; }
81 {
return "OpenGL ES 1.x Rendering Subsystem"; }
84 {
return "OpenGLES1.x"; }
RenderSystem
Used primarily by the graphics manager class during initialization.
#define MEZZ_EXCEPTION(num, desc)
An easy way to throw exceptions with rich information.
void DestroyGLESRenderSystem()
Shutsdown the rendersystem and removes it from internal structures.
This implements the exception hiearchy for Mezzanine.
void CreateGLESRenderSystem()
Creates the rendersystem and populates internal structures appropriately for use. ...
The bulk of the engine components go in this namspace.
String GetGLESRenderSystemName()
Gets the long name of the GLES render system.
Graphics::RenderSystem GetGLESRenderSystemType()
Gets the Mezzanine type for the internal GLES render system.
String GetShortenedGLESRenderSystemName()
Gets the short name of the GLES render system.
std::string String
A datatype used to a series of characters.