Page strategy which loads new pages based on a regular 2D grid.
More...
#include <OgreGrid2DPageStrategy.h>
|
| | Grid2DPageStrategy (PageManager *manager) |
| | ~Grid2DPageStrategy () |
| PageStrategyData * | createData () |
| | Create a PageStrategyData instance containing the data specific to this PageStrategy.
|
| void | destroyData (PageStrategyData *d) |
| | Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
|
| virtual void | frameEnd (Real timeElapsed, PagedWorldSection *section) |
| | Called when the frame ends.
|
| virtual void | frameStart (Real timeSinceLastFrame, PagedWorldSection *section) |
| | Called when the frame starts.
|
| PageManager * | getManager () const |
| const String & | getName () const |
| PageID | getPageID (const Vector3 &worldPos, PagedWorldSection *section) |
| | Get the page ID for a given world position.
|
| void | notifyCamera (Camera *cam, PagedWorldSection *section) |
| | Called when a camera is used for any kind of rendering.
|
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| | operator new, with debug line info
|
| void * | operator new (size_t sz, void *ptr) |
| | placement operator new
|
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| | array operator new, with debug line info
|
| void | updateDebugDisplay (Page *p, SceneNode *sn) |
| | Update the contents of the passed in SceneNode to reflect the debug display of a given page.
|
Page strategy which loads new pages based on a regular 2D grid.
Definition at line 231 of file OgreGrid2DPageStrategy.h.
◆ Grid2DPageStrategy()
| Ogre::Grid2DPageStrategy::Grid2DPageStrategy |
( |
PageManager * | manager | ) |
|
◆ ~Grid2DPageStrategy()
| Ogre::Grid2DPageStrategy::~Grid2DPageStrategy |
( |
| ) |
|
◆ createData()
◆ destroyData()
◆ getPageID()
Get the page ID for a given world position.
- Returns
- The page ID
Implements Ogre::PageStrategy.
◆ notifyCamera()
Called when a camera is used for any kind of rendering.
- Parameters
-
| cam | Camera which is being used for rendering. Class should not rely on this pointer remaining valid permanently because no notification will be given when the camera is destroyed. |
Reimplemented from Ogre::PageStrategy.
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ updateDebugDisplay()
| void Ogre::Grid2DPageStrategy::updateDebugDisplay |
( |
Page * | p, |
|
|
SceneNode * | sn ) |
|
virtual |
The documentation for this class was generated from the following file: