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. More... | |
virtual void | prepareResource (Resource *resource) |
Called when a resource wishes to load. More... | |
Interface describing a manual resource loader.
Definition at line 514 of file OgreResource.h.
|
inline |
Definition at line 517 of file OgreResource.h.
|
inlinevirtual |
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::MeshManager, and Ogre::Font.
|
inlinevirtual |
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.