OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Interface definition for a unit of content within a page. More...
#include <OgrePageContent.h>
Public Member Functions | |
PageContent (PageContentFactory *creator) | |
virtual | ~PageContent () |
virtual void | _notifyAttached (PageContentCollection *parent) |
Internal method to notify a page that it is attached. | |
virtual void | frameEnd (Real timeElapsed) |
Called when the frame ends. | |
virtual void | frameStart (Real timeSinceLastFrame) |
Called when the frame starts. | |
PageManager * | getManager () const |
SceneManager * | getSceneManager () const |
virtual const String & | getType () const |
Get the type of the content, which will match it's factory. | |
virtual void | load ()=0 |
Load - will be called in main thread. | |
virtual void | notifyCamera (Camera *cam) |
Notify a section of the current camera. | |
virtual bool | prepare (StreamSerialiser &ser)=0 |
Prepare data - may be called in the background. | |
virtual void | save (StreamSerialiser &stream)=0 |
Save the content to a stream. | |
virtual void | unload ()=0 |
Unload - will be called in main thread. | |
virtual void | unprepare ()=0 |
Unprepare data - may be called in the background. | |
Interface definition for a unit of content within a page.
Ogre::PageContent::PageContent | ( | PageContentFactory * | creator | ) |
|
virtual |
PageManager * Ogre::PageContent::getManager | ( | ) | const |
SceneManager * Ogre::PageContent::getSceneManager | ( | ) | const |
|
virtual |
Internal method to notify a page that it is attached.
Get the type of the content, which will match it's factory.
|
pure virtual |
Save the content to a stream.
Called when the frame starts.
Called when the frame ends.
Notify a section of the current camera.
|
pure virtual |
Prepare data - may be called in the background.
Unprepare data - may be called in the background.