#include <resources.h>
Public Member Functions | |
wxOgreResources () | |
void | InitialiseAllResources () |
Initialise all resource groups which are yet to be initialised. | |
void | AddResource (const Ogre::String &path, const Ogre::String &type="FileSystem", const Ogre::String &group=DEFAULT_GROUP) |
Add a resource location to for a given resource group. | |
bool | LoadResourceFile (const Ogre::String &file) |
Load a resource config file like the one used by Ogre's demos. | |
Ogre::StringVectorPtr | GetResourcesList (const Ogre::String &group, const Ogre::String &pattern) |
Find all file names matching a given pattern in a group. | |
Ogre::StringVectorPtr | GetResourcesList (const Ogre::String &group) |
List all file names in a group. | |
Ogre::StringVector | GetResourcesGroups () |
Get a list of the currently defined resource groups. | |
Private Attributes | |
Ogre::ResourceGroupManager * | m_rmgr |
Definition at line 31 of file resources.h.
wxOgreResources::wxOgreResources | ( | ) |
void wxOgreResources::AddResource | ( | const Ogre::String & | path, | |
const Ogre::String & | type = "FileSystem" , |
|||
const Ogre::String & | group = DEFAULT_GROUP | |||
) |
Add a resource location to for a given resource group.
Ogre::StringVector wxOgreResources::GetResourcesGroups | ( | ) |
Get a list of the currently defined resource groups.
Ogre::StringVectorPtr wxOgreResources::GetResourcesList | ( | const Ogre::String & | group | ) |
List all file names in a group.
Ogre::StringVectorPtr wxOgreResources::GetResourcesList | ( | const Ogre::String & | group, | |
const Ogre::String & | pattern | |||
) |
Find all file names matching a given pattern in a group.
void wxOgreResources::InitialiseAllResources | ( | ) |
Initialise all resource groups which are yet to be initialised.
bool wxOgreResources::LoadResourceFile | ( | const Ogre::String & | file | ) |
Load a resource config file like the one used by Ogre's demos.
file | the comple path to the resource file. |
Ogre::ResourceGroupManager* wxOgreResources::m_rmgr [private] |
Definition at line 66 of file resources.h.