OgreAdaptor Class Reference
[Rendering]
#include <OgreAdaptor.hh>
Inheritance diagram for OgreAdaptor:
Detailed Description
Adptor to Ogre3d.
Public Member Functions | |
void | Close () |
Closes the present simulation, frees the resources. | |
void | Init (XMLConfigNode *rootNode) |
Default initialization. | |
void | Save (XMLConfigNode *node) |
Save Ogre settings. | |
void | Init (Display *display, XVisualInfo *visual, Window windowId, int width, int height) |
Initialize Ogre Rendering engine. | |
int | Render () |
Render a single frame. | |
void | ResizeWindow (unsigned int w, unsigned int h) |
Resize the rendering window. | |
Public Attributes | |
Ogre::Root * | root |
Pointer to the root scene node. | |
Ogre::SceneManager * | sceneMgr |
Pointer to the scene manager. | |
Ogre::RenderSystem * | renderSys |
Pointer to the rendering system. | |
Ogre::RenderWindow * | window |
Pointer to the render window. | |
Ogre::Camera * | camera |
Pointer to the camera. | |
Ogre::Viewport * | viewport |
Pointer to the viewport. | |
Ogre::InputReader * | inputDevice |
Pointer to the input reader. | |
Ogre::ColourValue * | backgroundColor |
Member Function Documentation
void Init | ( | XMLConfigNode * | rootNode | ) |
Default initialization.
Let OGRE create the window and rendering context
The documentation for this class was generated from the following file: