|
| | TerrainLodManager (Terrain *t, const String &filename="") |
| |
| | TerrainLodManager (Terrain *t, DataStreamPtr &stream) |
| |
| virtual | ~TerrainLodManager () |
| |
| virtual bool | canHandleRequest (const WorkQueue::Request *req, const WorkQueue *srcQ) |
| | Return whether this handler can process a given request.
|
| |
| virtual bool | canHandleResponse (const WorkQueue::Response *res, const WorkQueue *srcQ) |
| | Return whether this handler can process a given response.
|
| |
| void | close () |
| |
| void | fillBufferAtLod (uint lodLevel, const float *data, uint dataSize) |
| | Copy geometry data from buffer to mHeightData/mDeltaData.
|
| |
| int | getHighestLodLoaded () |
| |
| int | getHighestLodPrepared () |
| |
| LodInfo & | getLodInfo (uint lodLevel) |
| |
| int | getTargetLodLevel () |
| |
| virtual WorkQueue::Response * | handleRequest (const WorkQueue::Request *req, const WorkQueue *srcQ) |
| | The handler method every subclass must implement.
|
| |
| virtual void | handleResponse (const WorkQueue::Response *res, const WorkQueue *srcQ) |
| | The handler method every subclass must implement.
|
| |
| bool | isOpen () const |
| |
| void | open (const String &filename) |
| |
| void | readLodData (uint16 lowerLodBound, uint16 higherLodBound) |
| | Read separated geometry data from file into allocated memory.
|
| |
| void | updateToLodLevel (int lodLevel, bool synchronous=false) |
| |
| void | waitForDerivedProcesses () |
| |
Public Member Functions inherited from Ogre::WorkQueue::RequestHandler |
| | RequestHandler () |
| |
| virtual | ~RequestHandler () |
| |
Public Member Functions inherited from Ogre::WorkQueue::ResponseHandler |
| | ResponseHandler () |
| |
| virtual | ~ResponseHandler () |
| |
Terrain LOD data manager.
- This class is used for managing terrain LOD data's loading, unloading.