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