#include <Renderer_Ogre_ResourceProvider.h>
Public Member Functions | |
| OgreResourceProvider () | |
| virtual | ~OgreResourceProvider () |
| void | setResourceGroup (const std::string &groupName) |
| Sets the ResourceGroup that is to be used when loading non-texture assets. | |
| std::string | getResourceGroup () const |
| Returns the ResourceGroup that is currently being used. | |
| virtual void | loadResource (const std::string &filename, Resource &output) |
| Loads a given filename into the given OpenGUI::Resource object. | |
| virtual void | unloadResource (Resource &resource) |
| Unloads the given OpenGUI::Resource object. | |
Protected Attributes | |
| std::string | mResourceGroup |
| OpenGUI::OgreResourceProvider::OgreResourceProvider | ( | ) |
| OpenGUI::OgreResourceProvider::~OgreResourceProvider | ( | ) | [virtual] |
| std::string OpenGUI::OgreResourceProvider::getResourceGroup | ( | ) | const |
Returns the ResourceGroup that is currently being used.
| void OpenGUI::OgreResourceProvider::loadResource | ( | const std::string & | filename, | |
| Resource & | output | |||
| ) | [virtual] |
Loads a given filename into the given OpenGUI::Resource object.
| void OpenGUI::OgreResourceProvider::setResourceGroup | ( | const std::string & | groupName | ) |
Sets the ResourceGroup that is to be used when loading non-texture assets.
Default is Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME
| void OpenGUI::OgreResourceProvider::unloadResource | ( | Resource & | resource | ) | [virtual] |
Unloads the given OpenGUI::Resource object.
std::string OpenGUI::OgreResourceProvider::mResourceGroup [protected] |