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. More...
|
|
void | destroyData (PageStrategyData *d) |
| Destroy a PageStrategyData instance containing the data specific to this PageStrategy. More...
|
|
virtual void | frameEnd (Real timeElapsed, PagedWorldSection *section) |
| Called when the frame ends. More...
|
|
virtual void | frameStart (Real timeSinceLastFrame, PagedWorldSection *section) |
| Called when the frame starts. More...
|
|
PageManager * | getManager () const |
|
const String & | getName () const |
|
PageID | getPageID (const Vector3 &worldPos, PagedWorldSection *section) |
| Get the page ID for a given world position. More...
|
|
void | notifyCamera (Camera *cam, PagedWorldSection *section) |
| Called when a camera is used for any kind of rendering. More...
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void * | operator new[] (size_t sz) |
|
void | updateDebugDisplay (Page *p, SceneNode *sn) |
| Update the contents of the passed in SceneNode to reflect the debug display of a given page. More...
|
|
Page strategy which loads new pages based on a regular 2D grid.
Definition at line 231 of file OgreGrid2DPageStrategy.h.
Ogre::Grid2DPageStrategy::Grid2DPageStrategy |
( |
PageManager * |
manager | ) |
|
Ogre::Grid2DPageStrategy::~Grid2DPageStrategy |
( |
| ) |
|
const String& Ogre::PageStrategy::getName |
( |
void |
| ) |
const |
|
inlineinherited |
Get the page ID for a given world position.
- Returns
- The page ID
Implements Ogre::PageStrategy.
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.
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
void Ogre::Grid2DPageStrategy::updateDebugDisplay |
( |
Page * |
p, |
|
|
SceneNode * |
sn |
|
) |
| |
|
virtual |
String Ogre::PageStrategy::mName |
|
protectedinherited |
The documentation for this class was generated from the following file: