Go to the documentation of this file.
29 #ifndef __Ogre_PageContentCollection_H__
30 #define __Ogre_PageContentCollection_H__
virtual ~PageContentCollection()
virtual void frameEnd(Real timeElapsed)=0
Called when the frame ends.
PageContentCollection(PageContentCollectionFactory *creator)
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
virtual void unprepare()=0
Unprepare data - may be called in the background.
A viewpoint from which the scene will be rendered.
static const uint16 CHUNK_VERSION
virtual void notifyCamera(Camera *cam)=0
Notify a section of the current camera.
virtual const String & getType() const
Get the type of the collection, which will match it's factory.
PageManager * getManager() const
The PageManager is the entry point through which you load all PagedWorld instances,...
SceneManager * getSceneManager() const
virtual void frameStart(Real timeSinceLastFrame)=0
Called when the frame starts.
PageContentCollectionFactory * mCreator
Manages the organisation and rendering of a 'scene' i.e.
Definition of the interface for a collection of PageContent instances.
Page * getParentPage() const
virtual void _notifyAttached(Page *parent)
Internal method to notify a collection that it is attached.
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
Utility class providing helper methods for reading / writing structured data held in a DataStream.
virtual void unload()=0
Unload - will be called in main thread.
virtual void load()=0
Load - will be called in main thread.
virtual void save(StreamSerialiser &stream)=0
Save the collection to a stream.
float Real
Software floating point type.
static const uint32 CHUNK_ID
Define the interface to a factory class that will create subclasses of PageContentCollection.
#define _OgrePagingExport
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.