#include <OgreResourceGroupManager.h>
|
virtual | ~ResourceLoadingListener () |
|
virtual bool | grouplessResourceExists (const String &name)=0 |
| Gets called when a groupless manager (like TextureGpuManager) wants to check if there's a resource with that name provided by this listener. More...
|
|
virtual DataStreamPtr | grouplessResourceLoading (const String &name)=0 |
| Gets called when a groupless manager (like TextureGpuManager) loads a resource. More...
|
|
virtual DataStreamPtr | grouplessResourceOpened (const String &name, Archive *archive, DataStreamPtr &dataStream)=0 |
| Similar to resourceStreamOpened, gets called when a groupless manager has already opened a resource and you may want to modify the stream. More...
|
|
virtual bool | resourceCollision (Resource *resource, ResourceManager *resourceManager)=0 |
| This event is called when a resource collides with another existing one in a resource manager. More...
|
|
virtual DataStreamPtr | resourceLoading (const String &name, const String &group, Resource *resource)=0 |
| This event is called when a resource beings loading. More...
|
|
virtual void | resourceStreamOpened (const String &name, const String &group, Resource *resource, DataStreamPtr &dataStream)=0 |
| This event is called when a resource stream has been opened, but not processed yet. More...
|
|
◆ ~ResourceLoadingListener()
virtual Ogre::ResourceLoadingListener::~ResourceLoadingListener |
( |
| ) |
|
|
virtual |
◆ grouplessResourceExists()
virtual bool Ogre::ResourceLoadingListener::grouplessResourceExists |
( |
const String & |
name | ) |
|
|
pure virtual |
Gets called when a groupless manager (like TextureGpuManager) wants to check if there's a resource with that name provided by this listener.
This function is called from main thread.
◆ grouplessResourceLoading()
virtual DataStreamPtr Ogre::ResourceLoadingListener::grouplessResourceLoading |
( |
const String & |
name | ) |
|
|
pure virtual |
Gets called when a groupless manager (like TextureGpuManager) loads a resource.
WARNING: This function is likely going to be called from a worker thread.
◆ grouplessResourceOpened()
Similar to resourceStreamOpened, gets called when a groupless manager has already opened a resource and you may want to modify the stream.
If grouplessResourceLoading has been called, then this function won't. WARNING: This function is likely going to be called from a worker thread.
◆ resourceCollision()
virtual bool Ogre::ResourceLoadingListener::resourceCollision |
( |
Resource * |
resource, |
|
|
ResourceManager * |
resourceManager |
|
) |
| |
|
pure virtual |
This event is called when a resource collides with another existing one in a resource manager.
◆ resourceLoading()
This event is called when a resource beings loading.
◆ resourceStreamOpened()
This event is called when a resource stream has been opened, but not processed yet.
The documentation for this class was generated from the following file: