#include <OgreResource.h>
Public Member Functions | |
ManualResourceLoader () | |
virtual | ~ManualResourceLoader () |
virtual void | prepareResource (Resource *resource) |
Called when a resource wishes to load. | |
virtual void | loadResource (Resource *resource)=0 |
Called when a resource wishes to prepare. |
Definition at line 489 of file OgreResource.h.
Ogre::ManualResourceLoader::ManualResourceLoader | ( | ) |
Definition at line 492 of file OgreResource.h.
virtual Ogre::ManualResourceLoader::~ManualResourceLoader | ( | ) | [virtual] |
Definition at line 493 of file OgreResource.h.
virtual void Ogre::ManualResourceLoader::prepareResource | ( | Resource * | resource | ) | [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 501 of file OgreResource.h.
virtual void Ogre::ManualResourceLoader::loadResource | ( | Resource * | resource | ) | [pure virtual] |
Called when a resource wishes to prepare.
resource | The resource which wishes to prepare |
Implemented in Ogre::Font, and Ogre::MeshManager.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:05:48 2009