1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 12:23:51 +00:00
openmw-tes3mp/ogre/renderer.hpp

35 lines
644 B
C++
Raw Normal View History

#ifndef _OGRE_RENDERER_H
#define _OGRE_RENDERER_H
/*
Ogre renderer class
*/
#include <Ogre.h>
#include <string>
namespace Render
{
class OgreRenderer
{
Ogre::Root *mRoot;
bool logging;
public:
OgreRenderer()
: mRoot(NULL) {}
/** Configure the renderer. This will load configuration files and
set up the Root and logging classes. */
bool configure(bool showConfig, // Show config dialog box?
const std::string &pluginCfg, // plugin.cfg file
bool _logging); // Enable or disable logging
/// Kill the renderer.
void cleanup();
};
}
#endif