![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
This class allows users to override resource loading behavior. More...
#include <OgreResourceGroupManager.h>
Public Member Functions | |
virtual | ~ResourceLoadingListener () |
virtual bool | resourceCollision (Resource *resource, ResourceManager *resourceManager) |
This event is called when a resource collides with another existing one in a resource manager. | |
virtual DataStreamPtr | resourceLoading (const String &name, const String &group, Resource *resource) |
This event is called when a resource beings loading. | |
virtual void | resourceStreamOpened (const String &name, const String &group, Resource *resource, DataStreamPtr &dataStream) |
This event is called when a resource stream has been opened, but not processed yet. | |
This class allows users to override resource loading behavior.
By overriding this class' methods, you can change how resources are loaded and the behavior for resource name collisions.
|
inlinevirtual |
|
inlinevirtual |
This event is called when a resource beings loading.
|
inlinevirtual |
This event is called when a resource stream has been opened, but not processed yet.
You may alter the stream if you wish or alter the incoming pointer to point at another stream if you wish.
|
inlinevirtual |
This event is called when a resource collides with another existing one in a resource manager.
resource | the new resource that conflicts with an existing one |
resourceManager | the according resource manager |