1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00
OpenMW/ogre/renderer.hpp
2010-06-03 20:44:55 +02:00

35 lines
644 B
C++

#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