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>
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.
- Note
- All of the methods in this class can be called in a background, non-render thread.
◆ PageProvider()
Ogre::PageProvider::PageProvider |
( |
| ) |
|
|
inline |
◆ ~PageProvider()
virtual Ogre::PageProvider::~PageProvider |
( |
| ) |
|
|
inlinevirtual |
◆ loadProceduralPage()
Give a provider the opportunity to load page content procedurally.
- Returns
- true if the page was populated, false otherwise
◆ prepareProceduralPage()
Give a provider the opportunity to prepare page content procedurally.
- Returns
- true if the page was populated, false otherwise
◆ readPageStream()
Get a serialiser set up to read Page data for the given PageID, or null if this provider cannot supply one.
- Parameters
-
pageID | The ID of the page being requested |
section | The parent section to which this page will belong |
◆ readWorldStream()
Get a serialiser set up to read PagedWorld data for the given world filename.
◆ unloadProceduralPage()
Give a provider the opportunity to unload page content procedurally.
- Returns
- true if the page was populated, false otherwise
◆ unprepareProceduralPage()
Give a provider the opportunity to unprepare page content procedurally.
- Returns
- true if the page was unpopulated, false otherwise
◆ writePageStream()
Get a serialiser set up to write Page data for the given PageID, or null if this provider cannot supply one.
- Parameters
-
pageID | The ID of the page being requested |
section | The parent section to which this page will belong |
◆ writeWorldStream()
Get a serialiser set up to write PagedWorld data for the given world filename.
The documentation for this class was generated from the following file: