OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
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.
|
inline |
|
inlinevirtual |
Called when a resource wishes to prepare.
resource | The resource which wishes to prepare |
Implemented in Ogre::v1::MeshManager, and Ogre::Font.
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 |