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