#include <EmmaIRenderManager.h>
Inheritance diagram for Emma::IRenderManager:

Public Member Functions | |
| virtual IScene * | createRootScene (IInstance *, IWindow *)=0 |
| This creates the root scene given an IInstance and an IWindow in which to render. | |
| virtual Fusion::ResultType | processEvent (IInstance *, const Event &)=0 |
| this is used to pass system events to the render manager | |
| virtual Fusion::ResultType | setProperty (const Fusion::Id &, const Fusion::Value &)=0 |
| this sets a global property on the render manager | |
| virtual Fusion::ResultType | render (IInstance *)=0 |
| this renders one frame by calling ogre | |
| virtual IRenderableGroup * | getRootRenderableGroup ()=0 |
| each scene has a root renderablegroup that corresponds to a scene node all other scene nodes are inserted under this node | |
| virtual IRenderable * | createRenderable (IInstance *, Fusion::IObject *, RenderableType, IRenderable *p=NULL)=0 |
| This creates a renderable object for each Emma object that needs to be rendered in Ogre. | |
| virtual IScene * | createRenderToTexture (IInstance *, Fusion::IObject *, IRenderableGroup *, Fusion::UTF8String &)=0 |
| This creates a new render target which is a render to texture return value is the index of the ogre instance scene surface object note that each render manager can have multiple ogre instance scene surface objects. | |
| virtual void | setResourceGroupActive ()=0 |
| set the current resource group name to the resource group of this render manager | |
| virtual Fusion::UTF8String | getResourceGroupName ()=0 |
| each render manager creates its own resource group name | |
| virtual void | saveScreenshotToFile (Fusion::UTF8String name)=0 |
| saves a screenshot of the current scene to a file | |
| virtual void | lock ()=0 |
| makes sure only one-thread is using the render manager at any given instant | |
| virtual void | unlock ()=0 |
| releases the lock. | |
| virtual void | setLatestResourcePath (const Fusion::UTF8String &)=0 |
| register a string value to remember later | |
| virtual const Fusion::UTF8String & | getLatestResourcePath ()=0 |
| get the latest registered string value | |
| virtual void * | getMeshInfo (Fusion::UTF8String)=0 |
| load the passed mesh file and return the pointer to the mesh structure | |
| virtual RendererType | getRendererType () const =0 |
| Return the RendererType. | |
|
||||||||||||||||||||
|
This creates a renderable object for each Emma object that needs to be rendered in Ogre. This method asks the IObject interface about the properties of the Emma object and creates a corresponding Emma Renderable object. If this object directly correponds to an Ogre mesh, it loads the mesh. Implemented in Emma::RenderManager. |
|
||||||||||||||||||||
|
This creates a new render target which is a render to texture return value is the index of the ogre instance scene surface object note that each render manager can have multiple ogre instance scene surface objects.
Implemented in Emma::RenderManager. |
|
||||||||||||
|
This creates the root scene given an IInstance and an IWindow in which to render. Returns new IScene or NULL on failure. Implemented in Emma::RenderManager. |
|
|
get the latest registered string value
Implemented in Emma::RenderManager. |
|
|
load the passed mesh file and return the pointer to the mesh structure
Implemented in Emma::RenderManager. |
|
|
Return the RendererType.
Implemented in Emma::RenderManager. |
|
|
each render manager creates its own resource group name
Implemented in Emma::RenderManager. |
|
|
each scene has a root renderablegroup that corresponds to a scene node all other scene nodes are inserted under this node
Implemented in Emma::RenderManager. |
|
|
makes sure only one-thread is using the render manager at any given instant
Implemented in Emma::RenderManager. |
|
||||||||||||
|
this is used to pass system events to the render manager
Implemented in Emma::RenderManager. |
|
|
this renders one frame by calling ogre
Implemented in Emma::RenderManager. |
|
|
saves a screenshot of the current scene to a file
Implemented in Emma::RenderManager. |
|
|
register a string value to remember later
Implemented in Emma::RenderManager. |
|
||||||||||||
|
this sets a global property on the render manager
Implemented in Emma::RenderManager. |
|
|
set the current resource group name to the resource group of this render manager
Implemented in Emma::RenderManager. |
|
|
releases the lock. when Implemented in Emma::RenderManager. |
1.4.3