40 #ifndef _graphicsoglrendersyshelper_cpp
41 #define _graphicsoglrendersyshelper_cpp
43 #include "Graphics/oglrendersyshelper.h.cpp"
49 #include "OgreGLPlugin.h"
54 Ogre::GLPlugin* RSPlugin;
63 if( RSPlugin == NULL ) {
64 RSPlugin =
new Ogre::GLPlugin();
65 Ogre::Root::getSingletonPtr()->installPlugin( RSPlugin );
78 {
return Graphics::RS_OpenGL2; }
81 {
return "OpenGL Rendering Subsystem"; }
String GetShortenedGLRenderSystemName()
Gets the short name of the GL render system.
void CreateGLRenderSystem()
Creates the rendersystem and populates internal structures appropriately for use. ...
RenderSystem
Used primarily by the graphics manager class during initialization.
#define MEZZ_EXCEPTION(num, desc)
An easy way to throw exceptions with rich information.
String GetGLRenderSystemName()
Gets the long name of the GL render system.
This implements the exception hiearchy for Mezzanine.
Graphics::RenderSystem GetGLRenderSystemType()
Gets the Mezzanine type for the internal GL render system.
Thrown when the available information should have worked but failed for unknown reasons.
void DestroyGLRenderSystem()
Shutsdown the rendersystem and removes it from internal structures.
The bulk of the engine components go in this namspace.
std::string String
A datatype used to a series of characters.