source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1BspResourceManager.html @ 657

Revision 657, 90.8 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::BspResourceManager class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::BspResourceManager Class Reference</h1>Manages the locating and loading of BSP-based indoor levels. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreBspResourceManager_8h-source.html">OgreBspResourceManager.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::BspResourceManager:
16<p><center><img src="classOgre_1_1BspResourceManager.png" usemap="#Ogre::BspResourceManager_map" border="0" alt=""></center>
17<map name="Ogre::BspResourceManager_map">
18<area href="classOgre_1_1ResourceManager.html" alt="Ogre::ResourceManager" shape="rect" coords="0,56,249,80">
19<area href="classOgre_1_1Singleton.html" alt="Ogre::Singleton< BspResourceManager >" shape="rect" coords="259,56,508,80">
20<area href="classOgre_1_1ScriptLoader.html" alt="Ogre::ScriptLoader" shape="rect" coords="0,0,249,24">
21</map>
22<a href="classOgre_1_1BspResourceManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
23<tr><td></td></tr>
24<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
25<tr><td class="memItemLeft" nowrap align=right valign=top>typedef HashMap&lt; <a class="el" href="namespaceOgre.html#a426">String</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a></td></tr>
26
27<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>,<br>
28 <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a></td></tr>
29
30<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt; <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a></td></tr>
31
32<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
33<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagera0">BspResourceManager</a> ()</td></tr>
34
35<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagera1">~BspResourceManager</a> ()</td></tr>
36
37<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagera2">load</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0, const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *loadParams=0)</td></tr>
38
39<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads a BSP-based level from the named file.  <a href="#Ogre_1_1BspResourceManagera2"></a><br><br></td></tr>
40<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera11">create</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0, const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *createParams=0)</td></tr>
41
42<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new blank resource, but does not immediately load it.  <a href="#Ogre_1_1TextureManagera11"></a><br><br></td></tr>
43<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera12">setMemoryBudget</a> (size_t bytes)</td></tr>
44
45<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a limit on the amount of memory this resource handler may use.  <a href="#Ogre_1_1TextureManagera12"></a><br><br></td></tr>
46<tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera13">getMemoryBudget</a> (void) const </td></tr>
47
48<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the limit on the amount of memory this resource handler may use.  <a href="#Ogre_1_1TextureManagera13"></a><br><br></td></tr>
49<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera14">unload</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>
50
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads a single resource by name.  <a href="#Ogre_1_1TextureManagera14"></a><br><br></td></tr>
52<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera15">unload</a> (<a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle)</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads a single resource by handle.  <a href="#Ogre_1_1TextureManagera15"></a><br><br></td></tr>
55<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera16">unloadAll</a> (void)</td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads all resources.  <a href="#Ogre_1_1TextureManagera16"></a><br><br></td></tr>
58<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera17">reloadAll</a> (void)</td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Caused all currently loaded resources to be reloaded.  <a href="#Ogre_1_1TextureManagera17"></a><br><br></td></tr>
61<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera18">remove</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;r)</td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a single resource.  <a href="#Ogre_1_1TextureManagera18"></a><br><br></td></tr>
64<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera19">remove</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a single resource by name.  <a href="#Ogre_1_1TextureManagera19"></a><br><br></td></tr>
67<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera20">remove</a> (<a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle)</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a single resource by handle.  <a href="#Ogre_1_1TextureManagera20"></a><br><br></td></tr>
70<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera21">removeAll</a> (void)</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes all resources.  <a href="#Ogre_1_1TextureManagera21"></a><br><br></td></tr>
73<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera22">getByName</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a pointer to a resource by name, or null if the resource does not exist.  <a href="#Ogre_1_1TextureManagera22"></a><br><br></td></tr>
76<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera23">getByHandle</a> (<a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle)</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a pointer to a resource by handle, or null if the resource does not exist.  <a href="#Ogre_1_1TextureManagera23"></a><br><br></td></tr>
79<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera24">resourceExists</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether the named resource exists in this manager.  <a href="#Ogre_1_1TextureManagera24"></a><br><br></td></tr>
82<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera25">resourceExists</a> (<a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle)</td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether a resource with the given handle exists in this manager.  <a href="#Ogre_1_1TextureManagera25"></a><br><br></td></tr>
85<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera26">_notifyResourceTouched</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that a resource which it manages has been 'touched', ie used.  <a href="#Ogre_1_1TextureManagera26"></a><br><br></td></tr>
88<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera27">_notifyResourceLoaded</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that a resource which it manages has been loaded.  <a href="#Ogre_1_1TextureManagera27"></a><br><br></td></tr>
91<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera28">_notifyResourceUnloaded</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this manager that a resource which it manages has been unloaded.  <a href="#Ogre_1_1TextureManagera28"></a><br><br></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="namespaceOgre.html#a535">StringVector</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera30">getScriptPatterns</a> (void) const </td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the file patterns which should be used to find scripts for this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>.  <a href="#Ogre_1_1TextureManagera30"></a><br><br></td></tr>
97<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera31">parseScript</a> (<a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &amp;stream, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse the definition of a set of resources from a script file.  <a href="#Ogre_1_1TextureManagera31"></a><br><br></td></tr>
100<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera32">getLoadingOrder</a> (void) const </td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the relative loading order of resources of this type.  <a href="#Ogre_1_1TextureManagera32"></a><br><br></td></tr>
103<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera33">getResourceType</a> (void) const </td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a string identifying the type of resource this manager handles.  <a href="#Ogre_1_1TextureManagera33"></a><br><br></td></tr>
106<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera34">getResourceIterator</a> (void)</td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns an iterator over all resources in this manager.  <a href="#Ogre_1_1TextureManagera34"></a><br><br></td></tr>
109<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
110<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagere0">getSingleton</a> (void)</td></tr>
111
112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.  <a href="#Ogre_1_1BspResourceManagere0"></a><br><br></td></tr>
113<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagere1">getSingletonPtr</a> (void)</td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.  <a href="#Ogre_1_1BspResourceManagere1"></a><br><br></td></tr>
116<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
117<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagerb0">createImpl</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group, bool isManual, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader, const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *createParams)</td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Remarks:</b></dt><dd>Subclasses must override this method and create a subclass of <a class="el" href="classOgre_1_1Resource.html">Resource</a>. </dd></dl>
120<dl compact><dt><b>Parameters:</b></dt><dd>
121  <table border="0" cellspacing="2" cellpadding="0">
122    <tr><td valign=top><em>name</em>&nbsp;</td><td>The unique name of the resource </td></tr>
123    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group to attach this new resource to </td></tr>
124    <tr><td valign=top><em>isManual</em>&nbsp;</td><td>Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. </td></tr>
125    <tr><td valign=top><em>loader</em>&nbsp;</td><td>Pointer to a ManualLoader implementation which will be called when the <a class="el" href="classOgre_1_1Resource.html">Resource</a> wishes to load (should be supplied if you set isManual to true). You can in fact leave this parameter null if you wish, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualLoader instance is strongly recommended. </td></tr>
126    <tr><td valign=top><em>createParams</em>&nbsp;</td><td>If any parameters are required to create an instance, they should be supplied here as name / value pairs. These do not need to be set on the instance (handled elsewhere), just used if required to differentiate which concrete class is created.</td></tr>
127  </table>
128</dl>
129.  <a href="#Ogre_1_1BspResourceManagerb0"></a><br><br></td></tr>
130<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb0">getNextHandle</a> (void)</td></tr>
131
132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates the next handle.  <a href="#Ogre_1_1TextureManagerb0"></a><br><br></td></tr>
133<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb2">addImpl</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;res)</td></tr>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a newly created resource to the manager (note weak reference).  <a href="#Ogre_1_1TextureManagerb2"></a><br><br></td></tr>
136<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb3">removeImpl</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;res)</td></tr>
137
138<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a resource from this manager; remove it from the lists.  <a href="#Ogre_1_1TextureManagerb3"></a><br><br></td></tr>
139<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb4">checkUsage</a> (void)</td></tr>
140
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks memory usage and pages out if required.  <a href="#Ogre_1_1TextureManagerb4"></a><br><br></td></tr>
142<tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb5">getMemoryUsage</a> (void) const </td></tr>
143
144<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the current memory usage, in bytes.  <a href="#Ogre_1_1TextureManagerb5"></a><br><br></td></tr>
145<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
146<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Quake3ShaderManager.html">Quake3ShaderManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagerp0">mShaderMgr</a></td></tr>
147
148<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp2">mResourcesByHandle</a></td></tr>
149
150<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp3">mResources</a></td></tr>
151
152<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp4">mNextHandle</a></td></tr>
153
154<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp5">mMemoryBudget</a></td></tr>
155
156<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp6">mMemoryUsage</a></td></tr>
157
158<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a535">StringVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp7">mScriptPatterns</a></td></tr>
159
160<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Patterns to use to look for scripts if supported (e.g. *.overlay).  <a href="#Ogre_1_1TextureManagerp7"></a><br><br></td></tr>
161<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp8">mLoadOrder</a></td></tr>
162
163<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loading order relative to other managers, higher is later.  <a href="#Ogre_1_1TextureManagerp8"></a><br><br></td></tr>
164<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp9">mResourceType</a></td></tr>
165
166<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">String identifying the resource type this manager handles.  <a href="#Ogre_1_1TextureManagerp9"></a><br><br></td></tr>
167<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
168<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a></td></tr>
169
170</table>
171<hr><a name="_details"></a><h2>Detailed Description</h2>
172Manages the locating and loading of BSP-based indoor levels.
173<p>
174Like other <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> specialisations it manages the location and loading of a specific type of resource, in this case files containing Binary Space Partition (BSP) based level files e.g. Quake3 levels. However, note that unlike other <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> implementations, only 1 <a class="el" href="classOgre_1_1BspLevel.html">BspLevel</a> resource is allowed to be loaded at one time. Loading another automatically unloads the currently loaded level if any.
175<p>
176
177<p>
178Definition at line <a class="el" href="OgreBspResourceManager_8h-source.html#l00042">42</a> of file <a class="el" href="OgreBspResourceManager_8h-source.html">OgreBspResourceManager.h</a>.<hr><h2>Member Typedef Documentation</h2>
179<a class="anchor" name="Ogre_1_1TextureManagerw1" doxytag="Ogre::BspResourceManager::ResourceHandleMap" ></a><p>
180<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
181  <tr>
182    <td class="mdRow">
183      <table cellpadding="0" cellspacing="0" border="0">
184        <tr>
185          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>&gt; <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">Ogre::ResourceManager::ResourceHandleMap</a><code> [inherited]</code>
186      </table>
187    </td>
188  </tr>
189</table>
190<table cellspacing=5 cellpadding=0 border=0>
191  <tr>
192    <td>
193      &nbsp;
194    </td>
195    <td>
196
197<p>
198
199<p>
200Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00343">343</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
201  </tr>
202</table>
203<a class="anchor" name="Ogre_1_1TextureManagerw0" doxytag="Ogre::BspResourceManager::ResourceMap" ></a><p>
204<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
205  <tr>
206    <td class="mdRow">
207      <table cellpadding="0" cellspacing="0" border="0">
208        <tr>
209          <td class="md" nowrap valign="top"> typedef HashMap&lt; <a class="el" href="namespaceOgre.html#a426">String</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &gt; <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">Ogre::ResourceManager::ResourceMap</a><code> [inherited]</code>
210      </table>
211    </td>
212  </tr>
213</table>
214<table cellspacing=5 cellpadding=0 border=0>
215  <tr>
216    <td>
217      &nbsp;
218    </td>
219    <td>
220
221<p>
222
223<p>
224Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00342">342</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
225  </tr>
226</table>
227<a class="anchor" name="Ogre_1_1TextureManagerw2" doxytag="Ogre::BspResourceManager::ResourceMapIterator" ></a><p>
228<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
229  <tr>
230    <td class="mdRow">
231      <table cellpadding="0" cellspacing="0" border="0">
232        <tr>
233          <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt;<a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a>&gt; <a class="el" href="classOgre_1_1MapIterator.html">Ogre::ResourceManager::ResourceMapIterator</a><code> [inherited]</code>
234      </table>
235    </td>
236  </tr>
237</table>
238<table cellspacing=5 cellpadding=0 border=0>
239  <tr>
240    <td>
241      &nbsp;
242    </td>
243    <td>
244
245<p>
246
247<p>
248Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00361">361</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
249<p>
250Referenced by <a class="el" href="OgreResourceManager_8h-source.html#l00366">Ogre::ResourceManager::getResourceIterator()</a>.    </td>
251  </tr>
252</table>
253<hr><h2>Constructor &amp; Destructor Documentation</h2>
254<a class="anchor" name="Ogre_1_1BspResourceManagera0" doxytag="Ogre::BspResourceManager::BspResourceManager" ></a><p>
255<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
256  <tr>
257    <td class="mdRow">
258      <table cellpadding="0" cellspacing="0" border="0">
259        <tr>
260          <td class="md" nowrap valign="top"> Ogre::BspResourceManager::BspResourceManager </td>
261          <td class="md" valign="top">(&nbsp;</td>
262          <td class="mdname1" valign="top" nowrap>          </td>
263          <td class="md" valign="top">&nbsp;)&nbsp;</td>
264          <td class="md" nowrap></td>
265        </tr>
266
267      </table>
268    </td>
269  </tr>
270</table>
271<table cellspacing=5 cellpadding=0 border=0>
272  <tr>
273    <td>
274      &nbsp;
275    </td>
276    <td>
277
278<p>
279    </td>
280  </tr>
281</table>
282<a class="anchor" name="Ogre_1_1BspResourceManagera1" doxytag="Ogre::BspResourceManager::~BspResourceManager" ></a><p>
283<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
284  <tr>
285    <td class="mdRow">
286      <table cellpadding="0" cellspacing="0" border="0">
287        <tr>
288          <td class="md" nowrap valign="top"> Ogre::BspResourceManager::~<a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a> </td>
289          <td class="md" valign="top">(&nbsp;</td>
290          <td class="mdname1" valign="top" nowrap>          </td>
291          <td class="md" valign="top">&nbsp;)&nbsp;</td>
292          <td class="md" nowrap></td>
293        </tr>
294
295      </table>
296    </td>
297  </tr>
298</table>
299<table cellspacing=5 cellpadding=0 border=0>
300  <tr>
301    <td>
302      &nbsp;
303    </td>
304    <td>
305
306<p>
307    </td>
308  </tr>
309</table>
310<hr><h2>Member Function Documentation</h2>
311<a class="anchor" name="Ogre_1_1TextureManagera27" doxytag="Ogre::BspResourceManager::_notifyResourceLoaded" ></a><p>
312<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
313  <tr>
314    <td class="mdRow">
315      <table cellpadding="0" cellspacing="0" border="0">
316        <tr>
317          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceLoaded </td>
318          <td class="md" valign="top">(&nbsp;</td>
319          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
320          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
321          <td class="md" valign="top">&nbsp;)&nbsp;</td>
322          <td class="md" nowrap><code> [virtual, inherited]</code></td>
323        </tr>
324
325      </table>
326    </td>
327  </tr>
328</table>
329<table cellspacing=5 cellpadding=0 border=0>
330  <tr>
331    <td>
332      &nbsp;
333    </td>
334    <td>
335
336<p>
337Notify this manager that a resource which it manages has been loaded.
338<p>
339    </td>
340  </tr>
341</table>
342<a class="anchor" name="Ogre_1_1TextureManagera26" doxytag="Ogre::BspResourceManager::_notifyResourceTouched" ></a><p>
343<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
344  <tr>
345    <td class="mdRow">
346      <table cellpadding="0" cellspacing="0" border="0">
347        <tr>
348          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceTouched </td>
349          <td class="md" valign="top">(&nbsp;</td>
350          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
351          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
352          <td class="md" valign="top">&nbsp;)&nbsp;</td>
353          <td class="md" nowrap><code> [virtual, inherited]</code></td>
354        </tr>
355
356      </table>
357    </td>
358  </tr>
359</table>
360<table cellspacing=5 cellpadding=0 border=0>
361  <tr>
362    <td>
363      &nbsp;
364    </td>
365    <td>
366
367<p>
368Notify this manager that a resource which it manages has been 'touched', ie used.
369<p>
370    </td>
371  </tr>
372</table>
373<a class="anchor" name="Ogre_1_1TextureManagera28" doxytag="Ogre::BspResourceManager::_notifyResourceUnloaded" ></a><p>
374<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
375  <tr>
376    <td class="mdRow">
377      <table cellpadding="0" cellspacing="0" border="0">
378        <tr>
379          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceUnloaded </td>
380          <td class="md" valign="top">(&nbsp;</td>
381          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
382          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
383          <td class="md" valign="top">&nbsp;)&nbsp;</td>
384          <td class="md" nowrap><code> [virtual, inherited]</code></td>
385        </tr>
386
387      </table>
388    </td>
389  </tr>
390</table>
391<table cellspacing=5 cellpadding=0 border=0>
392  <tr>
393    <td>
394      &nbsp;
395    </td>
396    <td>
397
398<p>
399Notify this manager that a resource which it manages has been unloaded.
400<p>
401    </td>
402  </tr>
403</table>
404<a class="anchor" name="Ogre_1_1TextureManagerb2" doxytag="Ogre::BspResourceManager::addImpl" ></a><p>
405<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
406  <tr>
407    <td class="mdRow">
408      <table cellpadding="0" cellspacing="0" border="0">
409        <tr>
410          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::addImpl </td>
411          <td class="md" valign="top">(&nbsp;</td>
412          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
413          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
414          <td class="md" valign="top">&nbsp;)&nbsp;</td>
415          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
416        </tr>
417
418      </table>
419    </td>
420  </tr>
421</table>
422<table cellspacing=5 cellpadding=0 border=0>
423  <tr>
424    <td>
425      &nbsp;
426    </td>
427    <td>
428
429<p>
430Add a newly created resource to the manager (note weak reference).
431<p>
432    </td>
433  </tr>
434</table>
435<a class="anchor" name="Ogre_1_1TextureManagerb4" doxytag="Ogre::BspResourceManager::checkUsage" ></a><p>
436<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
437  <tr>
438    <td class="mdRow">
439      <table cellpadding="0" cellspacing="0" border="0">
440        <tr>
441          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::checkUsage </td>
442          <td class="md" valign="top">(&nbsp;</td>
443          <td class="md" nowrap valign="top">void&nbsp;</td>
444          <td class="mdname1" valign="top" nowrap>          </td>
445          <td class="md" valign="top">&nbsp;)&nbsp;</td>
446          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
447        </tr>
448
449      </table>
450    </td>
451  </tr>
452</table>
453<table cellspacing=5 cellpadding=0 border=0>
454  <tr>
455    <td>
456      &nbsp;
457    </td>
458    <td>
459
460<p>
461Checks memory usage and pages out if required.
462<p>
463    </td>
464  </tr>
465</table>
466<a class="anchor" name="Ogre_1_1TextureManagera11" doxytag="Ogre::BspResourceManager::create" ></a><p>
467<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
468  <tr>
469    <td class="mdRow">
470      <table cellpadding="0" cellspacing="0" border="0">
471        <tr>
472          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::create </td>
473          <td class="md" valign="top">(&nbsp;</td>
474          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
475          <td class="mdname" nowrap> <em>name</em>, </td>
476        </tr>
477        <tr>
478          <td class="md" nowrap align="right"></td>
479          <td></td>
480          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
481          <td class="mdname" nowrap> <em>group</em>, </td>
482        </tr>
483        <tr>
484          <td class="md" nowrap align="right"></td>
485          <td></td>
486          <td class="md" nowrap>bool&nbsp;</td>
487          <td class="mdname" nowrap> <em>isManual</em> = false, </td>
488        </tr>
489        <tr>
490          <td class="md" nowrap align="right"></td>
491          <td></td>
492          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
493          <td class="mdname" nowrap> <em>loader</em> = 0, </td>
494        </tr>
495        <tr>
496          <td class="md" nowrap align="right"></td>
497          <td></td>
498          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *&nbsp;</td>
499          <td class="mdname" nowrap> <em>createParams</em> = 0</td>
500        </tr>
501        <tr>
502          <td></td>
503          <td class="md">)&nbsp;</td>
504          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
505        </tr>
506
507      </table>
508    </td>
509  </tr>
510</table>
511<table cellspacing=5 cellpadding=0 border=0>
512  <tr>
513    <td>
514      &nbsp;
515    </td>
516    <td>
517
518<p>
519Creates a new blank resource, but does not immediately load it.
520<p>
521<dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html">Resource</a> managers handle disparate types of resources, so if you want to get at the detailed interface of this resource, you'll have to cast the result to the subclass you know you're creating. </dd></dl>
522<dl compact><dt><b>Parameters:</b></dt><dd>
523  <table border="0" cellspacing="2" cellpadding="0">
524    <tr><td valign=top><em>name</em>&nbsp;</td><td>The unique name of the resource </td></tr>
525    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group to attach this new resource to </td></tr>
526    <tr><td valign=top><em>isManual</em>&nbsp;</td><td>Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. </td></tr>
527    <tr><td valign=top><em>loader</em>&nbsp;</td><td>Pointer to a ManualLoader implementation which will be called when the <a class="el" href="classOgre_1_1Resource.html">Resource</a> wishes to load (should be supplied if you set isManual to true). You can in fact leave this parameter null if you wish, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualLoader instance is strongly recommended. </td></tr>
528    <tr><td valign=top><em>createParams</em>&nbsp;</td><td>If any parameters are required to create an instance, they should be supplied here as name / value pairs </td></tr>
529  </table>
530</dl>
531    </td>
532  </tr>
533</table>
534<a class="anchor" name="Ogre_1_1BspResourceManagerb0" doxytag="Ogre::BspResourceManager::createImpl" ></a><p>
535<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
536  <tr>
537    <td class="mdRow">
538      <table cellpadding="0" cellspacing="0" border="0">
539        <tr>
540          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Resource.html">Resource</a>* Ogre::BspResourceManager::createImpl </td>
541          <td class="md" valign="top">(&nbsp;</td>
542          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
543          <td class="mdname" nowrap> <em>name</em>, </td>
544        </tr>
545        <tr>
546          <td class="md" nowrap align="right"></td>
547          <td></td>
548          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
549          <td class="mdname" nowrap> <em>handle</em>, </td>
550        </tr>
551        <tr>
552          <td class="md" nowrap align="right"></td>
553          <td></td>
554          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
555          <td class="mdname" nowrap> <em>group</em>, </td>
556        </tr>
557        <tr>
558          <td class="md" nowrap align="right"></td>
559          <td></td>
560          <td class="md" nowrap>bool&nbsp;</td>
561          <td class="mdname" nowrap> <em>isManual</em>, </td>
562        </tr>
563        <tr>
564          <td class="md" nowrap align="right"></td>
565          <td></td>
566          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
567          <td class="mdname" nowrap> <em>loader</em>, </td>
568        </tr>
569        <tr>
570          <td class="md" nowrap align="right"></td>
571          <td></td>
572          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *&nbsp;</td>
573          <td class="mdname" nowrap> <em>createParams</em></td>
574        </tr>
575        <tr>
576          <td></td>
577          <td class="md">)&nbsp;</td>
578          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
579        </tr>
580
581      </table>
582    </td>
583  </tr>
584</table>
585<table cellspacing=5 cellpadding=0 border=0>
586  <tr>
587    <td>
588      &nbsp;
589    </td>
590    <td>
591
592<p>
593<dl compact><dt><b>Remarks:</b></dt><dd>Subclasses must override this method and create a subclass of <a class="el" href="classOgre_1_1Resource.html">Resource</a>. </dd></dl>
594<dl compact><dt><b>Parameters:</b></dt><dd>
595  <table border="0" cellspacing="2" cellpadding="0">
596    <tr><td valign=top><em>name</em>&nbsp;</td><td>The unique name of the resource </td></tr>
597    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group to attach this new resource to </td></tr>
598    <tr><td valign=top><em>isManual</em>&nbsp;</td><td>Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. </td></tr>
599    <tr><td valign=top><em>loader</em>&nbsp;</td><td>Pointer to a ManualLoader implementation which will be called when the <a class="el" href="classOgre_1_1Resource.html">Resource</a> wishes to load (should be supplied if you set isManual to true). You can in fact leave this parameter null if you wish, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualLoader instance is strongly recommended. </td></tr>
600    <tr><td valign=top><em>createParams</em>&nbsp;</td><td>If any parameters are required to create an instance, they should be supplied here as name / value pairs. These do not need to be set on the instance (handled elsewhere), just used if required to differentiate which concrete class is created.</td></tr>
601  </table>
602</dl>
603.
604<p>
605
606<p>
607Implements <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb1">Ogre::ResourceManager</a>.    </td>
608  </tr>
609</table>
610<a class="anchor" name="Ogre_1_1TextureManagera23" doxytag="Ogre::BspResourceManager::getByHandle" ></a><p>
611<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
612  <tr>
613    <td class="mdRow">
614      <table cellpadding="0" cellspacing="0" border="0">
615        <tr>
616          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByHandle </td>
617          <td class="md" valign="top">(&nbsp;</td>
618          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
619          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
620          <td class="md" valign="top">&nbsp;)&nbsp;</td>
621          <td class="md" nowrap><code> [virtual, inherited]</code></td>
622        </tr>
623
624      </table>
625    </td>
626  </tr>
627</table>
628<table cellspacing=5 cellpadding=0 border=0>
629  <tr>
630    <td>
631      &nbsp;
632    </td>
633    <td>
634
635<p>
636Retrieves a pointer to a resource by handle, or null if the resource does not exist.
637<p>
638    </td>
639  </tr>
640</table>
641<a class="anchor" name="Ogre_1_1TextureManagera22" doxytag="Ogre::BspResourceManager::getByName" ></a><p>
642<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
643  <tr>
644    <td class="mdRow">
645      <table cellpadding="0" cellspacing="0" border="0">
646        <tr>
647          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByName </td>
648          <td class="md" valign="top">(&nbsp;</td>
649          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
650          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
651          <td class="md" valign="top">&nbsp;)&nbsp;</td>
652          <td class="md" nowrap><code> [virtual, inherited]</code></td>
653        </tr>
654
655      </table>
656    </td>
657  </tr>
658</table>
659<table cellspacing=5 cellpadding=0 border=0>
660  <tr>
661    <td>
662      &nbsp;
663    </td>
664    <td>
665
666<p>
667Retrieves a pointer to a resource by name, or null if the resource does not exist.
668<p>
669    </td>
670  </tr>
671</table>
672<a class="anchor" name="Ogre_1_1TextureManagera32" doxytag="Ogre::BspResourceManager::getLoadingOrder" ></a><p>
673<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
674  <tr>
675    <td class="mdRow">
676      <table cellpadding="0" cellspacing="0" border="0">
677        <tr>
678          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::ResourceManager::getLoadingOrder </td>
679          <td class="md" valign="top">(&nbsp;</td>
680          <td class="md" nowrap valign="top">void&nbsp;</td>
681          <td class="mdname1" valign="top" nowrap>          </td>
682          <td class="md" valign="top">&nbsp;)&nbsp;</td>
683          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
684        </tr>
685
686      </table>
687    </td>
688  </tr>
689</table>
690<table cellspacing=5 cellpadding=0 border=0>
691  <tr>
692    <td>
693      &nbsp;
694    </td>
695    <td>
696
697<p>
698Gets the relative loading order of resources of this type.
699<p>
700<dl compact><dt><b>Remarks:</b></dt><dd>There are dependencies between some kinds of resource in terms of loading order, and this value enumerates that. Higher values load later during bulk loading tasks.</dd></dl>
701
702<p>
703Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera3">Ogre::ScriptLoader</a>.
704<p>
705Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00296">296</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
706<p>
707References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
708  </tr>
709</table>
710<a class="anchor" name="Ogre_1_1TextureManagera13" doxytag="Ogre::BspResourceManager::getMemoryBudget" ></a><p>
711<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
712  <tr>
713    <td class="mdRow">
714      <table cellpadding="0" cellspacing="0" border="0">
715        <tr>
716          <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryBudget </td>
717          <td class="md" valign="top">(&nbsp;</td>
718          <td class="md" nowrap valign="top">void&nbsp;</td>
719          <td class="mdname1" valign="top" nowrap>          </td>
720          <td class="md" valign="top">&nbsp;)&nbsp;</td>
721          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
722        </tr>
723
724      </table>
725    </td>
726  </tr>
727</table>
728<table cellspacing=5 cellpadding=0 border=0>
729  <tr>
730    <td>
731      &nbsp;
732    </td>
733    <td>
734
735<p>
736Get the limit on the amount of memory this resource handler may use.
737<p>
738    </td>
739  </tr>
740</table>
741<a class="anchor" name="Ogre_1_1TextureManagerb5" doxytag="Ogre::BspResourceManager::getMemoryUsage" ></a><p>
742<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
743  <tr>
744    <td class="mdRow">
745      <table cellpadding="0" cellspacing="0" border="0">
746        <tr>
747          <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryUsage </td>
748          <td class="md" valign="top">(&nbsp;</td>
749          <td class="md" nowrap valign="top">void&nbsp;</td>
750          <td class="mdname1" valign="top" nowrap>          </td>
751          <td class="md" valign="top">&nbsp;)&nbsp;</td>
752          <td class="md" nowrap> const<code> [protected, virtual, inherited]</code></td>
753        </tr>
754
755      </table>
756    </td>
757  </tr>
758</table>
759<table cellspacing=5 cellpadding=0 border=0>
760  <tr>
761    <td>
762      &nbsp;
763    </td>
764    <td>
765
766<p>
767Gets the current memory usage, in bytes.
768<p>
769
770<p>
771Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00338">338</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
772  </tr>
773</table>
774<a class="anchor" name="Ogre_1_1TextureManagerb0" doxytag="Ogre::BspResourceManager::getNextHandle" ></a><p>
775<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
776  <tr>
777    <td class="mdRow">
778      <table cellpadding="0" cellspacing="0" border="0">
779        <tr>
780          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> Ogre::ResourceManager::getNextHandle </td>
781          <td class="md" valign="top">(&nbsp;</td>
782          <td class="md" nowrap valign="top">void&nbsp;</td>
783          <td class="mdname1" valign="top" nowrap>          </td>
784          <td class="md" valign="top">&nbsp;)&nbsp;</td>
785          <td class="md" nowrap><code> [protected, inherited]</code></td>
786        </tr>
787
788      </table>
789    </td>
790  </tr>
791</table>
792<table cellspacing=5 cellpadding=0 border=0>
793  <tr>
794    <td>
795      &nbsp;
796    </td>
797    <td>
798
799<p>
800Allocates the next handle.
801<p>
802    </td>
803  </tr>
804</table>
805<a class="anchor" name="Ogre_1_1TextureManagera34" doxytag="Ogre::BspResourceManager::getResourceIterator" ></a><p>
806<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
807  <tr>
808    <td class="mdRow">
809      <table cellpadding="0" cellspacing="0" border="0">
810        <tr>
811          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a> Ogre::ResourceManager::getResourceIterator </td>
812          <td class="md" valign="top">(&nbsp;</td>
813          <td class="md" nowrap valign="top">void&nbsp;</td>
814          <td class="mdname1" valign="top" nowrap>          </td>
815          <td class="md" valign="top">&nbsp;)&nbsp;</td>
816          <td class="md" nowrap><code> [inherited]</code></td>
817        </tr>
818
819      </table>
820    </td>
821  </tr>
822</table>
823<table cellspacing=5 cellpadding=0 border=0>
824  <tr>
825    <td>
826      &nbsp;
827    </td>
828    <td>
829
830<p>
831Returns an iterator over all resources in this manager.
832<p>
833<dl compact><dt><b>Note:</b></dt><dd>Use of this iterator is NOT thread safe! </dd></dl>
834
835<p>
836Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00366">366</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
837<p>
838References <a class="el" href="OgreResourceManager_8h-source.html#l00361">Ogre::ResourceManager::ResourceMapIterator</a>.    </td>
839  </tr>
840</table>
841<a class="anchor" name="Ogre_1_1TextureManagera33" doxytag="Ogre::BspResourceManager::getResourceType" ></a><p>
842<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
843  <tr>
844    <td class="mdRow">
845      <table cellpadding="0" cellspacing="0" border="0">
846        <tr>
847          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>&amp; Ogre::ResourceManager::getResourceType </td>
848          <td class="md" valign="top">(&nbsp;</td>
849          <td class="md" nowrap valign="top">void&nbsp;</td>
850          <td class="mdname1" valign="top" nowrap>          </td>
851          <td class="md" valign="top">&nbsp;)&nbsp;</td>
852          <td class="md" nowrap> const<code> [inherited]</code></td>
853        </tr>
854
855      </table>
856    </td>
857  </tr>
858</table>
859<table cellspacing=5 cellpadding=0 border=0>
860  <tr>
861    <td>
862      &nbsp;
863    </td>
864    <td>
865
866<p>
867Gets a string identifying the type of resource this manager handles.
868<p>
869
870<p>
871Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00299">299</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
872<p>
873References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
874  </tr>
875</table>
876<a class="anchor" name="Ogre_1_1TextureManagera30" doxytag="Ogre::BspResourceManager::getScriptPatterns" ></a><p>
877<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
878  <tr>
879    <td class="mdRow">
880      <table cellpadding="0" cellspacing="0" border="0">
881        <tr>
882          <td class="md" nowrap valign="top"> virtual const <a class="el" href="namespaceOgre.html#a535">StringVector</a>&amp; Ogre::ResourceManager::getScriptPatterns </td>
883          <td class="md" valign="top">(&nbsp;</td>
884          <td class="md" nowrap valign="top">void&nbsp;</td>
885          <td class="mdname1" valign="top" nowrap>          </td>
886          <td class="md" valign="top">&nbsp;)&nbsp;</td>
887          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
888        </tr>
889
890      </table>
891    </td>
892  </tr>
893</table>
894<table cellspacing=5 cellpadding=0 border=0>
895  <tr>
896    <td>
897      &nbsp;
898    </td>
899    <td>
900
901<p>
902Gets the file patterns which should be used to find scripts for this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>.
903<p>
904<dl compact><dt><b>Remarks:</b></dt><dd>Some resource managers can read script files in order to define resources ahead of time. These resources are added to the available list inside the manager, but none are loaded initially. This allows you to load the items that are used on demand, or to load them all as a group if you wish (through <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>). </dd></dl>
905<dl compact><dt><b></b></dt><dd>This method lets you determine the file pattern which will be used to identify scripts intended for this manager. </dd></dl>
906<dl compact><dt><b>Returns:</b></dt><dd>A list of file patterns, in the order they should be searched in. </dd></dl>
907<dl compact><dt><b>See also:</b></dt><dd>isScriptingSupported, <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera31">parseScript</a></dd></dl>
908
909<p>
910Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera1">Ogre::ScriptLoader</a>.
911<p>
912Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00273">273</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
913<p>
914References <a class="el" href="OgreStringVector_8h-source.html#l00036">Ogre::StringVector</a>.    </td>
915  </tr>
916</table>
917<a class="anchor" name="Ogre_1_1BspResourceManagere0" doxytag="Ogre::BspResourceManager::getSingleton" ></a><p>
918<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
919  <tr>
920    <td class="mdRow">
921      <table cellpadding="0" cellspacing="0" border="0">
922        <tr>
923          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a>&amp; Ogre::BspResourceManager::getSingleton </td>
924          <td class="md" valign="top">(&nbsp;</td>
925          <td class="md" nowrap valign="top">void&nbsp;</td>
926          <td class="mdname1" valign="top" nowrap>          </td>
927          <td class="md" valign="top">&nbsp;)&nbsp;</td>
928          <td class="md" nowrap><code> [static]</code></td>
929        </tr>
930
931      </table>
932    </td>
933  </tr>
934</table>
935<table cellspacing=5 cellpadding=0 border=0>
936  <tr>
937    <td>
938      &nbsp;
939    </td>
940    <td>
941
942<p>
943Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.
944<p>
945<dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl>
946<dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl>
947
948<p>
949Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone0">Ogre::Singleton&lt; BspResourceManager &gt;</a>.    </td>
950  </tr>
951</table>
952<a class="anchor" name="Ogre_1_1BspResourceManagere1" doxytag="Ogre::BspResourceManager::getSingletonPtr" ></a><p>
953<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
954  <tr>
955    <td class="mdRow">
956      <table cellpadding="0" cellspacing="0" border="0">
957        <tr>
958          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a>* Ogre::BspResourceManager::getSingletonPtr </td>
959          <td class="md" valign="top">(&nbsp;</td>
960          <td class="md" nowrap valign="top">void&nbsp;</td>
961          <td class="mdname1" valign="top" nowrap>          </td>
962          <td class="md" valign="top">&nbsp;)&nbsp;</td>
963          <td class="md" nowrap><code> [static]</code></td>
964        </tr>
965
966      </table>
967    </td>
968  </tr>
969</table>
970<table cellspacing=5 cellpadding=0 border=0>
971  <tr>
972    <td>
973      &nbsp;
974    </td>
975    <td>
976
977<p>
978Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.
979<p>
980<dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl>
981<dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl>
982
983<p>
984Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone1">Ogre::Singleton&lt; BspResourceManager &gt;</a>.    </td>
985  </tr>
986</table>
987<a class="anchor" name="Ogre_1_1BspResourceManagera2" doxytag="Ogre::BspResourceManager::load" ></a><p>
988<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
989  <tr>
990    <td class="mdRow">
991      <table cellpadding="0" cellspacing="0" border="0">
992        <tr>
993          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::BspResourceManager::load </td>
994          <td class="md" valign="top">(&nbsp;</td>
995          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
996          <td class="mdname" nowrap> <em>name</em>, </td>
997        </tr>
998        <tr>
999          <td class="md" nowrap align="right"></td>
1000          <td></td>
1001          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1002          <td class="mdname" nowrap> <em>group</em>, </td>
1003        </tr>
1004        <tr>
1005          <td class="md" nowrap align="right"></td>
1006          <td></td>
1007          <td class="md" nowrap>bool&nbsp;</td>
1008          <td class="mdname" nowrap> <em>isManual</em> = false, </td>
1009        </tr>
1010        <tr>
1011          <td class="md" nowrap align="right"></td>
1012          <td></td>
1013          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
1014          <td class="mdname" nowrap> <em>loader</em> = 0, </td>
1015        </tr>
1016        <tr>
1017          <td class="md" nowrap align="right"></td>
1018          <td></td>
1019          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *&nbsp;</td>
1020          <td class="mdname" nowrap> <em>loadParams</em> = 0</td>
1021        </tr>
1022        <tr>
1023          <td></td>
1024          <td class="md">)&nbsp;</td>
1025          <td class="md" colspan="2"><code> [virtual]</code></td>
1026        </tr>
1027
1028      </table>
1029    </td>
1030  </tr>
1031</table>
1032<table cellspacing=5 cellpadding=0 border=0>
1033  <tr>
1034    <td>
1035      &nbsp;
1036    </td>
1037    <td>
1038
1039<p>
1040Loads a BSP-based level from the named file.
1041<p>
1042Currently only supports loading of Quake3 .bsp files.
1043<p>
1044Reimplemented from <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera29">Ogre::ResourceManager</a>.    </td>
1045  </tr>
1046</table>
1047<a class="anchor" name="Ogre_1_1TextureManagera31" doxytag="Ogre::BspResourceManager::parseScript" ></a><p>
1048<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1049  <tr>
1050    <td class="mdRow">
1051      <table cellpadding="0" cellspacing="0" border="0">
1052        <tr>
1053          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::parseScript </td>
1054          <td class="md" valign="top">(&nbsp;</td>
1055          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &amp;&nbsp;</td>
1056          <td class="mdname" nowrap> <em>stream</em>, </td>
1057        </tr>
1058        <tr>
1059          <td class="md" nowrap align="right"></td>
1060          <td></td>
1061          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1062          <td class="mdname" nowrap> <em>groupName</em></td>
1063        </tr>
1064        <tr>
1065          <td></td>
1066          <td class="md">)&nbsp;</td>
1067          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1068        </tr>
1069
1070      </table>
1071    </td>
1072  </tr>
1073</table>
1074<table cellspacing=5 cellpadding=0 border=0>
1075  <tr>
1076    <td>
1077      &nbsp;
1078    </td>
1079    <td>
1080
1081<p>
1082Parse the definition of a set of resources from a script file.
1083<p>
1084<dl compact><dt><b>Remarks:</b></dt><dd>Some resource managers can read script files in order to define resources ahead of time. These resources are added to the available list inside the manager, but none are loaded initially. This allows you to load the items that are used on demand, or to load them all as a group if you wish (through <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>). </dd></dl>
1085<dl compact><dt><b>Parameters:</b></dt><dd>
1086  <table border="0" cellspacing="2" cellpadding="0">
1087    <tr><td valign=top><em>stream</em>&nbsp;</td><td>Weak reference to a data stream which is the source of the script </td></tr>
1088    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group that resources which are parsed are to become a member of. If this group is loaded or unloaded, then the resources discovered in this script will be loaded / unloaded with it.</td></tr>
1089  </table>
1090</dl>
1091
1092<p>
1093Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera2">Ogre::ScriptLoader</a>.
1094<p>
1095Reimplemented in <a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagera2">Ogre::FontManager</a>, and <a class="el" href="classOgre_1_1MaterialManager.html#Ogre_1_1MaterialManagera3">Ogre::MaterialManager</a>.
1096<p>
1097Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00288">288</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
1098<p>
1099References <a class="el" href="OgreDataStream_8h-source.html#l00149">Ogre::DataStreamPtr</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
1100  </tr>
1101</table>
1102<a class="anchor" name="Ogre_1_1TextureManagera17" doxytag="Ogre::BspResourceManager::reloadAll" ></a><p>
1103<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1104  <tr>
1105    <td class="mdRow">
1106      <table cellpadding="0" cellspacing="0" border="0">
1107        <tr>
1108          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::reloadAll </td>
1109          <td class="md" valign="top">(&nbsp;</td>
1110          <td class="md" nowrap valign="top">void&nbsp;</td>
1111          <td class="mdname1" valign="top" nowrap>          </td>
1112          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1113          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1114        </tr>
1115
1116      </table>
1117    </td>
1118  </tr>
1119</table>
1120<table cellspacing=5 cellpadding=0 border=0>
1121  <tr>
1122    <td>
1123      &nbsp;
1124    </td>
1125    <td>
1126
1127<p>
1128Caused all currently loaded resources to be reloaded.
1129<p>
1130<dl compact><dt><b>Remarks:</b></dt><dd>All resources currently being held in this manager which are also marked as currently loaded will be unloaded, then loaded again.</dd></dl>
1131    </td>
1132  </tr>
1133</table>
1134<a class="anchor" name="Ogre_1_1TextureManagera20" doxytag="Ogre::BspResourceManager::remove" ></a><p>
1135<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1136  <tr>
1137    <td class="mdRow">
1138      <table cellpadding="0" cellspacing="0" border="0">
1139        <tr>
1140          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
1141          <td class="md" valign="top">(&nbsp;</td>
1142          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
1143          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
1144          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1145          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1146        </tr>
1147
1148      </table>
1149    </td>
1150  </tr>
1151</table>
1152<table cellspacing=5 cellpadding=0 border=0>
1153  <tr>
1154    <td>
1155      &nbsp;
1156    </td>
1157    <td>
1158
1159<p>
1160Remove a single resource by handle.
1161<p>
1162<dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl>
1163<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to this resource, it will persist until they have finished with it; however to all intents and purposes it no longer exists and will likely get destroyed imminently. <p>
1164If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE.</dd></dl>
1165    </td>
1166  </tr>
1167</table>
1168<a class="anchor" name="Ogre_1_1TextureManagera19" doxytag="Ogre::BspResourceManager::remove" ></a><p>
1169<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1170  <tr>
1171    <td class="mdRow">
1172      <table cellpadding="0" cellspacing="0" border="0">
1173        <tr>
1174          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
1175          <td class="md" valign="top">(&nbsp;</td>
1176          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1177          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1178          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1179          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1180        </tr>
1181
1182      </table>
1183    </td>
1184  </tr>
1185</table>
1186<table cellspacing=5 cellpadding=0 border=0>
1187  <tr>
1188    <td>
1189      &nbsp;
1190    </td>
1191    <td>
1192
1193<p>
1194Remove a single resource by name.
1195<p>
1196<dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl>
1197<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to this resource, it will persist until they have finished with it; however to all intents and purposes it no longer exists and will likely get destroyed imminently. <p>
1198If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE.</dd></dl>
1199    </td>
1200  </tr>
1201</table>
1202<a class="anchor" name="Ogre_1_1TextureManagera18" doxytag="Ogre::BspResourceManager::remove" ></a><p>
1203<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1204  <tr>
1205    <td class="mdRow">
1206      <table cellpadding="0" cellspacing="0" border="0">
1207        <tr>
1208          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
1209          <td class="md" valign="top">(&nbsp;</td>
1210          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
1211          <td class="mdname1" valign="top" nowrap> <em>r</em>          </td>
1212          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1213          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1214        </tr>
1215
1216      </table>
1217    </td>
1218  </tr>
1219</table>
1220<table cellspacing=5 cellpadding=0 border=0>
1221  <tr>
1222    <td>
1223      &nbsp;
1224    </td>
1225    <td>
1226
1227<p>
1228Remove a single resource.
1229<p>
1230<dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl>
1231<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to this resource, it will persist until they have finished with it; however to all intents and purposes it no longer exists and will likely get destroyed imminently. <p>
1232If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE.</dd></dl>
1233    </td>
1234  </tr>
1235</table>
1236<a class="anchor" name="Ogre_1_1TextureManagera21" doxytag="Ogre::BspResourceManager::removeAll" ></a><p>
1237<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1238  <tr>
1239    <td class="mdRow">
1240      <table cellpadding="0" cellspacing="0" border="0">
1241        <tr>
1242          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeAll </td>
1243          <td class="md" valign="top">(&nbsp;</td>
1244          <td class="md" nowrap valign="top">void&nbsp;</td>
1245          <td class="mdname1" valign="top" nowrap>          </td>
1246          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1247          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1248        </tr>
1249
1250      </table>
1251    </td>
1252  </tr>
1253</table>
1254<table cellspacing=5 cellpadding=0 border=0>
1255  <tr>
1256    <td>
1257      &nbsp;
1258    </td>
1259    <td>
1260
1261<p>
1262Removes all resources.
1263<p>
1264<dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' is not used here, since if any other pointers are referring to these resources, they will persist until they have been finished with; however to all intents and purposes the resources no longer exist and will get destroyed imminently. <p>
1265If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown OGRE. </dd></dl>
1266    </td>
1267  </tr>
1268</table>
1269<a class="anchor" name="Ogre_1_1TextureManagerb3" doxytag="Ogre::BspResourceManager::removeImpl" ></a><p>
1270<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1271  <tr>
1272    <td class="mdRow">
1273      <table cellpadding="0" cellspacing="0" border="0">
1274        <tr>
1275          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeImpl </td>
1276          <td class="md" valign="top">(&nbsp;</td>
1277          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
1278          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
1279          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1280          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
1281        </tr>
1282
1283      </table>
1284    </td>
1285  </tr>
1286</table>
1287<table cellspacing=5 cellpadding=0 border=0>
1288  <tr>
1289    <td>
1290      &nbsp;
1291    </td>
1292    <td>
1293
1294<p>
1295Remove a resource from this manager; remove it from the lists.
1296<p>
1297    </td>
1298  </tr>
1299</table>
1300<a class="anchor" name="Ogre_1_1TextureManagera25" doxytag="Ogre::BspResourceManager::resourceExists" ></a><p>
1301<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1302  <tr>
1303    <td class="mdRow">
1304      <table cellpadding="0" cellspacing="0" border="0">
1305        <tr>
1306          <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td>
1307          <td class="md" valign="top">(&nbsp;</td>
1308          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
1309          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
1310          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1311          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1312        </tr>
1313
1314      </table>
1315    </td>
1316  </tr>
1317</table>
1318<table cellspacing=5 cellpadding=0 border=0>
1319  <tr>
1320    <td>
1321      &nbsp;
1322    </td>
1323    <td>
1324
1325<p>
1326Returns whether a resource with the given handle exists in this manager.
1327<p>
1328
1329<p>
1330Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00221">221</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
1331<p>
1332References <a class="el" href="OgreSharedPtr_8h-source.html#l00114">Ogre::SharedPtr&lt; T &gt;::isNull()</a>, and <a class="el" href="OgreResource_8h-source.html#l00035">Ogre::ResourceHandle</a>.    </td>
1333  </tr>
1334</table>
1335<a class="anchor" name="Ogre_1_1TextureManagera24" doxytag="Ogre::BspResourceManager::resourceExists" ></a><p>
1336<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1337  <tr>
1338    <td class="mdRow">
1339      <table cellpadding="0" cellspacing="0" border="0">
1340        <tr>
1341          <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td>
1342          <td class="md" valign="top">(&nbsp;</td>
1343          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1344          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1345          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1346          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1347        </tr>
1348
1349      </table>
1350    </td>
1351  </tr>
1352</table>
1353<table cellspacing=5 cellpadding=0 border=0>
1354  <tr>
1355    <td>
1356      &nbsp;
1357    </td>
1358    <td>
1359
1360<p>
1361Returns whether the named resource exists in this manager.
1362<p>
1363
1364<p>
1365Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00216">216</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.
1366<p>
1367References <a class="el" href="OgreSharedPtr_8h-source.html#l00114">Ogre::SharedPtr&lt; T &gt;::isNull()</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
1368  </tr>
1369</table>
1370<a class="anchor" name="Ogre_1_1TextureManagera12" doxytag="Ogre::BspResourceManager::setMemoryBudget" ></a><p>
1371<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1372  <tr>
1373    <td class="mdRow">
1374      <table cellpadding="0" cellspacing="0" border="0">
1375        <tr>
1376          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::setMemoryBudget </td>
1377          <td class="md" valign="top">(&nbsp;</td>
1378          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1379          <td class="mdname1" valign="top" nowrap> <em>bytes</em>          </td>
1380          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1381          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1382        </tr>
1383
1384      </table>
1385    </td>
1386  </tr>
1387</table>
1388<table cellspacing=5 cellpadding=0 border=0>
1389  <tr>
1390    <td>
1391      &nbsp;
1392    </td>
1393    <td>
1394
1395<p>
1396Set a limit on the amount of memory this resource handler may use.
1397<p>
1398<dl compact><dt><b>Remarks:</b></dt><dd>If, when asked to load a new resource, the manager believes it will exceed this memory budget, it will temporarily unload a resource to make room for the new one. This unloading is not permanent and the <a class="el" href="classOgre_1_1Resource.html">Resource</a> is not destroyed; it simply needs to be reloaded when next used. </dd></dl>
1399    </td>
1400  </tr>
1401</table>
1402<a class="anchor" name="Ogre_1_1TextureManagera15" doxytag="Ogre::BspResourceManager::unload" ></a><p>
1403<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1404  <tr>
1405    <td class="mdRow">
1406      <table cellpadding="0" cellspacing="0" border="0">
1407        <tr>
1408          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td>
1409          <td class="md" valign="top">(&nbsp;</td>
1410          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
1411          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
1412          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1413          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1414        </tr>
1415
1416      </table>
1417    </td>
1418  </tr>
1419</table>
1420<table cellspacing=5 cellpadding=0 border=0>
1421  <tr>
1422    <td>
1423      &nbsp;
1424    </td>
1425    <td>
1426
1427<p>
1428Unloads a single resource by handle.
1429<p>
1430<dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl>
1431<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups.</dd></dl>
1432    </td>
1433  </tr>
1434</table>
1435<a class="anchor" name="Ogre_1_1TextureManagera14" doxytag="Ogre::BspResourceManager::unload" ></a><p>
1436<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1437  <tr>
1438    <td class="mdRow">
1439      <table cellpadding="0" cellspacing="0" border="0">
1440        <tr>
1441          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td>
1442          <td class="md" valign="top">(&nbsp;</td>
1443          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1444          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1445          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1446          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1447        </tr>
1448
1449      </table>
1450    </td>
1451  </tr>
1452</table>
1453<table cellspacing=5 cellpadding=0 border=0>
1454  <tr>
1455    <td>
1456      &nbsp;
1457    </td>
1458    <td>
1459
1460<p>
1461Unloads a single resource by name.
1462<p>
1463<dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl>
1464<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups.</dd></dl>
1465    </td>
1466  </tr>
1467</table>
1468<a class="anchor" name="Ogre_1_1TextureManagera16" doxytag="Ogre::BspResourceManager::unloadAll" ></a><p>
1469<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1470  <tr>
1471    <td class="mdRow">
1472      <table cellpadding="0" cellspacing="0" border="0">
1473        <tr>
1474          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unloadAll </td>
1475          <td class="md" valign="top">(&nbsp;</td>
1476          <td class="md" nowrap valign="top">void&nbsp;</td>
1477          <td class="mdname1" valign="top" nowrap>          </td>
1478          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1479          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1480        </tr>
1481
1482      </table>
1483    </td>
1484  </tr>
1485</table>
1486<table cellspacing=5 cellpadding=0 border=0>
1487  <tr>
1488    <td>
1489      &nbsp;
1490    </td>
1491    <td>
1492
1493<p>
1494Unloads all resources.
1495<p>
1496<dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl>
1497<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups.</dd></dl>
1498    </td>
1499  </tr>
1500</table>
1501<hr><h2>Member Data Documentation</h2>
1502<a class="anchor" name="Ogre_1_1TextureManagerp8" doxytag="Ogre::BspResourceManager::mLoadOrder" ></a><p>
1503<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1504  <tr>
1505    <td class="mdRow">
1506      <table cellpadding="0" cellspacing="0" border="0">
1507        <tr>
1508          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp8">Ogre::ResourceManager::mLoadOrder</a><code> [protected, inherited]</code>
1509      </table>
1510    </td>
1511  </tr>
1512</table>
1513<table cellspacing=5 cellpadding=0 border=0>
1514  <tr>
1515    <td>
1516      &nbsp;
1517    </td>
1518    <td>
1519
1520<p>
1521Loading order relative to other managers, higher is later.
1522<p>
1523
1524<p>
1525Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00356">356</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1526  </tr>
1527</table>
1528<a class="anchor" name="Ogre_1_1TextureManagerp5" doxytag="Ogre::BspResourceManager::mMemoryBudget" ></a><p>
1529<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1530  <tr>
1531    <td class="mdRow">
1532      <table cellpadding="0" cellspacing="0" border="0">
1533        <tr>
1534          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp5">Ogre::ResourceManager::mMemoryBudget</a><code> [protected, inherited]</code>
1535      </table>
1536    </td>
1537  </tr>
1538</table>
1539<table cellspacing=5 cellpadding=0 border=0>
1540  <tr>
1541    <td>
1542      &nbsp;
1543    </td>
1544    <td>
1545
1546<p>
1547
1548<p>
1549Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00348">348</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1550  </tr>
1551</table>
1552<a class="anchor" name="Ogre_1_1TextureManagerp6" doxytag="Ogre::BspResourceManager::mMemoryUsage" ></a><p>
1553<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1554  <tr>
1555    <td class="mdRow">
1556      <table cellpadding="0" cellspacing="0" border="0">
1557        <tr>
1558          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp6">Ogre::ResourceManager::mMemoryUsage</a><code> [protected, inherited]</code>
1559      </table>
1560    </td>
1561  </tr>
1562</table>
1563<table cellspacing=5 cellpadding=0 border=0>
1564  <tr>
1565    <td>
1566      &nbsp;
1567    </td>
1568    <td>
1569
1570<p>
1571
1572<p>
1573Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00349">349</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1574  </tr>
1575</table>
1576<a class="anchor" name="Ogre_1_1TextureManagerp4" doxytag="Ogre::BspResourceManager::mNextHandle" ></a><p>
1577<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1578  <tr>
1579    <td class="mdRow">
1580      <table cellpadding="0" cellspacing="0" border="0">
1581        <tr>
1582          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp4">Ogre::ResourceManager::mNextHandle</a><code> [protected, inherited]</code>
1583      </table>
1584    </td>
1585  </tr>
1586</table>
1587<table cellspacing=5 cellpadding=0 border=0>
1588  <tr>
1589    <td>
1590      &nbsp;
1591    </td>
1592    <td>
1593
1594<p>
1595
1596<p>
1597Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00347">347</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1598  </tr>
1599</table>
1600<a class="anchor" name="Ogre_1_1TextureManagerp3" doxytag="Ogre::BspResourceManager::mResources" ></a><p>
1601<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1602  <tr>
1603    <td class="mdRow">
1604      <table cellpadding="0" cellspacing="0" border="0">
1605        <tr>
1606          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp3">Ogre::ResourceManager::mResources</a><code> [protected, inherited]</code>
1607      </table>
1608    </td>
1609  </tr>
1610</table>
1611<table cellspacing=5 cellpadding=0 border=0>
1612  <tr>
1613    <td>
1614      &nbsp;
1615    </td>
1616    <td>
1617
1618<p>
1619
1620<p>
1621Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00346">346</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1622  </tr>
1623</table>
1624<a class="anchor" name="Ogre_1_1TextureManagerp2" doxytag="Ogre::BspResourceManager::mResourcesByHandle" ></a><p>
1625<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1626  <tr>
1627    <td class="mdRow">
1628      <table cellpadding="0" cellspacing="0" border="0">
1629        <tr>
1630          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp2">Ogre::ResourceManager::mResourcesByHandle</a><code> [protected, inherited]</code>
1631      </table>
1632    </td>
1633  </tr>
1634</table>
1635<table cellspacing=5 cellpadding=0 border=0>
1636  <tr>
1637    <td>
1638      &nbsp;
1639    </td>
1640    <td>
1641
1642<p>
1643
1644<p>
1645Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00345">345</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1646  </tr>
1647</table>
1648<a class="anchor" name="Ogre_1_1TextureManagerp9" doxytag="Ogre::BspResourceManager::mResourceType" ></a><p>
1649<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1650  <tr>
1651    <td class="mdRow">
1652      <table cellpadding="0" cellspacing="0" border="0">
1653        <tr>
1654          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp9">Ogre::ResourceManager::mResourceType</a><code> [protected, inherited]</code>
1655      </table>
1656    </td>
1657  </tr>
1658</table>
1659<table cellspacing=5 cellpadding=0 border=0>
1660  <tr>
1661    <td>
1662      &nbsp;
1663    </td>
1664    <td>
1665
1666<p>
1667String identifying the resource type this manager handles.
1668<p>
1669
1670<p>
1671Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00358">358</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1672  </tr>
1673</table>
1674<a class="anchor" name="Ogre_1_1Singletont0" doxytag="Ogre::BspResourceManager::ms_Singleton" ></a><p>
1675<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1676  <tr>
1677    <td class="mdRow">
1678      <table cellpadding="0" cellspacing="0" border="0">
1679        <tr>
1680          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a> * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>&lt; <a class="el" href="classOgre_1_1BspResourceManager.html">BspResourceManager</a>  &gt;::<a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a><code> [static, protected, inherited]</code>
1681      </table>
1682    </td>
1683  </tr>
1684</table>
1685<table cellspacing=5 cellpadding=0 border=0>
1686  <tr>
1687    <td>
1688      &nbsp;
1689    </td>
1690    <td>
1691
1692<p>
1693
1694<p>
1695Definition at line <a class="el" href="OgreSingleton_8h-source.html#l00054">54</a> of file <a class="el" href="OgreSingleton_8h-source.html">OgreSingleton.h</a>.    </td>
1696  </tr>
1697</table>
1698<a class="anchor" name="Ogre_1_1TextureManagerp7" doxytag="Ogre::BspResourceManager::mScriptPatterns" ></a><p>
1699<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1700  <tr>
1701    <td class="mdRow">
1702      <table cellpadding="0" cellspacing="0" border="0">
1703        <tr>
1704          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a535">StringVector</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp7">Ogre::ResourceManager::mScriptPatterns</a><code> [protected, inherited]</code>
1705      </table>
1706    </td>
1707  </tr>
1708</table>
1709<table cellspacing=5 cellpadding=0 border=0>
1710  <tr>
1711    <td>
1712      &nbsp;
1713    </td>
1714    <td>
1715
1716<p>
1717Patterns to use to look for scripts if supported (e.g. *.overlay).
1718<p>
1719
1720<p>
1721Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00354">354</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>.    </td>
1722  </tr>
1723</table>
1724<a class="anchor" name="Ogre_1_1BspResourceManagerp0" doxytag="Ogre::BspResourceManager::mShaderMgr" ></a><p>
1725<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1726  <tr>
1727    <td class="mdRow">
1728      <table cellpadding="0" cellspacing="0" border="0">
1729        <tr>
1730          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Quake3ShaderManager.html">Quake3ShaderManager</a>* <a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagerp0">Ogre::BspResourceManager::mShaderMgr</a><code> [protected]</code>
1731      </table>
1732    </td>
1733  </tr>
1734</table>
1735<table cellspacing=5 cellpadding=0 border=0>
1736  <tr>
1737    <td>
1738      &nbsp;
1739    </td>
1740    <td>
1741
1742<p>
1743
1744<p>
1745Definition at line <a class="el" href="OgreBspResourceManager_8h-source.html#l00097">97</a> of file <a class="el" href="OgreBspResourceManager_8h-source.html">OgreBspResourceManager.h</a>.    </td>
1746  </tr>
1747</table>
1748<hr>The documentation for this class was generated from the following file:<ul>
1749<li><a class="el" href="OgreBspResourceManager_8h-source.html">OgreBspResourceManager.h</a></ul>
1750<hr>
1751<p>
1752Copyright &copy; 2000-2005 by The OGRE Team<br />
1753<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
1754This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
1755                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
1756                <Work rdf:about="">
1757                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
1758        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
1759                </Work>
1760                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
1761
1762Last modified Sun Feb 12 13:05:21 2006
1763</p>
1764</body>
1765</html>
Note: See TracBrowser for help on using the repository browser.