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

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

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::MeshManager 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::MeshManager Class Reference</h1>Handles the management of mesh resources. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::MeshManager:
16<p><center><img src="classOgre_1_1MeshManager.png" usemap="#Ogre::MeshManager_map" border="0" alt=""></center>
17<map name="Ogre::MeshManager_map">
18<area href="classOgre_1_1ResourceManager.html" alt="Ogre::ResourceManager" shape="rect" coords="0,56,205,80">
19<area href="classOgre_1_1Singleton.html" alt="Ogre::Singleton< MeshManager >" shape="rect" coords="215,56,420,80">
20<area href="classOgre_1_1ManualResourceLoader.html" alt="Ogre::ManualResourceLoader" shape="rect" coords="430,56,635,80">
21<area href="classOgre_1_1ScriptLoader.html" alt="Ogre::ScriptLoader" shape="rect" coords="0,0,205,24">
22</map>
23<a href="classOgre_1_1MeshManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
24<tr><td></td></tr>
25<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
26<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>
27
28<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>,<br>
29 <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>
30
31<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>
32
33<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
34<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera0">MeshManager</a> ()</td></tr>
35
36<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera1">~MeshManager</a> ()</td></tr>
37
38<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera2">_initialise</a> (void)</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialises the manager, only to be called by OGRE internally.  <a href="#Ogre_1_1MeshManagera2"></a><br><br></td></tr>
41<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera3">load</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;filename, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads a mesh from a file, making it immediately available for use.  <a href="#Ogre_1_1MeshManagera3"></a><br><br></td></tr>
44<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera4">createManual</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0)</td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> specifically for manual definition rather than loading from an object file.  <a href="#Ogre_1_1MeshManagera4"></a><br><br></td></tr>
47<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera5">createPlane</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;plane, <a class="el" href="namespaceOgre.html#a420">Real</a> width, <a class="el" href="namespaceOgre.html#a420">Real</a> height, int xsegments=1, int ysegments=1, bool normals=true, int numTexCoordSets=1, <a class="el" href="namespaceOgre.html#a420">Real</a> uTile=1.0f, <a class="el" href="namespaceOgre.html#a420">Real</a> vTile=1.0f, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;upVector=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a>, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a basic plane, by default majoring on the x/y axes facing positive Z.  <a href="#Ogre_1_1MeshManagera5"></a><br><br></td></tr>
50<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera6">createCurvedIllusionPlane</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;plane, <a class="el" href="namespaceOgre.html#a420">Real</a> width, <a class="el" href="namespaceOgre.html#a420">Real</a> height, <a class="el" href="namespaceOgre.html#a420">Real</a> curvature, int xsegments=1, int ysegments=1, bool normals=true, int numTexCoordSets=1, <a class="el" href="namespaceOgre.html#a420">Real</a> uTile=1.0f, <a class="el" href="namespaceOgre.html#a420">Real</a> vTile=1.0f, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;upVector=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a>, const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;orientation=<a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a>, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true, int ySegmentsToKeep=-1)</td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a plane, which because of it's texture coordinates looks like a curved surface, useful for skies in a skybox.  <a href="#Ogre_1_1MeshManagera6"></a><br><br></td></tr>
53<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera7">createCurvedPlane</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;plane, <a class="el" href="namespaceOgre.html#a420">Real</a> width, <a class="el" href="namespaceOgre.html#a420">Real</a> height, <a class="el" href="namespaceOgre.html#a420">Real</a> bow=0.5f, int xsegments=1, int ysegments=1, bool normals=false, int numTexCoordSets=1, <a class="el" href="namespaceOgre.html#a420">Real</a> xTile=1.0f, <a class="el" href="namespaceOgre.html#a420">Real</a> yTile=1.0f, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;upVector=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a>, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true)</td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a genuinely curved plane, by default majoring on the x/y axes facing positive Z.  <a href="#Ogre_1_1MeshManagera7"></a><br><br></td></tr>
56<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1PatchMeshPtr.html">PatchMeshPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera8">createBezierPatch</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;groupName, void *controlPointBuffer, <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, <a class="el" href="classOgre_1_1PatchSurface.html#Ogre_1_1PatchSurfacew7">PatchSurface::VisibleSide</a> visibleSide=PatchSurface::VS_FRONT, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=true, bool ibUseShadow=true)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a Bezier patch based on an array of control vertices.  <a href="#Ogre_1_1MeshManagera8"></a><br><br></td></tr>
59<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera9">setPrepareAllMeshesForShadowVolumes</a> (bool enable)</td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells the mesh manager that all future meshes should prepare themselves for shadow volumes on loading.  <a href="#Ogre_1_1MeshManagera9"></a><br><br></td></tr>
62<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera10">getPrepareAllMeshesForShadowVolumes</a> (void)</td></tr>
63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves whether all Meshes should prepare themselves for shadow volumes.  <a href="#Ogre_1_1MeshManagera10"></a><br><br></td></tr>
65<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_1MeshManager.html#Ogre_1_1MeshManagera11">getBoundsPaddingFactor</a> (void)</td></tr>
66
67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the factor by which the bounding box of an entity is padded.  <a href="#Ogre_1_1MeshManagera11"></a><br><br></td></tr>
68<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera12">setBoundsPaddingFactor</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> paddingFactor)</td></tr>
69
70<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the factor by which the bounding box of an entity is padded.  <a href="#Ogre_1_1MeshManagera12"></a><br><br></td></tr>
71<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera13">loadResource</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr>
72
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_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>
74
75<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>
76<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>
77
78<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>
79<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>
80
81<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>
82<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>
83
84<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>
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_1TextureManagera15">unload</a> (<a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle)</td></tr>
86
87<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>
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_1TextureManagera16">unloadAll</a> (void)</td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads all resources.  <a href="#Ogre_1_1TextureManagera16"></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_1TextureManagera17">reloadAll</a> (void)</td></tr>
92
93<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>
94<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>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a single resource.  <a href="#Ogre_1_1TextureManagera18"></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_1TextureManagera19">remove</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>
98
99<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>
100<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>
101
102<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>
103<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>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes all resources.  <a href="#Ogre_1_1TextureManagera21"></a><br><br></td></tr>
106<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>
107
108<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>
109<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>
110
111<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>
112<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>
113
114<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>
115<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>
116
117<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>
118<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>
119
120<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>
121<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>
122
123<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>
124<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>
125
126<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>
127<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_1TextureManagera29">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>
128
129<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic load method, used to create a <a class="el" href="classOgre_1_1Resource.html">Resource</a> specific to this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> without using one of the specialised 'load' methods (containing per-Resource-type parameters).  <a href="#Ogre_1_1TextureManagera29"></a><br><br></td></tr>
130<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>
131
132<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>
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_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>
134
135<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>
136<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>
137
138<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>
139<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>
140
141<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>
142<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>
143
144<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>
145<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
146<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagere0">getSingleton</a> (void)</td></tr>
147
148<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_1MeshManagere0"></a><br><br></td></tr>
149<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagere1">getSingletonPtr</a> (void)</td></tr>
150
151<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_1MeshManagere1"></a><br><br></td></tr>
152<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
153<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="classOgre_1_1Resource.html">Resource</a> *,<br>
154 <a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx0">MeshBuildParamsMap</a></td></tr>
155
156<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Map from resource pointer to parameter set.  <a href="#Ogre_1_1MeshManagerx0"></a><br><br></td></tr>
157<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx4">MeshBuildType</a> { <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx4Ogre_1_1MeshManagerx1">MBT_PLANE</a>,
158<a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx4Ogre_1_1MeshManagerx2">MBT_CURVED_ILLUSION_PLANE</a>,
159<a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx4Ogre_1_1MeshManagerx3">MBT_CURVED_PLANE</a>
160 }</td></tr>
161
162<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enum identifying the types of manual mesh built by this manager.  <a href="#Ogre_1_1MeshManagerx4">More...</a><br><br></td></tr>
163<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
164<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_1MeshManager.html#Ogre_1_1MeshManagerb0">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>
165
166<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>
167<dl compact><dt><b>Parameters:</b></dt><dd>
168  <table border="0" cellspacing="2" cellpadding="0">
169    <tr><td valign=top><em>name</em>&nbsp;</td><td>The unique name of the resource </td></tr>
170    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group to attach this new resource to </td></tr>
171    <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>
172    <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>
173    <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>
174  </table>
175</dl>
176  <a href="#Ogre_1_1MeshManagerb0"></a><br><br></td></tr>
177<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerb1">tesselate2DMesh</a> (<a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> *pSub, int meshWidth, int meshHeight, bool doubleSided=false, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool indexSysMem=false)</td></tr>
178
179<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility method for tesselating 2D meshes.  <a href="#Ogre_1_1MeshManagerb1"></a><br><br></td></tr>
180<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerb2">createPrefabPlane</a> (void)</td></tr>
181
182<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerb3">loadManualPlane</a> (<a class="el" href="classOgre_1_1Mesh.html">Mesh</a> *pMesh, <a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a> &amp;<a class="el" href="OgreGLPrerequisites_8h.html#a74">params</a>)</td></tr>
183
184<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility method for manual loading a plane.  <a href="#Ogre_1_1MeshManagerb3"></a><br><br></td></tr>
185<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerb4">loadManualCurvedPlane</a> (<a class="el" href="classOgre_1_1Mesh.html">Mesh</a> *pMesh, <a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a> &amp;<a class="el" href="OgreGLPrerequisites_8h.html#a74">params</a>)</td></tr>
186
187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility method for manual loading a curved plane.  <a href="#Ogre_1_1MeshManagerb4"></a><br><br></td></tr>
188<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerb5">loadManualCurvedIllusionPlane</a> (<a class="el" href="classOgre_1_1Mesh.html">Mesh</a> *pMesh, <a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a> &amp;<a class="el" href="OgreGLPrerequisites_8h.html#a74">params</a>)</td></tr>
189
190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility method for manual loading a curved illusion plane.  <a href="#Ogre_1_1MeshManagerb5"></a><br><br></td></tr>
191<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>
192
193<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates the next handle.  <a href="#Ogre_1_1TextureManagerb0"></a><br><br></td></tr>
194<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>
195
196<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>
197<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>
198
199<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>
200<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>
201
202<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>
203<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>
204
205<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>
206<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
207<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx0">MeshBuildParamsMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerp0">mMeshBuildParams</a></td></tr>
208
209<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerp1">mPrepAllMeshesForShadowVolumes</a></td></tr>
210
211<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_1MeshManager.html#Ogre_1_1MeshManagerp2">mBoundsPaddingFactor</a></td></tr>
212
213<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>
214
215<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>
216
217<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>
218
219<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>
220
221<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>
222
223<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>
224
225<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>
226<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>
227
228<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>
229<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>
230
231<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>
232<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
233<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a></td></tr>
234
235</table>
236<hr><a name="_details"></a><h2>Detailed Description</h2>
237Handles the management of mesh resources.
238<p>
239<dl compact><dt><b>Remarks:</b></dt><dd>This class deals with the runtime management of mesh data; like other resource managers it handles the creation of resources (in this case mesh data), working within a fixed memory budget. </dd></dl>
240
241<p>
242
243<p>
244Definition at line <a class="el" href="OgreMeshManager_8h-source.html#l00046">46</a> of file <a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a>.<hr><h2>Member Typedef Documentation</h2>
245<a class="anchor" name="Ogre_1_1MeshManagerx0" doxytag="Ogre::MeshManager::MeshBuildParamsMap" ></a><p>
246<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
247  <tr>
248    <td class="mdRow">
249      <table cellpadding="0" cellspacing="0" border="0">
250        <tr>
251          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="classOgre_1_1Resource.html">Resource</a>*, <a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a>&gt; <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx0">Ogre::MeshManager::MeshBuildParamsMap</a><code> [protected]</code>
252      </table>
253    </td>
254  </tr>
255</table>
256<table cellspacing=5 cellpadding=0 border=0>
257  <tr>
258    <td>
259      &nbsp;
260    </td>
261    <td>
262
263<p>
264Map from resource pointer to parameter set.
265<p>
266
267<p>
268Definition at line <a class="el" href="OgreMeshManager_8h-source.html#l00406">406</a> of file <a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a>.    </td>
269  </tr>
270</table>
271<a class="anchor" name="Ogre_1_1TextureManagerw1" doxytag="Ogre::MeshManager::ResourceHandleMap" ></a><p>
272<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
273  <tr>
274    <td class="mdRow">
275      <table cellpadding="0" cellspacing="0" border="0">
276        <tr>
277          <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>
278      </table>
279    </td>
280  </tr>
281</table>
282<table cellspacing=5 cellpadding=0 border=0>
283  <tr>
284    <td>
285      &nbsp;
286    </td>
287    <td>
288
289<p>
290
291<p>
292Definition 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>
293  </tr>
294</table>
295<a class="anchor" name="Ogre_1_1TextureManagerw0" doxytag="Ogre::MeshManager::ResourceMap" ></a><p>
296<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
297  <tr>
298    <td class="mdRow">
299      <table cellpadding="0" cellspacing="0" border="0">
300        <tr>
301          <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>
302      </table>
303    </td>
304  </tr>
305</table>
306<table cellspacing=5 cellpadding=0 border=0>
307  <tr>
308    <td>
309      &nbsp;
310    </td>
311    <td>
312
313<p>
314
315<p>
316Definition 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>
317  </tr>
318</table>
319<a class="anchor" name="Ogre_1_1TextureManagerw2" doxytag="Ogre::MeshManager::ResourceMapIterator" ></a><p>
320<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
321  <tr>
322    <td class="mdRow">
323      <table cellpadding="0" cellspacing="0" border="0">
324        <tr>
325          <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>
326      </table>
327    </td>
328  </tr>
329</table>
330<table cellspacing=5 cellpadding=0 border=0>
331  <tr>
332    <td>
333      &nbsp;
334    </td>
335    <td>
336
337<p>
338
339<p>
340Definition 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>.
341<p>
342Referenced by <a class="el" href="OgreResourceManager_8h-source.html#l00366">Ogre::ResourceManager::getResourceIterator()</a>.    </td>
343  </tr>
344</table>
345<hr><h2>Member Enumeration Documentation</h2>
346<a class="anchor" name="Ogre_1_1MeshManagerx4" doxytag="Ogre::MeshManager::MeshBuildType" ></a><p>
347<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
348  <tr>
349    <td class="mdRow">
350      <table cellpadding="0" cellspacing="0" border="0">
351        <tr>
352          <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx4">Ogre::MeshManager::MeshBuildType</a><code> [protected]</code>
353      </table>
354    </td>
355  </tr>
356</table>
357<table cellspacing=5 cellpadding=0 border=0>
358  <tr>
359    <td>
360      &nbsp;
361    </td>
362    <td>
363
364<p>
365Enum identifying the types of manual mesh built by this manager.
366<p>
367<dl compact><dt><b>Enumeration values: </b></dt><dd>
368<table border=0 cellspacing=2 cellpadding=0>
369<tr><td valign=top><em><a class="anchor" name="Ogre_1_1MeshManagerx4Ogre_1_1MeshManagerx1" doxytag="MBT_PLANE" ></a>MBT_PLANE</em>&nbsp;</td><td>
370</td></tr>
371<tr><td valign=top><em><a class="anchor" name="Ogre_1_1MeshManagerx4Ogre_1_1MeshManagerx2" doxytag="MBT_CURVED_ILLUSION_PLANE" ></a>MBT_CURVED_ILLUSION_PLANE</em>&nbsp;</td><td>
372</td></tr>
373<tr><td valign=top><em><a class="anchor" name="Ogre_1_1MeshManagerx4Ogre_1_1MeshManagerx3" doxytag="MBT_CURVED_PLANE" ></a>MBT_CURVED_PLANE</em>&nbsp;</td><td>
374</td></tr>
375</table>
376</dl>
377
378<p>
379Definition at line <a class="el" href="OgreMeshManager_8h-source.html#l00377">377</a> of file <a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a>.    </td>
380  </tr>
381</table>
382<hr><h2>Constructor &amp; Destructor Documentation</h2>
383<a class="anchor" name="Ogre_1_1MeshManagera0" doxytag="Ogre::MeshManager::MeshManager" ></a><p>
384<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
385  <tr>
386    <td class="mdRow">
387      <table cellpadding="0" cellspacing="0" border="0">
388        <tr>
389          <td class="md" nowrap valign="top"> Ogre::MeshManager::MeshManager </td>
390          <td class="md" valign="top">(&nbsp;</td>
391          <td class="mdname1" valign="top" nowrap>          </td>
392          <td class="md" valign="top">&nbsp;)&nbsp;</td>
393          <td class="md" nowrap></td>
394        </tr>
395
396      </table>
397    </td>
398  </tr>
399</table>
400<table cellspacing=5 cellpadding=0 border=0>
401  <tr>
402    <td>
403      &nbsp;
404    </td>
405    <td>
406
407<p>
408    </td>
409  </tr>
410</table>
411<a class="anchor" name="Ogre_1_1MeshManagera1" doxytag="Ogre::MeshManager::~MeshManager" ></a><p>
412<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
413  <tr>
414    <td class="mdRow">
415      <table cellpadding="0" cellspacing="0" border="0">
416        <tr>
417          <td class="md" nowrap valign="top"> Ogre::MeshManager::~<a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a> </td>
418          <td class="md" valign="top">(&nbsp;</td>
419          <td class="mdname1" valign="top" nowrap>          </td>
420          <td class="md" valign="top">&nbsp;)&nbsp;</td>
421          <td class="md" nowrap></td>
422        </tr>
423
424      </table>
425    </td>
426  </tr>
427</table>
428<table cellspacing=5 cellpadding=0 border=0>
429  <tr>
430    <td>
431      &nbsp;
432    </td>
433    <td>
434
435<p>
436    </td>
437  </tr>
438</table>
439<hr><h2>Member Function Documentation</h2>
440<a class="anchor" name="Ogre_1_1MeshManagera2" doxytag="Ogre::MeshManager::_initialise" ></a><p>
441<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
442  <tr>
443    <td class="mdRow">
444      <table cellpadding="0" cellspacing="0" border="0">
445        <tr>
446          <td class="md" nowrap valign="top"> void Ogre::MeshManager::_initialise </td>
447          <td class="md" valign="top">(&nbsp;</td>
448          <td class="md" nowrap valign="top">void&nbsp;</td>
449          <td class="mdname1" valign="top" nowrap>          </td>
450          <td class="md" valign="top">&nbsp;)&nbsp;</td>
451          <td class="md" nowrap></td>
452        </tr>
453
454      </table>
455    </td>
456  </tr>
457</table>
458<table cellspacing=5 cellpadding=0 border=0>
459  <tr>
460    <td>
461      &nbsp;
462    </td>
463    <td>
464
465<p>
466Initialises the manager, only to be called by OGRE internally.
467<p>
468    </td>
469  </tr>
470</table>
471<a class="anchor" name="Ogre_1_1TextureManagera27" doxytag="Ogre::MeshManager::_notifyResourceLoaded" ></a><p>
472<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
473  <tr>
474    <td class="mdRow">
475      <table cellpadding="0" cellspacing="0" border="0">
476        <tr>
477          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceLoaded </td>
478          <td class="md" valign="top">(&nbsp;</td>
479          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
480          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
481          <td class="md" valign="top">&nbsp;)&nbsp;</td>
482          <td class="md" nowrap><code> [virtual, inherited]</code></td>
483        </tr>
484
485      </table>
486    </td>
487  </tr>
488</table>
489<table cellspacing=5 cellpadding=0 border=0>
490  <tr>
491    <td>
492      &nbsp;
493    </td>
494    <td>
495
496<p>
497Notify this manager that a resource which it manages has been loaded.
498<p>
499    </td>
500  </tr>
501</table>
502<a class="anchor" name="Ogre_1_1TextureManagera26" doxytag="Ogre::MeshManager::_notifyResourceTouched" ></a><p>
503<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
504  <tr>
505    <td class="mdRow">
506      <table cellpadding="0" cellspacing="0" border="0">
507        <tr>
508          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceTouched </td>
509          <td class="md" valign="top">(&nbsp;</td>
510          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
511          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
512          <td class="md" valign="top">&nbsp;)&nbsp;</td>
513          <td class="md" nowrap><code> [virtual, inherited]</code></td>
514        </tr>
515
516      </table>
517    </td>
518  </tr>
519</table>
520<table cellspacing=5 cellpadding=0 border=0>
521  <tr>
522    <td>
523      &nbsp;
524    </td>
525    <td>
526
527<p>
528Notify this manager that a resource which it manages has been 'touched', ie used.
529<p>
530    </td>
531  </tr>
532</table>
533<a class="anchor" name="Ogre_1_1TextureManagera28" doxytag="Ogre::MeshManager::_notifyResourceUnloaded" ></a><p>
534<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
535  <tr>
536    <td class="mdRow">
537      <table cellpadding="0" cellspacing="0" border="0">
538        <tr>
539          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceUnloaded </td>
540          <td class="md" valign="top">(&nbsp;</td>
541          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
542          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
543          <td class="md" valign="top">&nbsp;)&nbsp;</td>
544          <td class="md" nowrap><code> [virtual, inherited]</code></td>
545        </tr>
546
547      </table>
548    </td>
549  </tr>
550</table>
551<table cellspacing=5 cellpadding=0 border=0>
552  <tr>
553    <td>
554      &nbsp;
555    </td>
556    <td>
557
558<p>
559Notify this manager that a resource which it manages has been unloaded.
560<p>
561    </td>
562  </tr>
563</table>
564<a class="anchor" name="Ogre_1_1TextureManagerb2" doxytag="Ogre::MeshManager::addImpl" ></a><p>
565<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
566  <tr>
567    <td class="mdRow">
568      <table cellpadding="0" cellspacing="0" border="0">
569        <tr>
570          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::addImpl </td>
571          <td class="md" valign="top">(&nbsp;</td>
572          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
573          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
574          <td class="md" valign="top">&nbsp;)&nbsp;</td>
575          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
576        </tr>
577
578      </table>
579    </td>
580  </tr>
581</table>
582<table cellspacing=5 cellpadding=0 border=0>
583  <tr>
584    <td>
585      &nbsp;
586    </td>
587    <td>
588
589<p>
590Add a newly created resource to the manager (note weak reference).
591<p>
592    </td>
593  </tr>
594</table>
595<a class="anchor" name="Ogre_1_1TextureManagerb4" doxytag="Ogre::MeshManager::checkUsage" ></a><p>
596<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
597  <tr>
598    <td class="mdRow">
599      <table cellpadding="0" cellspacing="0" border="0">
600        <tr>
601          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::checkUsage </td>
602          <td class="md" valign="top">(&nbsp;</td>
603          <td class="md" nowrap valign="top">void&nbsp;</td>
604          <td class="mdname1" valign="top" nowrap>          </td>
605          <td class="md" valign="top">&nbsp;)&nbsp;</td>
606          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
607        </tr>
608
609      </table>
610    </td>
611  </tr>
612</table>
613<table cellspacing=5 cellpadding=0 border=0>
614  <tr>
615    <td>
616      &nbsp;
617    </td>
618    <td>
619
620<p>
621Checks memory usage and pages out if required.
622<p>
623    </td>
624  </tr>
625</table>
626<a class="anchor" name="Ogre_1_1TextureManagera11" doxytag="Ogre::MeshManager::create" ></a><p>
627<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
628  <tr>
629    <td class="mdRow">
630      <table cellpadding="0" cellspacing="0" border="0">
631        <tr>
632          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::create </td>
633          <td class="md" valign="top">(&nbsp;</td>
634          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
635          <td class="mdname" nowrap> <em>name</em>, </td>
636        </tr>
637        <tr>
638          <td class="md" nowrap align="right"></td>
639          <td></td>
640          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
641          <td class="mdname" nowrap> <em>group</em>, </td>
642        </tr>
643        <tr>
644          <td class="md" nowrap align="right"></td>
645          <td></td>
646          <td class="md" nowrap>bool&nbsp;</td>
647          <td class="mdname" nowrap> <em>isManual</em> = false, </td>
648        </tr>
649        <tr>
650          <td class="md" nowrap align="right"></td>
651          <td></td>
652          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
653          <td class="mdname" nowrap> <em>loader</em> = 0, </td>
654        </tr>
655        <tr>
656          <td class="md" nowrap align="right"></td>
657          <td></td>
658          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *&nbsp;</td>
659          <td class="mdname" nowrap> <em>createParams</em> = 0</td>
660        </tr>
661        <tr>
662          <td></td>
663          <td class="md">)&nbsp;</td>
664          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
665        </tr>
666
667      </table>
668    </td>
669  </tr>
670</table>
671<table cellspacing=5 cellpadding=0 border=0>
672  <tr>
673    <td>
674      &nbsp;
675    </td>
676    <td>
677
678<p>
679Creates a new blank resource, but does not immediately load it.
680<p>
681<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>
682<dl compact><dt><b>Parameters:</b></dt><dd>
683  <table border="0" cellspacing="2" cellpadding="0">
684    <tr><td valign=top><em>name</em>&nbsp;</td><td>The unique name of the resource </td></tr>
685    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group to attach this new resource to </td></tr>
686    <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>
687    <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>
688    <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>
689  </table>
690</dl>
691    </td>
692  </tr>
693</table>
694<a class="anchor" name="Ogre_1_1MeshManagera8" doxytag="Ogre::MeshManager::createBezierPatch" ></a><p>
695<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
696  <tr>
697    <td class="mdRow">
698      <table cellpadding="0" cellspacing="0" border="0">
699        <tr>
700          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PatchMeshPtr.html">PatchMeshPtr</a> Ogre::MeshManager::createBezierPatch </td>
701          <td class="md" valign="top">(&nbsp;</td>
702          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
703          <td class="mdname" nowrap> <em>name</em>, </td>
704        </tr>
705        <tr>
706          <td class="md" nowrap align="right"></td>
707          <td></td>
708          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
709          <td class="mdname" nowrap> <em>groupName</em>, </td>
710        </tr>
711        <tr>
712          <td class="md" nowrap align="right"></td>
713          <td></td>
714          <td class="md" nowrap>void *&nbsp;</td>
715          <td class="mdname" nowrap> <em>controlPointBuffer</em>, </td>
716        </tr>
717        <tr>
718          <td class="md" nowrap align="right"></td>
719          <td></td>
720          <td class="md" nowrap><a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> *&nbsp;</td>
721          <td class="mdname" nowrap> <em>declaration</em>, </td>
722        </tr>
723        <tr>
724          <td class="md" nowrap align="right"></td>
725          <td></td>
726          <td class="md" nowrap>size_t&nbsp;</td>
727          <td class="mdname" nowrap> <em>width</em>, </td>
728        </tr>
729        <tr>
730          <td class="md" nowrap align="right"></td>
731          <td></td>
732          <td class="md" nowrap>size_t&nbsp;</td>
733          <td class="mdname" nowrap> <em>height</em>, </td>
734        </tr>
735        <tr>
736          <td class="md" nowrap align="right"></td>
737          <td></td>
738          <td class="md" nowrap>size_t&nbsp;</td>
739          <td class="mdname" nowrap> <em>uMaxSubdivisionLevel</em> = PatchSurface::AUTO_LEVEL, </td>
740        </tr>
741        <tr>
742          <td class="md" nowrap align="right"></td>
743          <td></td>
744          <td class="md" nowrap>size_t&nbsp;</td>
745          <td class="mdname" nowrap> <em>vMaxSubdivisionLevel</em> = PatchSurface::AUTO_LEVEL, </td>
746        </tr>
747        <tr>
748          <td class="md" nowrap align="right"></td>
749          <td></td>
750          <td class="md" nowrap><a class="el" href="classOgre_1_1PatchSurface.html#Ogre_1_1PatchSurfacew7">PatchSurface::VisibleSide</a>&nbsp;</td>
751          <td class="mdname" nowrap> <em>visibleSide</em> = PatchSurface::VS_FRONT, </td>
752        </tr>
753        <tr>
754          <td class="md" nowrap align="right"></td>
755          <td></td>
756          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
757          <td class="mdname" nowrap> <em>vbUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
758        </tr>
759        <tr>
760          <td class="md" nowrap align="right"></td>
761          <td></td>
762          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
763          <td class="mdname" nowrap> <em>ibUsage</em> = HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, </td>
764        </tr>
765        <tr>
766          <td class="md" nowrap align="right"></td>
767          <td></td>
768          <td class="md" nowrap>bool&nbsp;</td>
769          <td class="mdname" nowrap> <em>vbUseShadow</em> = true, </td>
770        </tr>
771        <tr>
772          <td class="md" nowrap align="right"></td>
773          <td></td>
774          <td class="md" nowrap>bool&nbsp;</td>
775          <td class="mdname" nowrap> <em>ibUseShadow</em> = true</td>
776        </tr>
777        <tr>
778          <td></td>
779          <td class="md">)&nbsp;</td>
780          <td class="md" colspan="2"></td>
781        </tr>
782
783      </table>
784    </td>
785  </tr>
786</table>
787<table cellspacing=5 cellpadding=0 border=0>
788  <tr>
789    <td>
790      &nbsp;
791    </td>
792    <td>
793
794<p>
795Creates a Bezier patch based on an array of control vertices.
796<p>
797<dl compact><dt><b>Parameters:</b></dt><dd>
798  <table border="0" cellspacing="2" cellpadding="0">
799    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to give the newly created mesh. </td></tr>
800    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group to assign the mesh to </td></tr>
801    <tr><td valign=top><em>controlPointBuffer</em>&nbsp;</td><td>A pointer to a buffer containing the vertex data which defines control points of the curves rather than actual vertices. Note that you are expected to provide not just position information, but potentially normals and texture coordinates too. The format of the buffer is defined in the <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> parameter </td></tr>
802    <tr><td valign=top><em>decaration</em>&nbsp;</td><td><a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> describing the contents of the buffer. Note this declaration must _only_ draw on buffer source 0! </td></tr>
803    <tr><td valign=top><em>width</em>&nbsp;</td><td>Specifies the width of the patch in control points. Note this parameter must greater than or equal to 3. </td></tr>
804    <tr><td valign=top><em>height</em>&nbsp;</td><td>Specifies the height of the patch in control points. Note this parameter must greater than or equal to 3. </td></tr>
805    <tr><td valign=top><em>uMaxSubdivisionLevel,vMaxSubdivisionLevel</em>&nbsp;</td><td>If you want to manually set the top level of subdivision, do it here, otherwise let the system decide. </td></tr>
806    <tr><td valign=top><em>visibleSide</em>&nbsp;</td><td>Determines which side of the patch (or both) triangles are generated for. </td></tr>
807    <tr><td valign=top><em>vbUsage</em>&nbsp;</td><td>Vertex buffer usage flags. Recommend the default since vertex buffer should be static. </td></tr>
808    <tr><td valign=top><em>ibUsage</em>&nbsp;</td><td>Index buffer usage flags. Recommend the default since index buffer should be dynamic to change levels but not readable. </td></tr>
809    <tr><td valign=top><em>vbUseShadow</em>&nbsp;</td><td>Flag to determine if a shadow buffer is generated for the vertex buffer. See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> for full details. </td></tr>
810    <tr><td valign=top><em>ibUseShadow</em>&nbsp;</td><td>Flag to determine if a shadow buffer is generated for the index buffer. See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> for full details. </td></tr>
811  </table>
812</dl>
813    </td>
814  </tr>
815</table>
816<a class="anchor" name="Ogre_1_1MeshManagera6" doxytag="Ogre::MeshManager::createCurvedIllusionPlane" ></a><p>
817<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
818  <tr>
819    <td class="mdRow">
820      <table cellpadding="0" cellspacing="0" border="0">
821        <tr>
822          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a> Ogre::MeshManager::createCurvedIllusionPlane </td>
823          <td class="md" valign="top">(&nbsp;</td>
824          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
825          <td class="mdname" nowrap> <em>name</em>, </td>
826        </tr>
827        <tr>
828          <td class="md" nowrap align="right"></td>
829          <td></td>
830          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
831          <td class="mdname" nowrap> <em>groupName</em>, </td>
832        </tr>
833        <tr>
834          <td class="md" nowrap align="right"></td>
835          <td></td>
836          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
837          <td class="mdname" nowrap> <em>plane</em>, </td>
838        </tr>
839        <tr>
840          <td class="md" nowrap align="right"></td>
841          <td></td>
842          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
843          <td class="mdname" nowrap> <em>width</em>, </td>
844        </tr>
845        <tr>
846          <td class="md" nowrap align="right"></td>
847          <td></td>
848          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
849          <td class="mdname" nowrap> <em>height</em>, </td>
850        </tr>
851        <tr>
852          <td class="md" nowrap align="right"></td>
853          <td></td>
854          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
855          <td class="mdname" nowrap> <em>curvature</em>, </td>
856        </tr>
857        <tr>
858          <td class="md" nowrap align="right"></td>
859          <td></td>
860          <td class="md" nowrap>int&nbsp;</td>
861          <td class="mdname" nowrap> <em>xsegments</em> = 1, </td>
862        </tr>
863        <tr>
864          <td class="md" nowrap align="right"></td>
865          <td></td>
866          <td class="md" nowrap>int&nbsp;</td>
867          <td class="mdname" nowrap> <em>ysegments</em> = 1, </td>
868        </tr>
869        <tr>
870          <td class="md" nowrap align="right"></td>
871          <td></td>
872          <td class="md" nowrap>bool&nbsp;</td>
873          <td class="mdname" nowrap> <em>normals</em> = true, </td>
874        </tr>
875        <tr>
876          <td class="md" nowrap align="right"></td>
877          <td></td>
878          <td class="md" nowrap>int&nbsp;</td>
879          <td class="mdname" nowrap> <em>numTexCoordSets</em> = 1, </td>
880        </tr>
881        <tr>
882          <td class="md" nowrap align="right"></td>
883          <td></td>
884          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
885          <td class="mdname" nowrap> <em>uTile</em> = 1.0f, </td>
886        </tr>
887        <tr>
888          <td class="md" nowrap align="right"></td>
889          <td></td>
890          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
891          <td class="mdname" nowrap> <em>vTile</em> = 1.0f, </td>
892        </tr>
893        <tr>
894          <td class="md" nowrap align="right"></td>
895          <td></td>
896          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
897          <td class="mdname" nowrap> <em>upVector</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a>, </td>
898        </tr>
899        <tr>
900          <td class="md" nowrap align="right"></td>
901          <td></td>
902          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;&nbsp;</td>
903          <td class="mdname" nowrap> <em>orientation</em> = <a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a>, </td>
904        </tr>
905        <tr>
906          <td class="md" nowrap align="right"></td>
907          <td></td>
908          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
909          <td class="mdname" nowrap> <em>vertexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
910        </tr>
911        <tr>
912          <td class="md" nowrap align="right"></td>
913          <td></td>
914          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
915          <td class="mdname" nowrap> <em>indexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
916        </tr>
917        <tr>
918          <td class="md" nowrap align="right"></td>
919          <td></td>
920          <td class="md" nowrap>bool&nbsp;</td>
921          <td class="mdname" nowrap> <em>vertexShadowBuffer</em> = true, </td>
922        </tr>
923        <tr>
924          <td class="md" nowrap align="right"></td>
925          <td></td>
926          <td class="md" nowrap>bool&nbsp;</td>
927          <td class="mdname" nowrap> <em>indexShadowBuffer</em> = true, </td>
928        </tr>
929        <tr>
930          <td class="md" nowrap align="right"></td>
931          <td></td>
932          <td class="md" nowrap>int&nbsp;</td>
933          <td class="mdname" nowrap> <em>ySegmentsToKeep</em> = -1</td>
934        </tr>
935        <tr>
936          <td></td>
937          <td class="md">)&nbsp;</td>
938          <td class="md" colspan="2"></td>
939        </tr>
940
941      </table>
942    </td>
943  </tr>
944</table>
945<table cellspacing=5 cellpadding=0 border=0>
946  <tr>
947    <td>
948      &nbsp;
949    </td>
950    <td>
951
952<p>
953Creates a plane, which because of it's texture coordinates looks like a curved surface, useful for skies in a skybox.
954<p>
955<dl compact><dt><b>Parameters:</b></dt><dd>
956  <table border="0" cellspacing="2" cellpadding="0">
957    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to give the resulting mesh </td></tr>
958    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group to assign the mesh to </td></tr>
959    <tr><td valign=top><em>plane</em>&nbsp;</td><td>The orientation of the plane and distance from the origin </td></tr>
960    <tr><td valign=top><em>width</em>&nbsp;</td><td>The width of the plane in world coordinates </td></tr>
961    <tr><td valign=top><em>height</em>&nbsp;</td><td>The height of the plane in world coordinates </td></tr>
962    <tr><td valign=top><em>curvature</em>&nbsp;</td><td>The curvature of the plane. Good values are between 2 and 65. Higher values are more curved leading to a smoother effect, lower values are less curved meaning more distortion at the horizons but a better distance effect. </td></tr>
963    <tr><td valign=top><em>xsegments</em>&nbsp;</td><td>The number of segements to the plane in the x direction </td></tr>
964    <tr><td valign=top><em>ysegments</em>&nbsp;</td><td>The number of segements to the plane in the y direction </td></tr>
965    <tr><td valign=top><em>normals</em>&nbsp;</td><td>If true, normals are created perpendicular to the plane </td></tr>
966    <tr><td valign=top><em>numTexCoordSets</em>&nbsp;</td><td>The number of 2D texture coordinate sets created - by default the corners are created to be the corner of the texture. </td></tr>
967    <tr><td valign=top><em>uTile</em>&nbsp;</td><td>The number of times the texture should be repeated in the u direction </td></tr>
968    <tr><td valign=top><em>vTile</em>&nbsp;</td><td>The number of times the texture should be repeated in the v direction </td></tr>
969    <tr><td valign=top><em>upVector</em>&nbsp;</td><td>The 'Up' direction of the plane. </td></tr>
970    <tr><td valign=top><em>orientation</em>&nbsp;</td><td>The orientation of the overall sphere that's used to create the illusion </td></tr>
971    <tr><td valign=top><em>vertexBufferUsage</em>&nbsp;</td><td>The usage flag with which the vertex buffer for this plane will be created </td></tr>
972    <tr><td valign=top><em>indexBufferUsage</em>&nbsp;</td><td>The usage flag with which the index buffer for this plane will be created </td></tr>
973    <tr><td valign=top><em>vertexShadowBuffer</em>&nbsp;</td><td>If this flag is set to true, the vertex buffer will be created with a system memory shadow buffer, allowing you to read it back more efficiently than if it is in hardware </td></tr>
974    <tr><td valign=top><em>indexShadowBuffer</em>&nbsp;</td><td>If this flag is set to true, the index buffer will be created with a system memory shadow buffer, allowing you to read it back more efficiently than if it is in hardware </td></tr>
975    <tr><td valign=top><em>ySegmentsToKeep</em>&nbsp;</td><td>The number of segments from the top of the dome downwards to keep. -1 keeps all of them. This can save fillrate if you cannot see much of the sky lower down. </td></tr>
976  </table>
977</dl>
978    </td>
979  </tr>
980</table>
981<a class="anchor" name="Ogre_1_1MeshManagera7" doxytag="Ogre::MeshManager::createCurvedPlane" ></a><p>
982<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
983  <tr>
984    <td class="mdRow">
985      <table cellpadding="0" cellspacing="0" border="0">
986        <tr>
987          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a> Ogre::MeshManager::createCurvedPlane </td>
988          <td class="md" valign="top">(&nbsp;</td>
989          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
990          <td class="mdname" nowrap> <em>name</em>, </td>
991        </tr>
992        <tr>
993          <td class="md" nowrap align="right"></td>
994          <td></td>
995          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
996          <td class="mdname" nowrap> <em>groupName</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="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
1002          <td class="mdname" nowrap> <em>plane</em>, </td>
1003        </tr>
1004        <tr>
1005          <td class="md" nowrap align="right"></td>
1006          <td></td>
1007          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1008          <td class="mdname" nowrap> <em>width</em>, </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="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1014          <td class="mdname" nowrap> <em>height</em>, </td>
1015        </tr>
1016        <tr>
1017          <td class="md" nowrap align="right"></td>
1018          <td></td>
1019          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1020          <td class="mdname" nowrap> <em>bow</em> = 0.5f, </td>
1021        </tr>
1022        <tr>
1023          <td class="md" nowrap align="right"></td>
1024          <td></td>
1025          <td class="md" nowrap>int&nbsp;</td>
1026          <td class="mdname" nowrap> <em>xsegments</em> = 1, </td>
1027        </tr>
1028        <tr>
1029          <td class="md" nowrap align="right"></td>
1030          <td></td>
1031          <td class="md" nowrap>int&nbsp;</td>
1032          <td class="mdname" nowrap> <em>ysegments</em> = 1, </td>
1033        </tr>
1034        <tr>
1035          <td class="md" nowrap align="right"></td>
1036          <td></td>
1037          <td class="md" nowrap>bool&nbsp;</td>
1038          <td class="mdname" nowrap> <em>normals</em> = false, </td>
1039        </tr>
1040        <tr>
1041          <td class="md" nowrap align="right"></td>
1042          <td></td>
1043          <td class="md" nowrap>int&nbsp;</td>
1044          <td class="mdname" nowrap> <em>numTexCoordSets</em> = 1, </td>
1045        </tr>
1046        <tr>
1047          <td class="md" nowrap align="right"></td>
1048          <td></td>
1049          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1050          <td class="mdname" nowrap> <em>xTile</em> = 1.0f, </td>
1051        </tr>
1052        <tr>
1053          <td class="md" nowrap align="right"></td>
1054          <td></td>
1055          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1056          <td class="mdname" nowrap> <em>yTile</em> = 1.0f, </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="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1062          <td class="mdname" nowrap> <em>upVector</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a>, </td>
1063        </tr>
1064        <tr>
1065          <td class="md" nowrap align="right"></td>
1066          <td></td>
1067          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
1068          <td class="mdname" nowrap> <em>vertexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
1069        </tr>
1070        <tr>
1071          <td class="md" nowrap align="right"></td>
1072          <td></td>
1073          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
1074          <td class="mdname" nowrap> <em>indexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
1075        </tr>
1076        <tr>
1077          <td class="md" nowrap align="right"></td>
1078          <td></td>
1079          <td class="md" nowrap>bool&nbsp;</td>
1080          <td class="mdname" nowrap> <em>vertexShadowBuffer</em> = true, </td>
1081        </tr>
1082        <tr>
1083          <td class="md" nowrap align="right"></td>
1084          <td></td>
1085          <td class="md" nowrap>bool&nbsp;</td>
1086          <td class="mdname" nowrap> <em>indexShadowBuffer</em> = true</td>
1087        </tr>
1088        <tr>
1089          <td></td>
1090          <td class="md">)&nbsp;</td>
1091          <td class="md" colspan="2"></td>
1092        </tr>
1093
1094      </table>
1095    </td>
1096  </tr>
1097</table>
1098<table cellspacing=5 cellpadding=0 border=0>
1099  <tr>
1100    <td>
1101      &nbsp;
1102    </td>
1103    <td>
1104
1105<p>
1106Creates a genuinely curved plane, by default majoring on the x/y axes facing positive Z.
1107<p>
1108<dl compact><dt><b>Parameters:</b></dt><dd>
1109  <table border="0" cellspacing="2" cellpadding="0">
1110    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to give the resulting mesh </td></tr>
1111    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group to assign the mesh to </td></tr>
1112    <tr><td valign=top><em>plane</em>&nbsp;</td><td>The orientation of the plane and distance from the origin </td></tr>
1113    <tr><td valign=top><em>width</em>&nbsp;</td><td>The width of the plane in world coordinates </td></tr>
1114    <tr><td valign=top><em>height</em>&nbsp;</td><td>The height of the plane in world coordinates </td></tr>
1115    <tr><td valign=top><em>bow</em>&nbsp;</td><td>The amount of 'bow' in the curved plane. (Could also be concidered the depth.) </td></tr>
1116    <tr><td valign=top><em>xsegments</em>&nbsp;</td><td>The number of segements to the plane in the x direction </td></tr>
1117    <tr><td valign=top><em>ysegments</em>&nbsp;</td><td>The number of segements to the plane in the y direction </td></tr>
1118    <tr><td valign=top><em>normals</em>&nbsp;</td><td>If true, normals are created perpendicular to the plane </td></tr>
1119    <tr><td valign=top><em>numTexCoordSets</em>&nbsp;</td><td>The number of 2D texture coordinate sets created - by default the corners are created to be the corner of the texture. </td></tr>
1120    <tr><td valign=top><em>uTile</em>&nbsp;</td><td>The number of times the texture should be repeated in the u direction </td></tr>
1121    <tr><td valign=top><em>vTile</em>&nbsp;</td><td>The number of times the texture should be repeated in the v direction </td></tr>
1122    <tr><td valign=top><em>upVector</em>&nbsp;</td><td>The 'Up' direction of the plane. </td></tr>
1123    <tr><td valign=top><em>vertexBufferUsage</em>&nbsp;</td><td>The usage flag with which the vertex buffer for this plane will be created </td></tr>
1124    <tr><td valign=top><em>indexBufferUsage</em>&nbsp;</td><td>The usage flag with which the index buffer for this plane will be created </td></tr>
1125    <tr><td valign=top><em>vertexShadowBuffer</em>&nbsp;</td><td>If this flag is set to true, the vertex buffer will be created with a system memory shadow buffer, allowing you to read it back more efficiently than if it is in hardware </td></tr>
1126    <tr><td valign=top><em>indexShadowBuffer</em>&nbsp;</td><td>If this flag is set to true, the index buffer will be created with a system memory shadow buffer, allowing you to read it back more efficiently than if it is in hardware </td></tr>
1127  </table>
1128</dl>
1129    </td>
1130  </tr>
1131</table>
1132<a class="anchor" name="Ogre_1_1MeshManagerb0" doxytag="Ogre::MeshManager::createImpl" ></a><p>
1133<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1134  <tr>
1135    <td class="mdRow">
1136      <table cellpadding="0" cellspacing="0" border="0">
1137        <tr>
1138          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Resource.html">Resource</a>* Ogre::MeshManager::createImpl </td>
1139          <td class="md" valign="top">(&nbsp;</td>
1140          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1141          <td class="mdname" nowrap> <em>name</em>, </td>
1142        </tr>
1143        <tr>
1144          <td class="md" nowrap align="right"></td>
1145          <td></td>
1146          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
1147          <td class="mdname" nowrap> <em>handle</em>, </td>
1148        </tr>
1149        <tr>
1150          <td class="md" nowrap align="right"></td>
1151          <td></td>
1152          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1153          <td class="mdname" nowrap> <em>group</em>, </td>
1154        </tr>
1155        <tr>
1156          <td class="md" nowrap align="right"></td>
1157          <td></td>
1158          <td class="md" nowrap>bool&nbsp;</td>
1159          <td class="mdname" nowrap> <em>isManual</em>, </td>
1160        </tr>
1161        <tr>
1162          <td class="md" nowrap align="right"></td>
1163          <td></td>
1164          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
1165          <td class="mdname" nowrap> <em>loader</em>, </td>
1166        </tr>
1167        <tr>
1168          <td class="md" nowrap align="right"></td>
1169          <td></td>
1170          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *&nbsp;</td>
1171          <td class="mdname" nowrap> <em>createParams</em></td>
1172        </tr>
1173        <tr>
1174          <td></td>
1175          <td class="md">)&nbsp;</td>
1176          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1177        </tr>
1178
1179      </table>
1180    </td>
1181  </tr>
1182</table>
1183<table cellspacing=5 cellpadding=0 border=0>
1184  <tr>
1185    <td>
1186      &nbsp;
1187    </td>
1188    <td>
1189
1190<p>
1191<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>
1192<dl compact><dt><b>Parameters:</b></dt><dd>
1193  <table border="0" cellspacing="2" cellpadding="0">
1194    <tr><td valign=top><em>name</em>&nbsp;</td><td>The unique name of the resource </td></tr>
1195    <tr><td valign=top><em>group</em>&nbsp;</td><td>The name of the resource group to attach this new resource to </td></tr>
1196    <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>
1197    <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>
1198    <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>
1199  </table>
1200</dl>
1201 
1202<p>
1203
1204<p>
1205Implements <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb1">Ogre::ResourceManager</a>.    </td>
1206  </tr>
1207</table>
1208<a class="anchor" name="Ogre_1_1MeshManagera4" doxytag="Ogre::MeshManager::createManual" ></a><p>
1209<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1210  <tr>
1211    <td class="mdRow">
1212      <table cellpadding="0" cellspacing="0" border="0">
1213        <tr>
1214          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a> Ogre::MeshManager::createManual </td>
1215          <td class="md" valign="top">(&nbsp;</td>
1216          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1217          <td class="mdname" nowrap> <em>name</em>, </td>
1218        </tr>
1219        <tr>
1220          <td class="md" nowrap align="right"></td>
1221          <td></td>
1222          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1223          <td class="mdname" nowrap> <em>groupName</em>, </td>
1224        </tr>
1225        <tr>
1226          <td class="md" nowrap align="right"></td>
1227          <td></td>
1228          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
1229          <td class="mdname" nowrap> <em>loader</em> = 0</td>
1230        </tr>
1231        <tr>
1232          <td></td>
1233          <td class="md">)&nbsp;</td>
1234          <td class="md" colspan="2"></td>
1235        </tr>
1236
1237      </table>
1238    </td>
1239  </tr>
1240</table>
1241<table cellspacing=5 cellpadding=0 border=0>
1242  <tr>
1243    <td>
1244      &nbsp;
1245    </td>
1246    <td>
1247
1248<p>
1249Creates a new <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> specifically for manual definition rather than loading from an object file.
1250<p>
1251<dl compact><dt><b>Remarks:</b></dt><dd>Note that once you've defined your mesh, you must call <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha15">Mesh::_setBounds</a> and Mesh::_setBoundingRadius in order to define the bounds of your mesh. In previous versions of OGRE you could call Mesh::_updateBounds, but OGRE's support of write-only vertex buffers makes this no longer appropriate. </dd></dl>
1252<dl compact><dt><b>Parameters:</b></dt><dd>
1253  <table border="0" cellspacing="2" cellpadding="0">
1254    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to give the new mesh </td></tr>
1255    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group to assign the mesh to </td></tr>
1256    <tr><td valign=top><em>loader</em>&nbsp;</td><td><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> which will be called to load this mesh when the time comes. It is recommended that you populate this field in order that the mesh can be rebuilt should the need arise </td></tr>
1257  </table>
1258</dl>
1259    </td>
1260  </tr>
1261</table>
1262<a class="anchor" name="Ogre_1_1MeshManagera5" doxytag="Ogre::MeshManager::createPlane" ></a><p>
1263<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1264  <tr>
1265    <td class="mdRow">
1266      <table cellpadding="0" cellspacing="0" border="0">
1267        <tr>
1268          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a> Ogre::MeshManager::createPlane </td>
1269          <td class="md" valign="top">(&nbsp;</td>
1270          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1271          <td class="mdname" nowrap> <em>name</em>, </td>
1272        </tr>
1273        <tr>
1274          <td class="md" nowrap align="right"></td>
1275          <td></td>
1276          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1277          <td class="mdname" nowrap> <em>groupName</em>, </td>
1278        </tr>
1279        <tr>
1280          <td class="md" nowrap align="right"></td>
1281          <td></td>
1282          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
1283          <td class="mdname" nowrap> <em>plane</em>, </td>
1284        </tr>
1285        <tr>
1286          <td class="md" nowrap align="right"></td>
1287          <td></td>
1288          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1289          <td class="mdname" nowrap> <em>width</em>, </td>
1290        </tr>
1291        <tr>
1292          <td class="md" nowrap align="right"></td>
1293          <td></td>
1294          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1295          <td class="mdname" nowrap> <em>height</em>, </td>
1296        </tr>
1297        <tr>
1298          <td class="md" nowrap align="right"></td>
1299          <td></td>
1300          <td class="md" nowrap>int&nbsp;</td>
1301          <td class="mdname" nowrap> <em>xsegments</em> = 1, </td>
1302        </tr>
1303        <tr>
1304          <td class="md" nowrap align="right"></td>
1305          <td></td>
1306          <td class="md" nowrap>int&nbsp;</td>
1307          <td class="mdname" nowrap> <em>ysegments</em> = 1, </td>
1308        </tr>
1309        <tr>
1310          <td class="md" nowrap align="right"></td>
1311          <td></td>
1312          <td class="md" nowrap>bool&nbsp;</td>
1313          <td class="mdname" nowrap> <em>normals</em> = true, </td>
1314        </tr>
1315        <tr>
1316          <td class="md" nowrap align="right"></td>
1317          <td></td>
1318          <td class="md" nowrap>int&nbsp;</td>
1319          <td class="mdname" nowrap> <em>numTexCoordSets</em> = 1, </td>
1320        </tr>
1321        <tr>
1322          <td class="md" nowrap align="right"></td>
1323          <td></td>
1324          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1325          <td class="mdname" nowrap> <em>uTile</em> = 1.0f, </td>
1326        </tr>
1327        <tr>
1328          <td class="md" nowrap align="right"></td>
1329          <td></td>
1330          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1331          <td class="mdname" nowrap> <em>vTile</em> = 1.0f, </td>
1332        </tr>
1333        <tr>
1334          <td class="md" nowrap align="right"></td>
1335          <td></td>
1336          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1337          <td class="mdname" nowrap> <em>upVector</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Vector3::UNIT_Y</a>, </td>
1338        </tr>
1339        <tr>
1340          <td class="md" nowrap align="right"></td>
1341          <td></td>
1342          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
1343          <td class="mdname" nowrap> <em>vertexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
1344        </tr>
1345        <tr>
1346          <td class="md" nowrap align="right"></td>
1347          <td></td>
1348          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
1349          <td class="mdname" nowrap> <em>indexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
1350        </tr>
1351        <tr>
1352          <td class="md" nowrap align="right"></td>
1353          <td></td>
1354          <td class="md" nowrap>bool&nbsp;</td>
1355          <td class="mdname" nowrap> <em>vertexShadowBuffer</em> = true, </td>
1356        </tr>
1357        <tr>
1358          <td class="md" nowrap align="right"></td>
1359          <td></td>
1360          <td class="md" nowrap>bool&nbsp;</td>
1361          <td class="mdname" nowrap> <em>indexShadowBuffer</em> = true</td>
1362        </tr>
1363        <tr>
1364          <td></td>
1365          <td class="md">)&nbsp;</td>
1366          <td class="md" colspan="2"></td>
1367        </tr>
1368
1369      </table>
1370    </td>
1371  </tr>
1372</table>
1373<table cellspacing=5 cellpadding=0 border=0>
1374  <tr>
1375    <td>
1376      &nbsp;
1377    </td>
1378    <td>
1379
1380<p>
1381Creates a basic plane, by default majoring on the x/y axes facing positive Z.
1382<p>
1383<dl compact><dt><b>Parameters:</b></dt><dd>
1384  <table border="0" cellspacing="2" cellpadding="0">
1385    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name to give the resulting mesh </td></tr>
1386    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group to assign the mesh to </td></tr>
1387    <tr><td valign=top><em>plane</em>&nbsp;</td><td>The orientation of the plane and distance from the origin </td></tr>
1388    <tr><td valign=top><em>width</em>&nbsp;</td><td>The width of the plane in world coordinates </td></tr>
1389    <tr><td valign=top><em>height</em>&nbsp;</td><td>The height of the plane in world coordinates </td></tr>
1390    <tr><td valign=top><em>xsegments</em>&nbsp;</td><td>The number of segements to the plane in the x direction </td></tr>
1391    <tr><td valign=top><em>ysegments</em>&nbsp;</td><td>The number of segements to the plane in the y direction </td></tr>
1392    <tr><td valign=top><em>normals</em>&nbsp;</td><td>If true, normals are created perpendicular to the plane </td></tr>
1393    <tr><td valign=top><em>numTexCoordSets</em>&nbsp;</td><td>The number of 2D texture coordinate sets created - by default the corners are created to be the corner of the texture. </td></tr>
1394    <tr><td valign=top><em>uTile</em>&nbsp;</td><td>The number of times the texture should be repeated in the u direction </td></tr>
1395    <tr><td valign=top><em>vTile</em>&nbsp;</td><td>The number of times the texture should be repeated in the v direction </td></tr>
1396    <tr><td valign=top><em>upVector</em>&nbsp;</td><td>The 'Up' direction of the plane. </td></tr>
1397    <tr><td valign=top><em>vertexBufferUsage</em>&nbsp;</td><td>The usage flag with which the vertex buffer for this plane will be created </td></tr>
1398    <tr><td valign=top><em>indexBufferUsage</em>&nbsp;</td><td>The usage flag with which the index buffer for this plane will be created </td></tr>
1399    <tr><td valign=top><em>vertexShadowBuffer</em>&nbsp;</td><td>If this flag is set to true, the vertex buffer will be created with a system memory shadow buffer, allowing you to read it back more efficiently than if it is in hardware </td></tr>
1400    <tr><td valign=top><em>indexShadowBuffer</em>&nbsp;</td><td>If this flag is set to true, the index buffer will be created with a system memory shadow buffer, allowing you to read it back more efficiently than if it is in hardware </td></tr>
1401  </table>
1402</dl>
1403    </td>
1404  </tr>
1405</table>
1406<a class="anchor" name="Ogre_1_1MeshManagerb2" doxytag="Ogre::MeshManager::createPrefabPlane" ></a><p>
1407<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1408  <tr>
1409    <td class="mdRow">
1410      <table cellpadding="0" cellspacing="0" border="0">
1411        <tr>
1412          <td class="md" nowrap valign="top"> void Ogre::MeshManager::createPrefabPlane </td>
1413          <td class="md" valign="top">(&nbsp;</td>
1414          <td class="md" nowrap valign="top">void&nbsp;</td>
1415          <td class="mdname1" valign="top" nowrap>          </td>
1416          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1417          <td class="md" nowrap><code> [protected]</code></td>
1418        </tr>
1419
1420      </table>
1421    </td>
1422  </tr>
1423</table>
1424<table cellspacing=5 cellpadding=0 border=0>
1425  <tr>
1426    <td>
1427      &nbsp;
1428    </td>
1429    <td>
1430
1431<p>
1432    </td>
1433  </tr>
1434</table>
1435<a class="anchor" name="Ogre_1_1MeshManagera11" doxytag="Ogre::MeshManager::getBoundsPaddingFactor" ></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"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::MeshManager::getBoundsPaddingFactor </td>
1442          <td class="md" valign="top">(&nbsp;</td>
1443          <td class="md" nowrap valign="top">void&nbsp;</td>
1444          <td class="mdname1" valign="top" nowrap>          </td>
1445          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1446          <td class="md" nowrap></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>
1461Gets the factor by which the bounding box of an entity is padded.
1462<p>
1463Default is 0.01    </td>
1464  </tr>
1465</table>
1466<a class="anchor" name="Ogre_1_1TextureManagera23" doxytag="Ogre::MeshManager::getByHandle" ></a><p>
1467<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1468  <tr>
1469    <td class="mdRow">
1470      <table cellpadding="0" cellspacing="0" border="0">
1471        <tr>
1472          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByHandle </td>
1473          <td class="md" valign="top">(&nbsp;</td>
1474          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
1475          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
1476          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1477          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1478        </tr>
1479
1480      </table>
1481    </td>
1482  </tr>
1483</table>
1484<table cellspacing=5 cellpadding=0 border=0>
1485  <tr>
1486    <td>
1487      &nbsp;
1488    </td>
1489    <td>
1490
1491<p>
1492Retrieves a pointer to a resource by handle, or null if the resource does not exist.
1493<p>
1494    </td>
1495  </tr>
1496</table>
1497<a class="anchor" name="Ogre_1_1TextureManagera22" doxytag="Ogre::MeshManager::getByName" ></a><p>
1498<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1499  <tr>
1500    <td class="mdRow">
1501      <table cellpadding="0" cellspacing="0" border="0">
1502        <tr>
1503          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByName </td>
1504          <td class="md" valign="top">(&nbsp;</td>
1505          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1506          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1507          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1508          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1509        </tr>
1510
1511      </table>
1512    </td>
1513  </tr>
1514</table>
1515<table cellspacing=5 cellpadding=0 border=0>
1516  <tr>
1517    <td>
1518      &nbsp;
1519    </td>
1520    <td>
1521
1522<p>
1523Retrieves a pointer to a resource by name, or null if the resource does not exist.
1524<p>
1525    </td>
1526  </tr>
1527</table>
1528<a class="anchor" name="Ogre_1_1TextureManagera32" doxytag="Ogre::MeshManager::getLoadingOrder" ></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"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::ResourceManager::getLoadingOrder </td>
1535          <td class="md" valign="top">(&nbsp;</td>
1536          <td class="md" nowrap valign="top">void&nbsp;</td>
1537          <td class="mdname1" valign="top" nowrap>          </td>
1538          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1539          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
1540        </tr>
1541
1542      </table>
1543    </td>
1544  </tr>
1545</table>
1546<table cellspacing=5 cellpadding=0 border=0>
1547  <tr>
1548    <td>
1549      &nbsp;
1550    </td>
1551    <td>
1552
1553<p>
1554Gets the relative loading order of resources of this type.
1555<p>
1556<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>
1557
1558<p>
1559Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera3">Ogre::ScriptLoader</a>.
1560<p>
1561Definition 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>.
1562<p>
1563References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1564  </tr>
1565</table>
1566<a class="anchor" name="Ogre_1_1TextureManagera13" doxytag="Ogre::MeshManager::getMemoryBudget" ></a><p>
1567<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1568  <tr>
1569    <td class="mdRow">
1570      <table cellpadding="0" cellspacing="0" border="0">
1571        <tr>
1572          <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryBudget </td>
1573          <td class="md" valign="top">(&nbsp;</td>
1574          <td class="md" nowrap valign="top">void&nbsp;</td>
1575          <td class="mdname1" valign="top" nowrap>          </td>
1576          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1577          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
1578        </tr>
1579
1580      </table>
1581    </td>
1582  </tr>
1583</table>
1584<table cellspacing=5 cellpadding=0 border=0>
1585  <tr>
1586    <td>
1587      &nbsp;
1588    </td>
1589    <td>
1590
1591<p>
1592Get the limit on the amount of memory this resource handler may use.
1593<p>
1594    </td>
1595  </tr>
1596</table>
1597<a class="anchor" name="Ogre_1_1TextureManagerb5" doxytag="Ogre::MeshManager::getMemoryUsage" ></a><p>
1598<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1599  <tr>
1600    <td class="mdRow">
1601      <table cellpadding="0" cellspacing="0" border="0">
1602        <tr>
1603          <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryUsage </td>
1604          <td class="md" valign="top">(&nbsp;</td>
1605          <td class="md" nowrap valign="top">void&nbsp;</td>
1606          <td class="mdname1" valign="top" nowrap>          </td>
1607          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1608          <td class="md" nowrap> const<code> [protected, virtual, inherited]</code></td>
1609        </tr>
1610
1611      </table>
1612    </td>
1613  </tr>
1614</table>
1615<table cellspacing=5 cellpadding=0 border=0>
1616  <tr>
1617    <td>
1618      &nbsp;
1619    </td>
1620    <td>
1621
1622<p>
1623Gets the current memory usage, in bytes.
1624<p>
1625
1626<p>
1627Definition 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>
1628  </tr>
1629</table>
1630<a class="anchor" name="Ogre_1_1TextureManagerb0" doxytag="Ogre::MeshManager::getNextHandle" ></a><p>
1631<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1632  <tr>
1633    <td class="mdRow">
1634      <table cellpadding="0" cellspacing="0" border="0">
1635        <tr>
1636          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> Ogre::ResourceManager::getNextHandle </td>
1637          <td class="md" valign="top">(&nbsp;</td>
1638          <td class="md" nowrap valign="top">void&nbsp;</td>
1639          <td class="mdname1" valign="top" nowrap>          </td>
1640          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1641          <td class="md" nowrap><code> [protected, inherited]</code></td>
1642        </tr>
1643
1644      </table>
1645    </td>
1646  </tr>
1647</table>
1648<table cellspacing=5 cellpadding=0 border=0>
1649  <tr>
1650    <td>
1651      &nbsp;
1652    </td>
1653    <td>
1654
1655<p>
1656Allocates the next handle.
1657<p>
1658    </td>
1659  </tr>
1660</table>
1661<a class="anchor" name="Ogre_1_1MeshManagera10" doxytag="Ogre::MeshManager::getPrepareAllMeshesForShadowVolumes" ></a><p>
1662<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1663  <tr>
1664    <td class="mdRow">
1665      <table cellpadding="0" cellspacing="0" border="0">
1666        <tr>
1667          <td class="md" nowrap valign="top"> bool Ogre::MeshManager::getPrepareAllMeshesForShadowVolumes </td>
1668          <td class="md" valign="top">(&nbsp;</td>
1669          <td class="md" nowrap valign="top">void&nbsp;</td>
1670          <td class="mdname1" valign="top" nowrap>          </td>
1671          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1672          <td class="md" nowrap></td>
1673        </tr>
1674
1675      </table>
1676    </td>
1677  </tr>
1678</table>
1679<table cellspacing=5 cellpadding=0 border=0>
1680  <tr>
1681    <td>
1682      &nbsp;
1683    </td>
1684    <td>
1685
1686<p>
1687Retrieves whether all Meshes should prepare themselves for shadow volumes.
1688<p>
1689    </td>
1690  </tr>
1691</table>
1692<a class="anchor" name="Ogre_1_1TextureManagera34" doxytag="Ogre::MeshManager::getResourceIterator" ></a><p>
1693<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1694  <tr>
1695    <td class="mdRow">
1696      <table cellpadding="0" cellspacing="0" border="0">
1697        <tr>
1698          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a> Ogre::ResourceManager::getResourceIterator </td>
1699          <td class="md" valign="top">(&nbsp;</td>
1700          <td class="md" nowrap valign="top">void&nbsp;</td>
1701          <td class="mdname1" valign="top" nowrap>          </td>
1702          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1703          <td class="md" nowrap><code> [inherited]</code></td>
1704        </tr>
1705
1706      </table>
1707    </td>
1708  </tr>
1709</table>
1710<table cellspacing=5 cellpadding=0 border=0>
1711  <tr>
1712    <td>
1713      &nbsp;
1714    </td>
1715    <td>
1716
1717<p>
1718Returns an iterator over all resources in this manager.
1719<p>
1720<dl compact><dt><b>Note:</b></dt><dd>Use of this iterator is NOT thread safe! </dd></dl>
1721
1722<p>
1723Definition 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>.
1724<p>
1725References <a class="el" href="OgreResourceManager_8h-source.html#l00361">Ogre::ResourceManager::ResourceMapIterator</a>.    </td>
1726  </tr>
1727</table>
1728<a class="anchor" name="Ogre_1_1TextureManagera33" doxytag="Ogre::MeshManager::getResourceType" ></a><p>
1729<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1730  <tr>
1731    <td class="mdRow">
1732      <table cellpadding="0" cellspacing="0" border="0">
1733        <tr>
1734          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>&amp; Ogre::ResourceManager::getResourceType </td>
1735          <td class="md" valign="top">(&nbsp;</td>
1736          <td class="md" nowrap valign="top">void&nbsp;</td>
1737          <td class="mdname1" valign="top" nowrap>          </td>
1738          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1739          <td class="md" nowrap> const<code> [inherited]</code></td>
1740        </tr>
1741
1742      </table>
1743    </td>
1744  </tr>
1745</table>
1746<table cellspacing=5 cellpadding=0 border=0>
1747  <tr>
1748    <td>
1749      &nbsp;
1750    </td>
1751    <td>
1752
1753<p>
1754Gets a string identifying the type of resource this manager handles.
1755<p>
1756
1757<p>
1758Definition 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>.
1759<p>
1760References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
1761  </tr>
1762</table>
1763<a class="anchor" name="Ogre_1_1TextureManagera30" doxytag="Ogre::MeshManager::getScriptPatterns" ></a><p>
1764<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1765  <tr>
1766    <td class="mdRow">
1767      <table cellpadding="0" cellspacing="0" border="0">
1768        <tr>
1769          <td class="md" nowrap valign="top"> virtual const <a class="el" href="namespaceOgre.html#a535">StringVector</a>&amp; Ogre::ResourceManager::getScriptPatterns </td>
1770          <td class="md" valign="top">(&nbsp;</td>
1771          <td class="md" nowrap valign="top">void&nbsp;</td>
1772          <td class="mdname1" valign="top" nowrap>          </td>
1773          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1774          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
1775        </tr>
1776
1777      </table>
1778    </td>
1779  </tr>
1780</table>
1781<table cellspacing=5 cellpadding=0 border=0>
1782  <tr>
1783    <td>
1784      &nbsp;
1785    </td>
1786    <td>
1787
1788<p>
1789Gets the file patterns which should be used to find scripts for this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>.
1790<p>
1791<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>
1792<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>
1793<dl compact><dt><b>Returns:</b></dt><dd>A list of file patterns, in the order they should be searched in. </dd></dl>
1794<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>
1795
1796<p>
1797Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera1">Ogre::ScriptLoader</a>.
1798<p>
1799Definition 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>.
1800<p>
1801References <a class="el" href="OgreStringVector_8h-source.html#l00036">Ogre::StringVector</a>.    </td>
1802  </tr>
1803</table>
1804<a class="anchor" name="Ogre_1_1MeshManagere0" doxytag="Ogre::MeshManager::getSingleton" ></a><p>
1805<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1806  <tr>
1807    <td class="mdRow">
1808      <table cellpadding="0" cellspacing="0" border="0">
1809        <tr>
1810          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a>&amp; Ogre::MeshManager::getSingleton </td>
1811          <td class="md" valign="top">(&nbsp;</td>
1812          <td class="md" nowrap valign="top">void&nbsp;</td>
1813          <td class="mdname1" valign="top" nowrap>          </td>
1814          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1815          <td class="md" nowrap><code> [static]</code></td>
1816        </tr>
1817
1818      </table>
1819    </td>
1820  </tr>
1821</table>
1822<table cellspacing=5 cellpadding=0 border=0>
1823  <tr>
1824    <td>
1825      &nbsp;
1826    </td>
1827    <td>
1828
1829<p>
1830Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.
1831<p>
1832<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>
1833<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>
1834
1835<p>
1836Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone0">Ogre::Singleton&lt; MeshManager &gt;</a>.    </td>
1837  </tr>
1838</table>
1839<a class="anchor" name="Ogre_1_1MeshManagere1" doxytag="Ogre::MeshManager::getSingletonPtr" ></a><p>
1840<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1841  <tr>
1842    <td class="mdRow">
1843      <table cellpadding="0" cellspacing="0" border="0">
1844        <tr>
1845          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a>* Ogre::MeshManager::getSingletonPtr </td>
1846          <td class="md" valign="top">(&nbsp;</td>
1847          <td class="md" nowrap valign="top">void&nbsp;</td>
1848          <td class="mdname1" valign="top" nowrap>          </td>
1849          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1850          <td class="md" nowrap><code> [static]</code></td>
1851        </tr>
1852
1853      </table>
1854    </td>
1855  </tr>
1856</table>
1857<table cellspacing=5 cellpadding=0 border=0>
1858  <tr>
1859    <td>
1860      &nbsp;
1861    </td>
1862    <td>
1863
1864<p>
1865Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.
1866<p>
1867<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>
1868<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>
1869
1870<p>
1871Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone1">Ogre::Singleton&lt; MeshManager &gt;</a>.    </td>
1872  </tr>
1873</table>
1874<a class="anchor" name="Ogre_1_1TextureManagera29" doxytag="Ogre::MeshManager::load" ></a><p>
1875<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1876  <tr>
1877    <td class="mdRow">
1878      <table cellpadding="0" cellspacing="0" border="0">
1879        <tr>
1880          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::load </td>
1881          <td class="md" valign="top">(&nbsp;</td>
1882          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1883          <td class="mdname" nowrap> <em>name</em>, </td>
1884        </tr>
1885        <tr>
1886          <td class="md" nowrap align="right"></td>
1887          <td></td>
1888          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1889          <td class="mdname" nowrap> <em>group</em>, </td>
1890        </tr>
1891        <tr>
1892          <td class="md" nowrap align="right"></td>
1893          <td></td>
1894          <td class="md" nowrap>bool&nbsp;</td>
1895          <td class="mdname" nowrap> <em>isManual</em> = false, </td>
1896        </tr>
1897        <tr>
1898          <td class="md" nowrap align="right"></td>
1899          <td></td>
1900          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
1901          <td class="mdname" nowrap> <em>loader</em> = 0, </td>
1902        </tr>
1903        <tr>
1904          <td class="md" nowrap align="right"></td>
1905          <td></td>
1906          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> *&nbsp;</td>
1907          <td class="mdname" nowrap> <em>loadParams</em> = 0</td>
1908        </tr>
1909        <tr>
1910          <td></td>
1911          <td class="md">)&nbsp;</td>
1912          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1913        </tr>
1914
1915      </table>
1916    </td>
1917  </tr>
1918</table>
1919<table cellspacing=5 cellpadding=0 border=0>
1920  <tr>
1921    <td>
1922      &nbsp;
1923    </td>
1924    <td>
1925
1926<p>
1927Generic load method, used to create a <a class="el" href="classOgre_1_1Resource.html">Resource</a> specific to this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> without using one of the specialised 'load' methods (containing per-Resource-type parameters).
1928<p>
1929<dl compact><dt><b>Parameters:</b></dt><dd>
1930  <table border="0" cellspacing="2" cellpadding="0">
1931    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the <a class="el" href="classOgre_1_1Resource.html">Resource</a> </td></tr>
1932    <tr><td valign=top><em>group</em>&nbsp;</td><td>The resource group to which this resource will belong </td></tr>
1933    <tr><td valign=top><em>isManual</em>&nbsp;</td><td>Is the resource to be manually loaded? If so, you should provide a value for the loader parameter </td></tr>
1934    <tr><td valign=top><em>loader</em>&nbsp;</td><td>The manual loader which is to perform the required actions when this resource is loaded; only applicable when you specify true for the previous parameter </td></tr>
1935    <tr><td valign=top><em>loadParams</em>&nbsp;</td><td>Optional pointer to a list of name/value pairs containing loading parameters for this type of resource.</td></tr>
1936  </table>
1937</dl>
1938
1939<p>
1940Reimplemented in <a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagera2">Ogre::BspResourceManager</a>.    </td>
1941  </tr>
1942</table>
1943<a class="anchor" name="Ogre_1_1MeshManagera3" doxytag="Ogre::MeshManager::load" ></a><p>
1944<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1945  <tr>
1946    <td class="mdRow">
1947      <table cellpadding="0" cellspacing="0" border="0">
1948        <tr>
1949          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a> Ogre::MeshManager::load </td>
1950          <td class="md" valign="top">(&nbsp;</td>
1951          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1952          <td class="mdname" nowrap> <em>filename</em>, </td>
1953        </tr>
1954        <tr>
1955          <td class="md" nowrap align="right"></td>
1956          <td></td>
1957          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1958          <td class="mdname" nowrap> <em>groupName</em>, </td>
1959        </tr>
1960        <tr>
1961          <td class="md" nowrap align="right"></td>
1962          <td></td>
1963          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
1964          <td class="mdname" nowrap> <em>vertexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
1965        </tr>
1966        <tr>
1967          <td class="md" nowrap align="right"></td>
1968          <td></td>
1969          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
1970          <td class="mdname" nowrap> <em>indexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
1971        </tr>
1972        <tr>
1973          <td class="md" nowrap align="right"></td>
1974          <td></td>
1975          <td class="md" nowrap>bool&nbsp;</td>
1976          <td class="mdname" nowrap> <em>vertexBufferShadowed</em> = true, </td>
1977        </tr>
1978        <tr>
1979          <td class="md" nowrap align="right"></td>
1980          <td></td>
1981          <td class="md" nowrap>bool&nbsp;</td>
1982          <td class="mdname" nowrap> <em>indexBufferShadowed</em> = true</td>
1983        </tr>
1984        <tr>
1985          <td></td>
1986          <td class="md">)&nbsp;</td>
1987          <td class="md" colspan="2"></td>
1988        </tr>
1989
1990      </table>
1991    </td>
1992  </tr>
1993</table>
1994<table cellspacing=5 cellpadding=0 border=0>
1995  <tr>
1996    <td>
1997      &nbsp;
1998    </td>
1999    <td>
2000
2001<p>
2002Loads a mesh from a file, making it immediately available for use.
2003<p>
2004<dl compact><dt><b>Note:</b></dt><dd>If the model has already been loaded, the existing instance will be returned. </dd></dl>
2005<dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="namespaceOgre.html">Ogre</a> loads model files from it's own proprietary format called .mesh. This is because having a single file format is better for runtime performance, and we also have control over pre-processed data (such as collision boxes, LOD reductions etc). </dd></dl>
2006<dl compact><dt><b>Parameters:</b></dt><dd>
2007  <table border="0" cellspacing="2" cellpadding="0">
2008    <tr><td valign=top><em>filename</em>&nbsp;</td><td>The name of the .mesh file </td></tr>
2009    <tr><td valign=top><em>groupName</em>&nbsp;</td><td>The name of the resource group to assign the mesh to </td></tr>
2010    <tr><td valign=top><em>vertexBufferUsage</em>&nbsp;</td><td>The usage flags with which the vertex buffer(s) will be created </td></tr>
2011    <tr><td valign=top><em>indexBufferUsage</em>&nbsp;</td><td>The usage flags with which the index buffer(s) created for this mesh will be created with. </td></tr>
2012    <tr><td valign=top><em>vertexBufferShadowed</em>&nbsp;</td><td>If true, the vertex buffers will be shadowed by system memory copies for faster read access </td></tr>
2013    <tr><td valign=top><em>indexBufferShadowed</em>&nbsp;</td><td>If true, the index buffers will be shadowed by system memory copies for faster read access </td></tr>
2014    <tr><td valign=top><em>priority</em>&nbsp;</td><td>The priority of this mesh in the resource system </td></tr>
2015  </table>
2016</dl>
2017    </td>
2018  </tr>
2019</table>
2020<a class="anchor" name="Ogre_1_1MeshManagerb5" doxytag="Ogre::MeshManager::loadManualCurvedIllusionPlane" ></a><p>
2021<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2022  <tr>
2023    <td class="mdRow">
2024      <table cellpadding="0" cellspacing="0" border="0">
2025        <tr>
2026          <td class="md" nowrap valign="top"> void Ogre::MeshManager::loadManualCurvedIllusionPlane </td>
2027          <td class="md" valign="top">(&nbsp;</td>
2028          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Mesh.html">Mesh</a> *&nbsp;</td>
2029          <td class="mdname" nowrap> <em>pMesh</em>, </td>
2030        </tr>
2031        <tr>
2032          <td class="md" nowrap align="right"></td>
2033          <td></td>
2034          <td class="md" nowrap><a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a> &amp;&nbsp;</td>
2035          <td class="mdname" nowrap> <em>params</em></td>
2036        </tr>
2037        <tr>
2038          <td></td>
2039          <td class="md">)&nbsp;</td>
2040          <td class="md" colspan="2"><code> [protected]</code></td>
2041        </tr>
2042
2043      </table>
2044    </td>
2045  </tr>
2046</table>
2047<table cellspacing=5 cellpadding=0 border=0>
2048  <tr>
2049    <td>
2050      &nbsp;
2051    </td>
2052    <td>
2053
2054<p>
2055Utility method for manual loading a curved illusion plane.
2056<p>
2057    </td>
2058  </tr>
2059</table>
2060<a class="anchor" name="Ogre_1_1MeshManagerb4" doxytag="Ogre::MeshManager::loadManualCurvedPlane" ></a><p>
2061<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2062  <tr>
2063    <td class="mdRow">
2064      <table cellpadding="0" cellspacing="0" border="0">
2065        <tr>
2066          <td class="md" nowrap valign="top"> void Ogre::MeshManager::loadManualCurvedPlane </td>
2067          <td class="md" valign="top">(&nbsp;</td>
2068          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Mesh.html">Mesh</a> *&nbsp;</td>
2069          <td class="mdname" nowrap> <em>pMesh</em>, </td>
2070        </tr>
2071        <tr>
2072          <td class="md" nowrap align="right"></td>
2073          <td></td>
2074          <td class="md" nowrap><a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a> &amp;&nbsp;</td>
2075          <td class="mdname" nowrap> <em>params</em></td>
2076        </tr>
2077        <tr>
2078          <td></td>
2079          <td class="md">)&nbsp;</td>
2080          <td class="md" colspan="2"><code> [protected]</code></td>
2081        </tr>
2082
2083      </table>
2084    </td>
2085  </tr>
2086</table>
2087<table cellspacing=5 cellpadding=0 border=0>
2088  <tr>
2089    <td>
2090      &nbsp;
2091    </td>
2092    <td>
2093
2094<p>
2095Utility method for manual loading a curved plane.
2096<p>
2097    </td>
2098  </tr>
2099</table>
2100<a class="anchor" name="Ogre_1_1MeshManagerb3" doxytag="Ogre::MeshManager::loadManualPlane" ></a><p>
2101<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2102  <tr>
2103    <td class="mdRow">
2104      <table cellpadding="0" cellspacing="0" border="0">
2105        <tr>
2106          <td class="md" nowrap valign="top"> void Ogre::MeshManager::loadManualPlane </td>
2107          <td class="md" valign="top">(&nbsp;</td>
2108          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Mesh.html">Mesh</a> *&nbsp;</td>
2109          <td class="mdname" nowrap> <em>pMesh</em>, </td>
2110        </tr>
2111        <tr>
2112          <td class="md" nowrap align="right"></td>
2113          <td></td>
2114          <td class="md" nowrap><a class="el" href="structOgre_1_1MeshManager_1_1MeshBuildParams.html">MeshBuildParams</a> &amp;&nbsp;</td>
2115          <td class="mdname" nowrap> <em>params</em></td>
2116        </tr>
2117        <tr>
2118          <td></td>
2119          <td class="md">)&nbsp;</td>
2120          <td class="md" colspan="2"><code> [protected]</code></td>
2121        </tr>
2122
2123      </table>
2124    </td>
2125  </tr>
2126</table>
2127<table cellspacing=5 cellpadding=0 border=0>
2128  <tr>
2129    <td>
2130      &nbsp;
2131    </td>
2132    <td>
2133
2134<p>
2135Utility method for manual loading a plane.
2136<p>
2137    </td>
2138  </tr>
2139</table>
2140<a class="anchor" name="Ogre_1_1MeshManagera13" doxytag="Ogre::MeshManager::loadResource" ></a><p>
2141<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2142  <tr>
2143    <td class="mdRow">
2144      <table cellpadding="0" cellspacing="0" border="0">
2145        <tr>
2146          <td class="md" nowrap valign="top"> void Ogre::MeshManager::loadResource </td>
2147          <td class="md" valign="top">(&nbsp;</td>
2148          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> *&nbsp;</td>
2149          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
2150          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2151          <td class="md" nowrap><code> [virtual]</code></td>
2152        </tr>
2153
2154      </table>
2155    </td>
2156  </tr>
2157</table>
2158<table cellspacing=5 cellpadding=0 border=0>
2159  <tr>
2160    <td>
2161      &nbsp;
2162    </td>
2163    <td>
2164
2165<p>
2166<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ManualResourceLoader.html#Ogre_1_1ManualResourceLoadera2">ManualResourceLoader::loadResource</a> </dd></dl>
2167
2168<p>
2169Implements <a class="el" href="classOgre_1_1ManualResourceLoader.html#Ogre_1_1ManualResourceLoadera2">Ogre::ManualResourceLoader</a>.    </td>
2170  </tr>
2171</table>
2172<a class="anchor" name="Ogre_1_1TextureManagera31" doxytag="Ogre::MeshManager::parseScript" ></a><p>
2173<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2174  <tr>
2175    <td class="mdRow">
2176      <table cellpadding="0" cellspacing="0" border="0">
2177        <tr>
2178          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::parseScript </td>
2179          <td class="md" valign="top">(&nbsp;</td>
2180          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &amp;&nbsp;</td>
2181          <td class="mdname" nowrap> <em>stream</em>, </td>
2182        </tr>
2183        <tr>
2184          <td class="md" nowrap align="right"></td>
2185          <td></td>
2186          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
2187          <td class="mdname" nowrap> <em>groupName</em></td>
2188        </tr>
2189        <tr>
2190          <td></td>
2191          <td class="md">)&nbsp;</td>
2192          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
2193        </tr>
2194
2195      </table>
2196    </td>
2197  </tr>
2198</table>
2199<table cellspacing=5 cellpadding=0 border=0>
2200  <tr>
2201    <td>
2202      &nbsp;
2203    </td>
2204    <td>
2205
2206<p>
2207Parse the definition of a set of resources from a script file.
2208<p>
2209<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>
2210<dl compact><dt><b>Parameters:</b></dt><dd>
2211  <table border="0" cellspacing="2" cellpadding="0">
2212    <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>
2213    <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>
2214  </table>
2215</dl>
2216
2217<p>
2218Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera2">Ogre::ScriptLoader</a>.
2219<p>
2220Reimplemented 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>.
2221<p>
2222Definition 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>.
2223<p>
2224References <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>
2225  </tr>
2226</table>
2227<a class="anchor" name="Ogre_1_1TextureManagera17" doxytag="Ogre::MeshManager::reloadAll" ></a><p>
2228<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2229  <tr>
2230    <td class="mdRow">
2231      <table cellpadding="0" cellspacing="0" border="0">
2232        <tr>
2233          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::reloadAll </td>
2234          <td class="md" valign="top">(&nbsp;</td>
2235          <td class="md" nowrap valign="top">void&nbsp;</td>
2236          <td class="mdname1" valign="top" nowrap>          </td>
2237          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2238          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2239        </tr>
2240
2241      </table>
2242    </td>
2243  </tr>
2244</table>
2245<table cellspacing=5 cellpadding=0 border=0>
2246  <tr>
2247    <td>
2248      &nbsp;
2249    </td>
2250    <td>
2251
2252<p>
2253Caused all currently loaded resources to be reloaded.
2254<p>
2255<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>
2256    </td>
2257  </tr>
2258</table>
2259<a class="anchor" name="Ogre_1_1TextureManagera20" doxytag="Ogre::MeshManager::remove" ></a><p>
2260<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2261  <tr>
2262    <td class="mdRow">
2263      <table cellpadding="0" cellspacing="0" border="0">
2264        <tr>
2265          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
2266          <td class="md" valign="top">(&nbsp;</td>
2267          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
2268          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
2269          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2270          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2271        </tr>
2272
2273      </table>
2274    </td>
2275  </tr>
2276</table>
2277<table cellspacing=5 cellpadding=0 border=0>
2278  <tr>
2279    <td>
2280      &nbsp;
2281    </td>
2282    <td>
2283
2284<p>
2285Remove a single resource by handle.
2286<p>
2287<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>
2288<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>
2289If 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>
2290    </td>
2291  </tr>
2292</table>
2293<a class="anchor" name="Ogre_1_1TextureManagera19" doxytag="Ogre::MeshManager::remove" ></a><p>
2294<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2295  <tr>
2296    <td class="mdRow">
2297      <table cellpadding="0" cellspacing="0" border="0">
2298        <tr>
2299          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
2300          <td class="md" valign="top">(&nbsp;</td>
2301          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
2302          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
2303          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2304          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2305        </tr>
2306
2307      </table>
2308    </td>
2309  </tr>
2310</table>
2311<table cellspacing=5 cellpadding=0 border=0>
2312  <tr>
2313    <td>
2314      &nbsp;
2315    </td>
2316    <td>
2317
2318<p>
2319Remove a single resource by name.
2320<p>
2321<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>
2322<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>
2323If 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>
2324    </td>
2325  </tr>
2326</table>
2327<a class="anchor" name="Ogre_1_1TextureManagera18" doxytag="Ogre::MeshManager::remove" ></a><p>
2328<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2329  <tr>
2330    <td class="mdRow">
2331      <table cellpadding="0" cellspacing="0" border="0">
2332        <tr>
2333          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td>
2334          <td class="md" valign="top">(&nbsp;</td>
2335          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
2336          <td class="mdname1" valign="top" nowrap> <em>r</em>          </td>
2337          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2338          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2339        </tr>
2340
2341      </table>
2342    </td>
2343  </tr>
2344</table>
2345<table cellspacing=5 cellpadding=0 border=0>
2346  <tr>
2347    <td>
2348      &nbsp;
2349    </td>
2350    <td>
2351
2352<p>
2353Remove a single resource.
2354<p>
2355<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>
2356<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>
2357If 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>
2358    </td>
2359  </tr>
2360</table>
2361<a class="anchor" name="Ogre_1_1TextureManagera21" doxytag="Ogre::MeshManager::removeAll" ></a><p>
2362<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2363  <tr>
2364    <td class="mdRow">
2365      <table cellpadding="0" cellspacing="0" border="0">
2366        <tr>
2367          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeAll </td>
2368          <td class="md" valign="top">(&nbsp;</td>
2369          <td class="md" nowrap valign="top">void&nbsp;</td>
2370          <td class="mdname1" valign="top" nowrap>          </td>
2371          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2372          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2373        </tr>
2374
2375      </table>
2376    </td>
2377  </tr>
2378</table>
2379<table cellspacing=5 cellpadding=0 border=0>
2380  <tr>
2381    <td>
2382      &nbsp;
2383    </td>
2384    <td>
2385
2386<p>
2387Removes all resources.
2388<p>
2389<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>
2390If 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>
2391    </td>
2392  </tr>
2393</table>
2394<a class="anchor" name="Ogre_1_1TextureManagerb3" doxytag="Ogre::MeshManager::removeImpl" ></a><p>
2395<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2396  <tr>
2397    <td class="mdRow">
2398      <table cellpadding="0" cellspacing="0" border="0">
2399        <tr>
2400          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeImpl </td>
2401          <td class="md" valign="top">(&nbsp;</td>
2402          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &amp;&nbsp;</td>
2403          <td class="mdname1" valign="top" nowrap> <em>res</em>          </td>
2404          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2405          <td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
2406        </tr>
2407
2408      </table>
2409    </td>
2410  </tr>
2411</table>
2412<table cellspacing=5 cellpadding=0 border=0>
2413  <tr>
2414    <td>
2415      &nbsp;
2416    </td>
2417    <td>
2418
2419<p>
2420Remove a resource from this manager; remove it from the lists.
2421<p>
2422    </td>
2423  </tr>
2424</table>
2425<a class="anchor" name="Ogre_1_1TextureManagera25" doxytag="Ogre::MeshManager::resourceExists" ></a><p>
2426<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2427  <tr>
2428    <td class="mdRow">
2429      <table cellpadding="0" cellspacing="0" border="0">
2430        <tr>
2431          <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td>
2432          <td class="md" valign="top">(&nbsp;</td>
2433          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
2434          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
2435          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2436          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2437        </tr>
2438
2439      </table>
2440    </td>
2441  </tr>
2442</table>
2443<table cellspacing=5 cellpadding=0 border=0>
2444  <tr>
2445    <td>
2446      &nbsp;
2447    </td>
2448    <td>
2449
2450<p>
2451Returns whether a resource with the given handle exists in this manager.
2452<p>
2453
2454<p>
2455Definition 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>.
2456<p>
2457References <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>
2458  </tr>
2459</table>
2460<a class="anchor" name="Ogre_1_1TextureManagera24" doxytag="Ogre::MeshManager::resourceExists" ></a><p>
2461<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2462  <tr>
2463    <td class="mdRow">
2464      <table cellpadding="0" cellspacing="0" border="0">
2465        <tr>
2466          <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td>
2467          <td class="md" valign="top">(&nbsp;</td>
2468          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
2469          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
2470          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2471          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2472        </tr>
2473
2474      </table>
2475    </td>
2476  </tr>
2477</table>
2478<table cellspacing=5 cellpadding=0 border=0>
2479  <tr>
2480    <td>
2481      &nbsp;
2482    </td>
2483    <td>
2484
2485<p>
2486Returns whether the named resource exists in this manager.
2487<p>
2488
2489<p>
2490Definition 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>.
2491<p>
2492References <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>
2493  </tr>
2494</table>
2495<a class="anchor" name="Ogre_1_1MeshManagera12" doxytag="Ogre::MeshManager::setBoundsPaddingFactor" ></a><p>
2496<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2497  <tr>
2498    <td class="mdRow">
2499      <table cellpadding="0" cellspacing="0" border="0">
2500        <tr>
2501          <td class="md" nowrap valign="top"> void Ogre::MeshManager::setBoundsPaddingFactor </td>
2502          <td class="md" valign="top">(&nbsp;</td>
2503          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2504          <td class="mdname1" valign="top" nowrap> <em>paddingFactor</em>          </td>
2505          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2506          <td class="md" nowrap></td>
2507        </tr>
2508
2509      </table>
2510    </td>
2511  </tr>
2512</table>
2513<table cellspacing=5 cellpadding=0 border=0>
2514  <tr>
2515    <td>
2516      &nbsp;
2517    </td>
2518    <td>
2519
2520<p>
2521Sets the factor by which the bounding box of an entity is padded.
2522<p>
2523    </td>
2524  </tr>
2525</table>
2526<a class="anchor" name="Ogre_1_1TextureManagera12" doxytag="Ogre::MeshManager::setMemoryBudget" ></a><p>
2527<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2528  <tr>
2529    <td class="mdRow">
2530      <table cellpadding="0" cellspacing="0" border="0">
2531        <tr>
2532          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::setMemoryBudget </td>
2533          <td class="md" valign="top">(&nbsp;</td>
2534          <td class="md" nowrap valign="top">size_t&nbsp;</td>
2535          <td class="mdname1" valign="top" nowrap> <em>bytes</em>          </td>
2536          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2537          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2538        </tr>
2539
2540      </table>
2541    </td>
2542  </tr>
2543</table>
2544<table cellspacing=5 cellpadding=0 border=0>
2545  <tr>
2546    <td>
2547      &nbsp;
2548    </td>
2549    <td>
2550
2551<p>
2552Set a limit on the amount of memory this resource handler may use.
2553<p>
2554<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>
2555    </td>
2556  </tr>
2557</table>
2558<a class="anchor" name="Ogre_1_1MeshManagera9" doxytag="Ogre::MeshManager::setPrepareAllMeshesForShadowVolumes" ></a><p>
2559<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2560  <tr>
2561    <td class="mdRow">
2562      <table cellpadding="0" cellspacing="0" border="0">
2563        <tr>
2564          <td class="md" nowrap valign="top"> void Ogre::MeshManager::setPrepareAllMeshesForShadowVolumes </td>
2565          <td class="md" valign="top">(&nbsp;</td>
2566          <td class="md" nowrap valign="top">bool&nbsp;</td>
2567          <td class="mdname1" valign="top" nowrap> <em>enable</em>          </td>
2568          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2569          <td class="md" nowrap></td>
2570        </tr>
2571
2572      </table>
2573    </td>
2574  </tr>
2575</table>
2576<table cellspacing=5 cellpadding=0 border=0>
2577  <tr>
2578    <td>
2579      &nbsp;
2580    </td>
2581    <td>
2582
2583<p>
2584Tells the mesh manager that all future meshes should prepare themselves for shadow volumes on loading.
2585<p>
2586    </td>
2587  </tr>
2588</table>
2589<a class="anchor" name="Ogre_1_1MeshManagerb1" doxytag="Ogre::MeshManager::tesselate2DMesh" ></a><p>
2590<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2591  <tr>
2592    <td class="mdRow">
2593      <table cellpadding="0" cellspacing="0" border="0">
2594        <tr>
2595          <td class="md" nowrap valign="top"> void Ogre::MeshManager::tesselate2DMesh </td>
2596          <td class="md" valign="top">(&nbsp;</td>
2597          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> *&nbsp;</td>
2598          <td class="mdname" nowrap> <em>pSub</em>, </td>
2599        </tr>
2600        <tr>
2601          <td class="md" nowrap align="right"></td>
2602          <td></td>
2603          <td class="md" nowrap>int&nbsp;</td>
2604          <td class="mdname" nowrap> <em>meshWidth</em>, </td>
2605        </tr>
2606        <tr>
2607          <td class="md" nowrap align="right"></td>
2608          <td></td>
2609          <td class="md" nowrap>int&nbsp;</td>
2610          <td class="mdname" nowrap> <em>meshHeight</em>, </td>
2611        </tr>
2612        <tr>
2613          <td class="md" nowrap align="right"></td>
2614          <td></td>
2615          <td class="md" nowrap>bool&nbsp;</td>
2616          <td class="mdname" nowrap> <em>doubleSided</em> = false, </td>
2617        </tr>
2618        <tr>
2619          <td class="md" nowrap align="right"></td>
2620          <td></td>
2621          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
2622          <td class="mdname" nowrap> <em>indexBufferUsage</em> = HardwareBuffer::HBU_STATIC_WRITE_ONLY, </td>
2623        </tr>
2624        <tr>
2625          <td class="md" nowrap align="right"></td>
2626          <td></td>
2627          <td class="md" nowrap>bool&nbsp;</td>
2628          <td class="mdname" nowrap> <em>indexSysMem</em> = false</td>
2629        </tr>
2630        <tr>
2631          <td></td>
2632          <td class="md">)&nbsp;</td>
2633          <td class="md" colspan="2"><code> [protected]</code></td>
2634        </tr>
2635
2636      </table>
2637    </td>
2638  </tr>
2639</table>
2640<table cellspacing=5 cellpadding=0 border=0>
2641  <tr>
2642    <td>
2643      &nbsp;
2644    </td>
2645    <td>
2646
2647<p>
2648Utility method for tesselating 2D meshes.
2649<p>
2650    </td>
2651  </tr>
2652</table>
2653<a class="anchor" name="Ogre_1_1TextureManagera15" doxytag="Ogre::MeshManager::unload" ></a><p>
2654<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2655  <tr>
2656    <td class="mdRow">
2657      <table cellpadding="0" cellspacing="0" border="0">
2658        <tr>
2659          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td>
2660          <td class="md" valign="top">(&nbsp;</td>
2661          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
2662          <td class="mdname1" valign="top" nowrap> <em>handle</em>          </td>
2663          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2664          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2665        </tr>
2666
2667      </table>
2668    </td>
2669  </tr>
2670</table>
2671<table cellspacing=5 cellpadding=0 border=0>
2672  <tr>
2673    <td>
2674      &nbsp;
2675    </td>
2676    <td>
2677
2678<p>
2679Unloads a single resource by handle.
2680<p>
2681<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>
2682<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>
2683    </td>
2684  </tr>
2685</table>
2686<a class="anchor" name="Ogre_1_1TextureManagera14" doxytag="Ogre::MeshManager::unload" ></a><p>
2687<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2688  <tr>
2689    <td class="mdRow">
2690      <table cellpadding="0" cellspacing="0" border="0">
2691        <tr>
2692          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td>
2693          <td class="md" valign="top">(&nbsp;</td>
2694          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
2695          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
2696          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2697          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2698        </tr>
2699
2700      </table>
2701    </td>
2702  </tr>
2703</table>
2704<table cellspacing=5 cellpadding=0 border=0>
2705  <tr>
2706    <td>
2707      &nbsp;
2708    </td>
2709    <td>
2710
2711<p>
2712Unloads a single resource by name.
2713<p>
2714<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>
2715<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>
2716    </td>
2717  </tr>
2718</table>
2719<a class="anchor" name="Ogre_1_1TextureManagera16" doxytag="Ogre::MeshManager::unloadAll" ></a><p>
2720<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2721  <tr>
2722    <td class="mdRow">
2723      <table cellpadding="0" cellspacing="0" border="0">
2724        <tr>
2725          <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unloadAll </td>
2726          <td class="md" valign="top">(&nbsp;</td>
2727          <td class="md" nowrap valign="top">void&nbsp;</td>
2728          <td class="mdname1" valign="top" nowrap>          </td>
2729          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2730          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2731        </tr>
2732
2733      </table>
2734    </td>
2735  </tr>
2736</table>
2737<table cellspacing=5 cellpadding=0 border=0>
2738  <tr>
2739    <td>
2740      &nbsp;
2741    </td>
2742    <td>
2743
2744<p>
2745Unloads all resources.
2746<p>
2747<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>
2748<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>
2749    </td>
2750  </tr>
2751</table>
2752<hr><h2>Member Data Documentation</h2>
2753<a class="anchor" name="Ogre_1_1MeshManagerp2" doxytag="Ogre::MeshManager::mBoundsPaddingFactor" ></a><p>
2754<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2755  <tr>
2756    <td class="mdRow">
2757      <table cellpadding="0" cellspacing="0" border="0">
2758        <tr>
2759          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerp2">Ogre::MeshManager::mBoundsPaddingFactor</a><code> [protected]</code>
2760      </table>
2761    </td>
2762  </tr>
2763</table>
2764<table cellspacing=5 cellpadding=0 border=0>
2765  <tr>
2766    <td>
2767      &nbsp;
2768    </td>
2769    <td>
2770
2771<p>
2772
2773<p>
2774Definition at line <a class="el" href="OgreMeshManager_8h-source.html#l00419">419</a> of file <a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a>.    </td>
2775  </tr>
2776</table>
2777<a class="anchor" name="Ogre_1_1TextureManagerp8" doxytag="Ogre::MeshManager::mLoadOrder" ></a><p>
2778<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2779  <tr>
2780    <td class="mdRow">
2781      <table cellpadding="0" cellspacing="0" border="0">
2782        <tr>
2783          <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>
2784      </table>
2785    </td>
2786  </tr>
2787</table>
2788<table cellspacing=5 cellpadding=0 border=0>
2789  <tr>
2790    <td>
2791      &nbsp;
2792    </td>
2793    <td>
2794
2795<p>
2796Loading order relative to other managers, higher is later.
2797<p>
2798
2799<p>
2800Definition 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>
2801  </tr>
2802</table>
2803<a class="anchor" name="Ogre_1_1TextureManagerp5" doxytag="Ogre::MeshManager::mMemoryBudget" ></a><p>
2804<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2805  <tr>
2806    <td class="mdRow">
2807      <table cellpadding="0" cellspacing="0" border="0">
2808        <tr>
2809          <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>
2810      </table>
2811    </td>
2812  </tr>
2813</table>
2814<table cellspacing=5 cellpadding=0 border=0>
2815  <tr>
2816    <td>
2817      &nbsp;
2818    </td>
2819    <td>
2820
2821<p>
2822
2823<p>
2824Definition 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>
2825  </tr>
2826</table>
2827<a class="anchor" name="Ogre_1_1TextureManagerp6" doxytag="Ogre::MeshManager::mMemoryUsage" ></a><p>
2828<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2829  <tr>
2830    <td class="mdRow">
2831      <table cellpadding="0" cellspacing="0" border="0">
2832        <tr>
2833          <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>
2834      </table>
2835    </td>
2836  </tr>
2837</table>
2838<table cellspacing=5 cellpadding=0 border=0>
2839  <tr>
2840    <td>
2841      &nbsp;
2842    </td>
2843    <td>
2844
2845<p>
2846
2847<p>
2848Definition 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>
2849  </tr>
2850</table>
2851<a class="anchor" name="Ogre_1_1MeshManagerp0" doxytag="Ogre::MeshManager::mMeshBuildParams" ></a><p>
2852<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2853  <tr>
2854    <td class="mdRow">
2855      <table cellpadding="0" cellspacing="0" border="0">
2856        <tr>
2857          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerx0">MeshBuildParamsMap</a> <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerp0">Ogre::MeshManager::mMeshBuildParams</a><code> [protected]</code>
2858      </table>
2859    </td>
2860  </tr>
2861</table>
2862<table cellspacing=5 cellpadding=0 border=0>
2863  <tr>
2864    <td>
2865      &nbsp;
2866    </td>
2867    <td>
2868
2869<p>
2870
2871<p>
2872Definition at line <a class="el" href="OgreMeshManager_8h-source.html#l00407">407</a> of file <a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a>.    </td>
2873  </tr>
2874</table>
2875<a class="anchor" name="Ogre_1_1TextureManagerp4" doxytag="Ogre::MeshManager::mNextHandle" ></a><p>
2876<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2877  <tr>
2878    <td class="mdRow">
2879      <table cellpadding="0" cellspacing="0" border="0">
2880        <tr>
2881          <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>
2882      </table>
2883    </td>
2884  </tr>
2885</table>
2886<table cellspacing=5 cellpadding=0 border=0>
2887  <tr>
2888    <td>
2889      &nbsp;
2890    </td>
2891    <td>
2892
2893<p>
2894
2895<p>
2896Definition 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>
2897  </tr>
2898</table>
2899<a class="anchor" name="Ogre_1_1MeshManagerp1" doxytag="Ogre::MeshManager::mPrepAllMeshesForShadowVolumes" ></a><p>
2900<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2901  <tr>
2902    <td class="mdRow">
2903      <table cellpadding="0" cellspacing="0" border="0">
2904        <tr>
2905          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagerp1">Ogre::MeshManager::mPrepAllMeshesForShadowVolumes</a><code> [protected]</code>
2906      </table>
2907    </td>
2908  </tr>
2909</table>
2910<table cellspacing=5 cellpadding=0 border=0>
2911  <tr>
2912    <td>
2913      &nbsp;
2914    </td>
2915    <td>
2916
2917<p>
2918
2919<p>
2920Definition at line <a class="el" href="OgreMeshManager_8h-source.html#l00416">416</a> of file <a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a>.    </td>
2921  </tr>
2922</table>
2923<a class="anchor" name="Ogre_1_1TextureManagerp3" doxytag="Ogre::MeshManager::mResources" ></a><p>
2924<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2925  <tr>
2926    <td class="mdRow">
2927      <table cellpadding="0" cellspacing="0" border="0">
2928        <tr>
2929          <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>
2930      </table>
2931    </td>
2932  </tr>
2933</table>
2934<table cellspacing=5 cellpadding=0 border=0>
2935  <tr>
2936    <td>
2937      &nbsp;
2938    </td>
2939    <td>
2940
2941<p>
2942
2943<p>
2944Definition 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>
2945  </tr>
2946</table>
2947<a class="anchor" name="Ogre_1_1TextureManagerp2" doxytag="Ogre::MeshManager::mResourcesByHandle" ></a><p>
2948<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2949  <tr>
2950    <td class="mdRow">
2951      <table cellpadding="0" cellspacing="0" border="0">
2952        <tr>
2953          <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>
2954      </table>
2955    </td>
2956  </tr>
2957</table>
2958<table cellspacing=5 cellpadding=0 border=0>
2959  <tr>
2960    <td>
2961      &nbsp;
2962    </td>
2963    <td>
2964
2965<p>
2966
2967<p>
2968Definition 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>
2969  </tr>
2970</table>
2971<a class="anchor" name="Ogre_1_1TextureManagerp9" doxytag="Ogre::MeshManager::mResourceType" ></a><p>
2972<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2973  <tr>
2974    <td class="mdRow">
2975      <table cellpadding="0" cellspacing="0" border="0">
2976        <tr>
2977          <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>
2978      </table>
2979    </td>
2980  </tr>
2981</table>
2982<table cellspacing=5 cellpadding=0 border=0>
2983  <tr>
2984    <td>
2985      &nbsp;
2986    </td>
2987    <td>
2988
2989<p>
2990String identifying the resource type this manager handles.
2991<p>
2992
2993<p>
2994Definition 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>
2995  </tr>
2996</table>
2997<a class="anchor" name="Ogre_1_1Singletont0" doxytag="Ogre::MeshManager::ms_Singleton" ></a><p>
2998<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2999  <tr>
3000    <td class="mdRow">
3001      <table cellpadding="0" cellspacing="0" border="0">
3002        <tr>
3003          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a> * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>&lt; <a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a>  &gt;::<a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a><code> [static, protected, inherited]</code>
3004      </table>
3005    </td>
3006  </tr>
3007</table>
3008<table cellspacing=5 cellpadding=0 border=0>
3009  <tr>
3010    <td>
3011      &nbsp;
3012    </td>
3013    <td>
3014
3015<p>
3016
3017<p>
3018Definition 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>
3019  </tr>
3020</table>
3021<a class="anchor" name="Ogre_1_1TextureManagerp7" doxytag="Ogre::MeshManager::mScriptPatterns" ></a><p>
3022<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
3023  <tr>
3024    <td class="mdRow">
3025      <table cellpadding="0" cellspacing="0" border="0">
3026        <tr>
3027          <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>
3028      </table>
3029    </td>
3030  </tr>
3031</table>
3032<table cellspacing=5 cellpadding=0 border=0>
3033  <tr>
3034    <td>
3035      &nbsp;
3036    </td>
3037    <td>
3038
3039<p>
3040Patterns to use to look for scripts if supported (e.g. *.overlay).
3041<p>
3042
3043<p>
3044Definition 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>
3045  </tr>
3046</table>
3047<hr>The documentation for this class was generated from the following file:<ul>
3048<li><a class="el" href="OgreMeshManager_8h-source.html">OgreMeshManager.h</a></ul>
3049<hr>
3050<p>
3051Copyright &copy; 2000-2005 by The OGRE Team<br />
3052<!--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/>
3053This 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/>
3054                <!--/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#">
3055                <Work rdf:about="">
3056                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
3057        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
3058                </Work>
3059                <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> -->
3060
3061Last modified Sun Feb 12 13:01:11 2006
3062</p>
3063</body>
3064</html>
Note: See TracBrowser for help on using the repository browser.