OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Abstract class that can be implemented by the user application to provide a way to retrieve or generate page data from a source of their choosing. More...
#include <OgrePageManager.h>
Public Member Functions | |
PageProvider () | |
virtual | ~PageProvider () |
virtual bool | loadProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to load page content procedurally. More... | |
virtual bool | prepareProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to prepare page content procedurally. More... | |
virtual StreamSerialiser * | readPageStream (PageID pageID, PagedWorldSection *section) |
Get a serialiser set up to read Page data for the given PageID, or null if this provider cannot supply one. More... | |
virtual StreamSerialiser * | readWorldStream (const String &filename) |
Get a serialiser set up to read PagedWorld data for the given world filename. More... | |
virtual bool | unloadProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to unload page content procedurally. More... | |
virtual bool | unprepareProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to unprepare page content procedurally. More... | |
virtual StreamSerialiser * | writePageStream (PageID pageID, PagedWorldSection *section) |
Get a serialiser set up to write Page data for the given PageID, or null if this provider cannot supply one. More... | |
virtual StreamSerialiser * | writeWorldStream (const String &filename) |
Get a serialiser set up to write PagedWorld data for the given world filename. More... | |
Abstract class that can be implemented by the user application to provide a way to retrieve or generate page data from a source of their choosing.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Give a provider the opportunity to prepare page content procedurally.
|
inlinevirtual |
Give a provider the opportunity to load page content procedurally.
|
inlinevirtual |
Give a provider the opportunity to unload page content procedurally.
|
inlinevirtual |
Give a provider the opportunity to unprepare page content procedurally.
|
inlinevirtual |
Get a serialiser set up to read PagedWorld data for the given world filename.
|
inlinevirtual |
Get a serialiser set up to write PagedWorld data for the given world filename.
|
inlinevirtual |
Get a serialiser set up to read Page data for the given PageID, or null if this provider cannot supply one.
pageID | The ID of the page being requested |
section | The parent section to which this page will belong |
|
inlinevirtual |
Get a serialiser set up to write Page data for the given PageID, or null if this provider cannot supply one.
pageID | The ID of the page being requested |
section | The parent section to which this page will belong |