#include <OgreStringResource.h>
Inheritance diagram for Ogre::StringResource:
Public Methods | |
StringResource (const String &name) | |
virtual void | load () |
Loads the resource, if it is not already. More... | |
virtual void | unload () |
Unloads the resource, but retains data to recreate. More... | |
virtual size_t | getSize (void) |
Retrieves info about the size of the resource. More... | |
void | touch (void) |
'Touches' the resource to indicate it has been used. More... | |
time_t | getLastAccess (void) const |
Gets the last time the resource was 'touched'. More... | |
const String & | getName (void) const |
Gets resource name. More... | |
bool | isLoaded (void) const |
Returns true if the Resource has been loaded, false otherwise. More... | |
virtual void | destroy () |
A method to make the resource delete itself. More... | |
Protected Attributes | |
String | mName |
bool | mIsLoaded |
time_t | mLastAccess |
size_t | mSize |
|
|
|
A method to make the resource delete itself.
|
|
Gets the last time the resource was 'touched'.
|
|
Gets resource name.
Reimplemented in Ogre::Material. |
|
Retrieves info about the size of the resource.
|
|
Returns true if the Resource has been loaded, false otherwise.
|
|
Loads the resource, if it is not already.
Implements Ogre::Resource. |
|
'Touches' the resource to indicate it has been used.
|
|
Unloads the resource, but retains data to recreate.
Reimplemented in Ogre::ArchiveEx. |
|
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team