|
OGRE
1.9.0
|
Interface describing a manual resource loader. More...
#include <OgreResource.h>

Public Member Functions | |
| ManualResourceLoader () | |
| virtual | ~ManualResourceLoader () |
| virtual void | loadResource (Resource *resource)=0 |
| Called when a resource wishes to prepare. | |
| virtual void | prepareResource (Resource *resource) |
| Called when a resource wishes to load. | |
Interface describing a manual resource loader.
Definition at line 514 of file OgreResource.h.
| Ogre::ManualResourceLoader::ManualResourceLoader | ( | ) |
Definition at line 517 of file OgreResource.h.
Referenced by Ogre::Font::Font(), Ogre::MeshManager::create(), Ogre::MeshManager::createImpl(), Ogre::MeshManager::createManual(), and Ogre::MeshManager::createOrRetrieve().
|
virtual |
Definition at line 518 of file OgreResource.h.
|
pure virtual |
Called when a resource wishes to prepare.
| resource | The resource which wishes to prepare |
Implemented in Ogre::Font, and Ogre::MeshManager.
|
virtual |
Called when a resource wishes to load.
Note that this could get called in a background thread even in just a semithreaded ogre (OGRE_THREAD_SUPPORT==2). Thus, you must not access the rendersystem from this callback. Do that stuff in loadResource.
| resource | The resource which wishes to load |
Definition at line 526 of file OgreResource.h.
1.13.2