Public Member Functions | Public Attributes | Protected Attributes
RenderEngine Class Reference

Adaptor to Ogre3d. More...

#include <RenderEngine.hh>

Inheritance diagram for RenderEngine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Load ()
 Load the parameters for Ogre.
void Init ()
 Initialize ogre.
void Fini ()
 Finalize.
void Save (std::string &prefix, std::ostream &stream)
 Save Ogre settings.
double GetUpdateRate ()
 Get the desired update rate.
ScenePtr CreateScene (const std::string &name, bool _enableVisualizations)
 Create a scene.
void RemoveScene (const std::string &name)
 Remove a scene.
ScenePtr GetScene (const std::string &_name)
 Get a scene.
ScenePtr GetScene (unsigned int index)
 Get a scene manager.
unsigned int GetSceneCount () const
 Get the number of scene managers.
bool HasGLSL ()
 Returns true if the graphics card support GLSL.
void AddResourcePath (const std::string &_path)

Public Attributes

Ogre::Root * root
 Pointer to the root scene node.

Protected Attributes

unsigned long dummyWindowId
 ID for a dummy window. Used for gui-less operation.
void * dummyDisplay
 Pointer to the dummy display.Used for gui-less operation.
void * dummyContext
 GLX context used to render the scenes.Used for gui-less operation.

Detailed Description

Adaptor to Ogre3d.


The documentation for this class was generated from the following file: