1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::Mesh 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::Mesh Class Reference</h1><code>#include <<a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>></code> |
---|
11 | <p> |
---|
12 | <p>Inheritance diagram for Ogre::Mesh: |
---|
13 | <p><center><img src="classOgre_1_1Mesh.png" usemap="#Ogre::Mesh_map" border="0" alt=""></center> |
---|
14 | <map name="Ogre::Mesh_map"> |
---|
15 | <area href="classOgre_1_1Resource.html" alt="Ogre::Resource" shape="rect" coords="0,56,130,80"> |
---|
16 | <area href="classOgre_1_1StringInterface.html" alt="Ogre::StringInterface" shape="rect" coords="0,0,130,24"> |
---|
17 | <area href="classOgre_1_1PatchMesh.html" alt="Ogre::PatchMesh" shape="rect" coords="0,168,130,192"> |
---|
18 | </map> |
---|
19 | <a href="classOgre_1_1Mesh-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
20 | <tr><td></td></tr> |
---|
21 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr> |
---|
22 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="namespaceOgre.html#a420">Real</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw0">LodDistanceList</a></td></tr> |
---|
23 | |
---|
24 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::multimap< size_t,<br> |
---|
25 | <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a></td></tr> |
---|
26 | |
---|
27 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multimap of vertex bone assignments (orders by vertex index). <a href="#Ogre_1_1PatchMeshw1"></a><br><br></td></tr> |
---|
28 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>< <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw2">BoneAssignmentIterator</a></td></tr> |
---|
29 | |
---|
30 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw3">SubMeshList</a></td></tr> |
---|
31 | |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef HashMap< <a class="el" href="namespaceOgre.html#a426">String</a>, <a class="el" href="namespaceOgre.html#a422">ushort</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw4">SubMeshNameMap</a></td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A hashmap used to store optional <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> names. <a href="#Ogre_1_1PatchMeshw4"></a><br><br></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1VectorIterator.html">VectorIterator</a>< <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw3">SubMeshList</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw5">SubMeshIterator</a></td></tr> |
---|
36 | |
---|
37 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Mesha0">Mesh</a> (<a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *creator, const <a class="el" href="namespaceOgre.html#a426">String</a> &name, <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle, const <a class="el" href="namespaceOgre.html#a426">String</a> &group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0)</td></tr> |
---|
39 | |
---|
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor - used by <a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a>. <a href="#Ogre_1_1Mesha0"></a><br><br></td></tr> |
---|
41 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Mesha1">~Mesh</a> ()</td></tr> |
---|
42 | |
---|
43 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha3">load</a> (void)</td></tr> |
---|
44 | |
---|
45 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Remarks:</b></dt><dd>If the resource is loaded from a file, loading is automatic. If not, if for example this resource gained it's data from procedural calls rather than loading from a file, then this resource will not reload on it's own </dd></dl> |
---|
46 | <a href="#Ogre_1_1PatchMesha3"></a><br><br></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha4">createSubMesh</a> (void)</td></tr> |
---|
48 | |
---|
49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. <a href="#Ogre_1_1PatchMesha4"></a><br><br></td></tr> |
---|
50 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha5">createSubMesh</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name)</td></tr> |
---|
51 | |
---|
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> and gives it a name. <a href="#Ogre_1_1PatchMesha5"></a><br><br></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha6">nameSubMesh</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name, <a class="el" href="namespaceOgre.html#a422">ushort</a> index)</td></tr> |
---|
54 | |
---|
55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gives a name to a <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. <a href="#Ogre_1_1PatchMesha6"></a><br><br></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a422">ushort</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha7">_getSubMeshIndex</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name) const </td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the index of a submesh with a given name. <a href="#Ogre_1_1PatchMesha7"></a><br><br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha8">getNumSubMeshes</a> (void) const </td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of sub meshes which comprise this mesh. <a href="#Ogre_1_1PatchMesha8"></a><br><br></td></tr> |
---|
62 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha9">getSubMesh</a> (unsigned short index) const </td></tr> |
---|
63 | |
---|
64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a pointer to the submesh indicated by the index. <a href="#Ogre_1_1PatchMesha9"></a><br><br></td></tr> |
---|
65 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha10">getSubMesh</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name) const </td></tr> |
---|
66 | |
---|
67 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> by name. <a href="#Ogre_1_1PatchMesha10"></a><br><br></td></tr> |
---|
68 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1VectorIterator.html">SubMeshIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha11">getSubMeshIterator</a> (void)</td></tr> |
---|
69 | |
---|
70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator over the available submeshes. <a href="#Ogre_1_1PatchMesha11"></a><br><br></td></tr> |
---|
71 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha12">clone</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &newName, const <a class="el" href="namespaceOgre.html#a426">String</a> &newGroup=<a class="el" href="classOgre_1_1StringUtil.html#Ogre_1_1StringUtils0">StringUtil::BLANK</a>)</td></tr> |
---|
72 | |
---|
73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Makes a copy of this mesh object and gives it a new name. <a href="#Ogre_1_1PatchMesha12"></a><br><br></td></tr> |
---|
74 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha13">getBounds</a> (void) const </td></tr> |
---|
75 | |
---|
76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the axis-aligned bounding box for this mesh. <a href="#Ogre_1_1PatchMesha13"></a><br><br></td></tr> |
---|
77 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha14">getBoundingSphereRadius</a> (void) const </td></tr> |
---|
78 | |
---|
79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the radius of the bounding sphere surrounding this mesh. <a href="#Ogre_1_1PatchMesha14"></a><br><br></td></tr> |
---|
80 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha15">_setBounds</a> (const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &bounds, bool pad=true)</td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Manually set the bounding box for this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. <a href="#Ogre_1_1PatchMesha15"></a><br><br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha16">_setBoundingSphereRadius</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> radius)</td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Manually set the bounding radius. <a href="#Ogre_1_1PatchMesha16"></a><br><br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha17">setSkeletonName</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &skelName)</td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of the skeleton this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> uses for animation. <a href="#Ogre_1_1PatchMesha17"></a><br><br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha18">hasSkeleton</a> (void) const </td></tr> |
---|
90 | |
---|
91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> has a linked <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a>. <a href="#Ogre_1_1PatchMesha18"></a><br><br></td></tr> |
---|
92 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1SkeletonPtr.html">SkeletonPtr</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha19">getSkeleton</a> (void) const </td></tr> |
---|
93 | |
---|
94 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a pointer to any linked <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a>. <a href="#Ogre_1_1PatchMesha19"></a><br><br></td></tr> |
---|
95 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha20">getSkeletonName</a> (void) const </td></tr> |
---|
96 | |
---|
97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of any linked <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a>. <a href="#Ogre_1_1PatchMesha20"></a><br><br></td></tr> |
---|
98 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha21">_initAnimationState</a> (<a class="el" href="namespaceOgre.html#a0">AnimationStateSet</a> *animSet)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialise an animation set suitable for use with this mesh. <a href="#Ogre_1_1PatchMesha21"></a><br><br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha22">addBoneAssignment</a> (const <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a> &vertBoneAssign)</td></tr> |
---|
102 | |
---|
103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assigns a vertex to a bone with a given weight, for skeletal animation. <a href="#Ogre_1_1PatchMesha22"></a><br><br></td></tr> |
---|
104 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha23">clearBoneAssignments</a> (void)</td></tr> |
---|
105 | |
---|
106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all bone assignments for this mesh. <a href="#Ogre_1_1PatchMesha23"></a><br><br></td></tr> |
---|
107 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha24">_notifySkeleton</a> (<a class="el" href="classOgre_1_1SkeletonPtr.html">SkeletonPtr</a> &pSkel)</td></tr> |
---|
108 | |
---|
109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal notification, used to tell the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> which <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a> to use without loading it. <a href="#Ogre_1_1PatchMesha24"></a><br><br></td></tr> |
---|
110 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MapIterator.html">BoneAssignmentIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha25">getBoneAssignmentIterator</a> (void)</td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator for access all bone assignments. <a href="#Ogre_1_1PatchMesha25"></a><br><br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha26">generateLodLevels</a> (const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw0">LodDistanceList</a> &lodDistances, <a class="el" href="classOgre_1_1ProgressiveMesh.html#Ogre_1_1ProgressiveMeshw3">ProgressiveMesh::VertexReductionQuota</a> reductionMethod, <a class="el" href="namespaceOgre.html#a420">Real</a> reductionValue)</td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Automatically generates lower level of detail versions of this mesh for use when a simpler version of the model is acceptable for rendering. <a href="#Ogre_1_1PatchMesha26"></a><br><br></td></tr> |
---|
116 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a422">ushort</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha27">getNumLodLevels</a> (void) const </td></tr> |
---|
117 | |
---|
118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of levels of detail that this mesh supports. <a href="#Ogre_1_1PatchMesha27"></a><br><br></td></tr> |
---|
119 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structOgre_1_1MeshLodUsage.html">MeshLodUsage</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha28">getLodLevel</a> (<a class="el" href="namespaceOgre.html#a422">ushort</a> index) const </td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets details of the numbered level of detail entry. <a href="#Ogre_1_1PatchMesha28"></a><br><br></td></tr> |
---|
122 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha29">createManualLodLevel</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fromDepth, const <a class="el" href="namespaceOgre.html#a426">String</a> &meshName)</td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a new manual level-of-detail entry to this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. <a href="#Ogre_1_1PatchMesha29"></a><br><br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha30">updateManualLodLevel</a> (<a class="el" href="namespaceOgre.html#a422">ushort</a> index, const <a class="el" href="namespaceOgre.html#a426">String</a> &meshName)</td></tr> |
---|
126 | |
---|
127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the alternate mesh to use as a manual LOD at the given index. <a href="#Ogre_1_1PatchMesha30"></a><br><br></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a422">ushort</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha31">getLodIndex</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> depth) const </td></tr> |
---|
129 | |
---|
130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the level of detail index for the given depth value. <a href="#Ogre_1_1PatchMesha31"></a><br><br></td></tr> |
---|
131 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a422">ushort</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha32">getLodIndexSquaredDepth</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> squaredDepth) const </td></tr> |
---|
132 | |
---|
133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the level of detail index for the given squared depth value. <a href="#Ogre_1_1PatchMesha32"></a><br><br></td></tr> |
---|
134 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha33">isLodManual</a> (void) const </td></tr> |
---|
135 | |
---|
136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this mesh is using manual LOD. <a href="#Ogre_1_1PatchMesha33"></a><br><br></td></tr> |
---|
137 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha34">_setLodInfo</a> (unsigned short numLevels, bool isManual)</td></tr> |
---|
138 | |
---|
139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal methods for loading LOD, do not use. <a href="#Ogre_1_1PatchMesha34"></a><br><br></td></tr> |
---|
140 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha35">_setLodUsage</a> (unsigned short level, <a class="el" href="structOgre_1_1MeshLodUsage.html">MeshLodUsage</a> &usage)</td></tr> |
---|
141 | |
---|
142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal methods for loading LOD, do not use. <a href="#Ogre_1_1PatchMesha35"></a><br><br></td></tr> |
---|
143 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha36">_setSubMeshLodFaceList</a> (unsigned short subIdx, unsigned short level, <a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *facedata)</td></tr> |
---|
144 | |
---|
145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal methods for loading LOD, do not use. <a href="#Ogre_1_1PatchMesha36"></a><br><br></td></tr> |
---|
146 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha37">removeLodLevels</a> (void)</td></tr> |
---|
147 | |
---|
148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all LOD data from this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. <a href="#Ogre_1_1PatchMesha37"></a><br><br></td></tr> |
---|
149 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha38">setVertexBufferPolicy</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> usage, bool shadowBuffer=false)</td></tr> |
---|
150 | |
---|
151 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the policy for the vertex buffers to be used when loading this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. <a href="#Ogre_1_1PatchMesha38"></a><br><br></td></tr> |
---|
152 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha39">setIndexBufferPolicy</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> usage, bool shadowBuffer=false)</td></tr> |
---|
153 | |
---|
154 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the policy for the index buffers to be used when loading this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. <a href="#Ogre_1_1PatchMesha39"></a><br><br></td></tr> |
---|
155 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha40">getVertexBufferUsage</a> (void) const </td></tr> |
---|
156 | |
---|
157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the usage setting for this meshes vertex buffers. <a href="#Ogre_1_1PatchMesha40"></a><br><br></td></tr> |
---|
158 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha41">getIndexBufferUsage</a> (void) const </td></tr> |
---|
159 | |
---|
160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the usage setting for this meshes index buffers. <a href="#Ogre_1_1PatchMesha41"></a><br><br></td></tr> |
---|
161 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha42">isVertexBufferShadowed</a> (void) const </td></tr> |
---|
162 | |
---|
163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets whether or not this meshes vertex buffers are shadowed. <a href="#Ogre_1_1PatchMesha42"></a><br><br></td></tr> |
---|
164 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha43">isIndexBufferShadowed</a> (void) const </td></tr> |
---|
165 | |
---|
166 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets whether or not this meshes index buffers are shadowed. <a href="#Ogre_1_1PatchMesha43"></a><br><br></td></tr> |
---|
167 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha44">_rationaliseBoneAssignments</a> (size_t vertexCount, <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> &assignments)</td></tr> |
---|
168 | |
---|
169 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rationalises the passed in bone assignment list. <a href="#Ogre_1_1PatchMesha44"></a><br><br></td></tr> |
---|
170 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha45">_compileBoneAssignments</a> (void)</td></tr> |
---|
171 | |
---|
172 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method, be called once to compile bone assignments into geometry buffer. <a href="#Ogre_1_1PatchMesha45"></a><br><br></td></tr> |
---|
173 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha46">buildTangentVectors</a> (unsigned short sourceTexCoordSet=0, unsigned short destTexCoordSet=1)</td></tr> |
---|
174 | |
---|
175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer. <a href="#Ogre_1_1PatchMesha46"></a><br><br></td></tr> |
---|
176 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha47">suggestTangentVectorBuildParams</a> (unsigned short &outSourceCoordSet, unsigned short &outDestCoordSet)</td></tr> |
---|
177 | |
---|
178 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Ask the mesh to suggest parameters to a future buildTangentVectors call. <a href="#Ogre_1_1PatchMesha47"></a><br><br></td></tr> |
---|
179 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha48">buildEdgeList</a> (void)</td></tr> |
---|
180 | |
---|
181 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Builds an edge list for this mesh, which can be used for generating a shadow volume among other things. <a href="#Ogre_1_1PatchMesha48"></a><br><br></td></tr> |
---|
182 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha49">freeEdgeList</a> (void)</td></tr> |
---|
183 | |
---|
184 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destroys and frees the edge lists this mesh has built. <a href="#Ogre_1_1PatchMesha49"></a><br><br></td></tr> |
---|
185 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha50">prepareForShadowVolume</a> (void)</td></tr> |
---|
186 | |
---|
187 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method prepares the mesh for generating a renderable shadow volume. <a href="#Ogre_1_1PatchMesha50"></a><br><br></td></tr> |
---|
188 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1EdgeData.html">EdgeData</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha51">getEdgeList</a> (unsigned int lodIndex=0)</td></tr> |
---|
189 | |
---|
190 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the edge list for this mesh, building it if required. <a href="#Ogre_1_1PatchMesha51"></a><br><br></td></tr> |
---|
191 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1EdgeData.html">EdgeData</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha52">getEdgeList</a> (unsigned int lodIndex=0) const </td></tr> |
---|
192 | |
---|
193 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the edge list for this mesh, building it if required. <a href="#Ogre_1_1PatchMesha52"></a><br><br></td></tr> |
---|
194 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha53">isPreparedForShadowVolumes</a> (void) const </td></tr> |
---|
195 | |
---|
196 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes. <a href="#Ogre_1_1PatchMesha53"></a><br><br></td></tr> |
---|
197 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha54">isEdgeListBuilt</a> (void) const </td></tr> |
---|
198 | |
---|
199 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this mesh has an attached edge list. <a href="#Ogre_1_1PatchMesha54"></a><br><br></td></tr> |
---|
200 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw4">SubMeshNameMap</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha55">getSubMeshNameMap</a> (void) const </td></tr> |
---|
201 | |
---|
202 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a reference to the optional name assignments of the SubMeshes. <a href="#Ogre_1_1PatchMesha55"></a><br><br></td></tr> |
---|
203 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha56">setAutoBuildEdgeLists</a> (bool autobuild)</td></tr> |
---|
204 | |
---|
205 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether or not this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. <a href="#Ogre_1_1PatchMesha56"></a><br><br></td></tr> |
---|
206 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha57">getAutoBuildEdgeLists</a> (void) const </td></tr> |
---|
207 | |
---|
208 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether or not this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. <a href="#Ogre_1_1PatchMesha57"></a><br><br></td></tr> |
---|
209 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea31">reload</a> (void)</td></tr> |
---|
210 | |
---|
211 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reloads the resource, if it is already loaded. <a href="#Ogre_1_1Texturea31"></a><br><br></td></tr> |
---|
212 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea32">isReloadable</a> (void) const </td></tr> |
---|
213 | |
---|
214 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> is reloadable, false otherwise. <a href="#Ogre_1_1Texturea32"></a><br><br></td></tr> |
---|
215 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea33">isManuallyLoaded</a> (void) const </td></tr> |
---|
216 | |
---|
217 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Is this resource manually loaded? <a href="#Ogre_1_1Texturea33"></a><br><br></td></tr> |
---|
218 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea34">unload</a> (void)</td></tr> |
---|
219 | |
---|
220 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unloads the resource; this is not permanent, the resource can be reloaded later if required. <a href="#Ogre_1_1Texturea34"></a><br><br></td></tr> |
---|
221 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea35">getSize</a> (void) const </td></tr> |
---|
222 | |
---|
223 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves info about the size of the resource. <a href="#Ogre_1_1Texturea35"></a><br><br></td></tr> |
---|
224 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea36">touch</a> (void)</td></tr> |
---|
225 | |
---|
226 | <tr><td class="mdescLeft"> </td><td class="mdescRight">'Touches' the resource to indicate it has been used. <a href="#Ogre_1_1Texturea36"></a><br><br></td></tr> |
---|
227 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea37">getName</a> (void) const </td></tr> |
---|
228 | |
---|
229 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets resource name. <a href="#Ogre_1_1Texturea37"></a><br><br></td></tr> |
---|
230 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea38">getHandle</a> (void) const </td></tr> |
---|
231 | |
---|
232 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea39">isLoaded</a> (void) const </td></tr> |
---|
233 | |
---|
234 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> has been loaded, false otherwise. <a href="#Ogre_1_1Texturea39"></a><br><br></td></tr> |
---|
235 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea40">getGroup</a> (void)</td></tr> |
---|
236 | |
---|
237 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the group which this resource is a member of. <a href="#Ogre_1_1Texturea40"></a><br><br></td></tr> |
---|
238 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea41">getCreator</a> (void)</td></tr> |
---|
239 | |
---|
240 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the manager which created this resource. <a href="#Ogre_1_1Texturea41"></a><br><br></td></tr> |
---|
241 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea42">getOrigin</a> (void) const </td></tr> |
---|
242 | |
---|
243 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the origin of this resource, e.g. <a href="#Ogre_1_1Texturea42"></a><br><br></td></tr> |
---|
244 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea43">_notifyOrigin</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &origin)</td></tr> |
---|
245 | |
---|
246 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Notify this resource of it's origin. <a href="#Ogre_1_1Texturea43"></a><br><br></td></tr> |
---|
247 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea44">getParamDictionary</a> (void)</td></tr> |
---|
248 | |
---|
249 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the parameter dictionary for this class. <a href="#Ogre_1_1Texturea44"></a><br><br></td></tr> |
---|
250 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea45">getParamDictionary</a> (void) const </td></tr> |
---|
251 | |
---|
252 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a518">ParameterList</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea46">getParameters</a> (void) const </td></tr> |
---|
253 | |
---|
254 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a list of parameters valid for this object. <a href="#Ogre_1_1Texturea46"></a><br><br></td></tr> |
---|
255 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea47">setParameter</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name, const <a class="el" href="namespaceOgre.html#a426">String</a> &value)</td></tr> |
---|
256 | |
---|
257 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Generic parameter setting method. <a href="#Ogre_1_1Texturea47"></a><br><br></td></tr> |
---|
258 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea48">setParameterList</a> (const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> &paramList)</td></tr> |
---|
259 | |
---|
260 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Generic multiple parameter setting method. <a href="#Ogre_1_1Texturea48"></a><br><br></td></tr> |
---|
261 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a426">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea49">getParameter</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &name) const </td></tr> |
---|
262 | |
---|
263 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Generic parameter retrieval method. <a href="#Ogre_1_1Texturea49"></a><br><br></td></tr> |
---|
264 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea50">copyParametersTo</a> (<a class="el" href="classOgre_1_1StringInterface.html">StringInterface</a> *dest) const </td></tr> |
---|
265 | |
---|
266 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Method for copying this object's parameters to another object. <a href="#Ogre_1_1Texturea50"></a><br><br></td></tr> |
---|
267 | <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> |
---|
268 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshe0">softwareVertexBlend</a> (const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *sourceVertexData, const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *targetVertexData, const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> *pMatrices, bool blendNormals)</td></tr> |
---|
269 | |
---|
270 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes. <a href="#Ogre_1_1PatchMeshe0"></a><br><br></td></tr> |
---|
271 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturee0">cleanupDictionary</a> ()</td></tr> |
---|
272 | |
---|
273 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Cleans up the static 'msDictionary' required to reset <a class="el" href="namespaceOgre.html">Ogre</a>, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> implementers (e.g. <a href="#Ogre_1_1Texturee0"></a><br><br></td></tr> |
---|
274 | <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> |
---|
275 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesho0">sharedVertexData</a></td></tr> |
---|
276 | |
---|
277 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shared vertex data. <a href="#Ogre_1_1PatchMesho0"></a><br><br></td></tr> |
---|
278 | <tr><td colspan=2><br><h2>Protected Types</h2></td></tr> |
---|
279 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="structOgre_1_1MeshLodUsage.html">MeshLodUsage</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshx0">MeshLodUsageList</a></td></tr> |
---|
280 | |
---|
281 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
282 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshb1">organiseTangentsBuffer</a> (<a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *vertexData, unsigned short destCoordSet)</td></tr> |
---|
283 | |
---|
284 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for making the space for a 3D texture coord buffer to hold tangents. <a href="#Ogre_1_1PatchMeshb1"></a><br><br></td></tr> |
---|
285 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshb2">compileBoneAssignments</a> (const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> &boneAssignments, unsigned short numBlendWeightsPerVertex, <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *targetVertexData)</td></tr> |
---|
286 | |
---|
287 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compile bone assignments into blend index and weight buffers. <a href="#Ogre_1_1PatchMeshb2"></a><br><br></td></tr> |
---|
288 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshb3">compileBoneAssignmentsSoftware</a> (const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> &boneAssignments, unsigned short numBlendWeightsPerVertex, <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *targetVertexData)</td></tr> |
---|
289 | |
---|
290 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Software blending oriented bone assignment compilation. <a href="#Ogre_1_1PatchMeshb3"></a><br><br></td></tr> |
---|
291 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Meshb3">loadImpl</a> (void)</td></tr> |
---|
292 | |
---|
293 | <tr><td class="mdescLeft"> </td><td class="mdescRight"> <a href="#Ogre_1_1Meshb3"></a><br><br></td></tr> |
---|
294 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshb4">unloadImpl</a> (void)</td></tr> |
---|
295 | |
---|
296 | <tr><td class="mdescLeft"> </td><td class="mdescRight"> <a href="#Ogre_1_1PatchMeshb4"></a><br><br></td></tr> |
---|
297 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshb5">calculateSize</a> (void) const </td></tr> |
---|
298 | |
---|
299 | <tr><td class="mdescLeft"> </td><td class="mdescRight"> <a href="#Ogre_1_1PatchMeshb5"></a><br><br></td></tr> |
---|
300 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Textureb6">createParamDictionary</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &className)</td></tr> |
---|
301 | |
---|
302 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for creating a parameter dictionary for the class, if it does not already exist. <a href="#Ogre_1_1Textureb6"></a><br><br></td></tr> |
---|
303 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
304 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw3">SubMeshList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp2">mSubMeshList</a></td></tr> |
---|
305 | |
---|
306 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A list of submeshes which make up this mesh. <a href="#Ogre_1_1PatchMeshp2"></a><br><br></td></tr> |
---|
307 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw4">SubMeshNameMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp3">mSubMeshNameMap</a></td></tr> |
---|
308 | |
---|
309 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp4">mAABB</a></td></tr> |
---|
310 | |
---|
311 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Local bounding box volume. <a href="#Ogre_1_1PatchMeshp4"></a><br><br></td></tr> |
---|
312 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp5">mBoundRadius</a></td></tr> |
---|
313 | |
---|
314 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Local bounding sphere radius (centered on object). <a href="#Ogre_1_1PatchMeshp5"></a><br><br></td></tr> |
---|
315 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp6">mSkeletonName</a></td></tr> |
---|
316 | |
---|
317 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Optional linked skeleton. <a href="#Ogre_1_1PatchMeshp6"></a><br><br></td></tr> |
---|
318 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SkeletonPtr.html">SkeletonPtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp7">mSkeleton</a></td></tr> |
---|
319 | |
---|
320 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp8">mBoneAssignments</a></td></tr> |
---|
321 | |
---|
322 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp9">mBoneAssignmentsOutOfDate</a></td></tr> |
---|
323 | |
---|
324 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Flag indicating that bone assignments need to be recompiled. <a href="#Ogre_1_1PatchMeshp9"></a><br><br></td></tr> |
---|
325 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp10">mIsLodManual</a></td></tr> |
---|
326 | |
---|
327 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a422">ushort</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp11">mNumLods</a></td></tr> |
---|
328 | |
---|
329 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshx0">MeshLodUsageList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp12">mMeshLodUsageList</a></td></tr> |
---|
330 | |
---|
331 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp13">mVertexBufferUsage</a></td></tr> |
---|
332 | |
---|
333 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp14">mIndexBufferUsage</a></td></tr> |
---|
334 | |
---|
335 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp15">mVertexBufferShadowBuffer</a></td></tr> |
---|
336 | |
---|
337 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp16">mIndexBufferShadowBuffer</a></td></tr> |
---|
338 | |
---|
339 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp17">mPreparedForShadowVolumes</a></td></tr> |
---|
340 | |
---|
341 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp18">mEdgeListsBuilt</a></td></tr> |
---|
342 | |
---|
343 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp19">mAutoBuildEdgeLists</a></td></tr> |
---|
344 | |
---|
345 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep17">mCreator</a></td></tr> |
---|
346 | |
---|
347 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creator. <a href="#Ogre_1_1Texturep17"></a><br><br></td></tr> |
---|
348 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep18">mName</a></td></tr> |
---|
349 | |
---|
350 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unique name of the resource. <a href="#Ogre_1_1Texturep18"></a><br><br></td></tr> |
---|
351 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep19">mGroup</a></td></tr> |
---|
352 | |
---|
353 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The name of the resource group. <a href="#Ogre_1_1Texturep19"></a><br><br></td></tr> |
---|
354 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep20">mHandle</a></td></tr> |
---|
355 | |
---|
356 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Numeric handle for more efficient look up than name. <a href="#Ogre_1_1Texturep20"></a><br><br></td></tr> |
---|
357 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep21">mIsLoaded</a></td></tr> |
---|
358 | |
---|
359 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Is the resource currently loaded? <a href="#Ogre_1_1Texturep21"></a><br><br></td></tr> |
---|
360 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep22">mSize</a></td></tr> |
---|
361 | |
---|
362 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The size of the resource in bytes. <a href="#Ogre_1_1Texturep22"></a><br><br></td></tr> |
---|
363 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep23">mIsManual</a></td></tr> |
---|
364 | |
---|
365 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Is this file manually loaded? <a href="#Ogre_1_1Texturep23"></a><br><br></td></tr> |
---|
366 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep24">mOrigin</a></td></tr> |
---|
367 | |
---|
368 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Origin of this resource (e.g. script name) - optional. <a href="#Ogre_1_1Texturep24"></a><br><br></td></tr> |
---|
369 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep25">mLoader</a></td></tr> |
---|
370 | |
---|
371 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Optional manual loader; if provided, data is loaded from here instead of a file. <a href="#Ogre_1_1Texturep25"></a><br><br></td></tr> |
---|
372 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturep26">mParamDictName</a></td></tr> |
---|
373 | |
---|
374 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Class name for this instance to be used as a lookup (must be initialised by subclasses). <a href="#Ogre_1_1Texturep26"></a><br><br></td></tr> |
---|
375 | <tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr> |
---|
376 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a520">ParamDictionaryMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturet0">msDictionary</a></td></tr> |
---|
377 | |
---|
378 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Dictionary of parameters. <a href="#Ogre_1_1Texturet0"></a><br><br></td></tr> |
---|
379 | <tr><td colspan=2><br><h2>Friends</h2></td></tr> |
---|
380 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Meshn0">SubMesh</a></td></tr> |
---|
381 | |
---|
382 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Meshn1">MeshSerializerImpl</a></td></tr> |
---|
383 | |
---|
384 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Meshn2">MeshSerializerImpl_v1_2</a></td></tr> |
---|
385 | |
---|
386 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Meshn3">MeshSerializerImpl_v1_1</a></td></tr> |
---|
387 | |
---|
388 | </table> |
---|
389 | <hr><h2>Member Typedef Documentation</h2> |
---|
390 | <a class="anchor" name="Ogre_1_1PatchMeshw2" doxytag="Ogre::Mesh::BoneAssignmentIterator" ></a><p> |
---|
391 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
392 | <tr> |
---|
393 | <td class="mdRow"> |
---|
394 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
395 | <tr> |
---|
396 | <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a><<a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a>> <a class="el" href="classOgre_1_1MapIterator.html">Ogre::Mesh::BoneAssignmentIterator</a> |
---|
397 | </table> |
---|
398 | </td> |
---|
399 | </tr> |
---|
400 | </table> |
---|
401 | <table cellspacing=5 cellpadding=0 border=0> |
---|
402 | <tr> |
---|
403 | <td> |
---|
404 | |
---|
405 | </td> |
---|
406 | <td> |
---|
407 | |
---|
408 | <p> |
---|
409 | |
---|
410 | <p> |
---|
411 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00091">91</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
412 | </tr> |
---|
413 | </table> |
---|
414 | <a class="anchor" name="Ogre_1_1PatchMeshw0" doxytag="Ogre::Mesh::LodDistanceList" ></a><p> |
---|
415 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
416 | <tr> |
---|
417 | <td class="mdRow"> |
---|
418 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
419 | <tr> |
---|
420 | <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="namespaceOgre.html#a420">Real</a>> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw0">Ogre::Mesh::LodDistanceList</a> |
---|
421 | </table> |
---|
422 | </td> |
---|
423 | </tr> |
---|
424 | </table> |
---|
425 | <table cellspacing=5 cellpadding=0 border=0> |
---|
426 | <tr> |
---|
427 | <td> |
---|
428 | |
---|
429 | </td> |
---|
430 | <td> |
---|
431 | |
---|
432 | <p> |
---|
433 | |
---|
434 | <p> |
---|
435 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00088">88</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
436 | </tr> |
---|
437 | </table> |
---|
438 | <a class="anchor" name="Ogre_1_1PatchMeshx0" doxytag="Ogre::Mesh::MeshLodUsageList" ></a><p> |
---|
439 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
440 | <tr> |
---|
441 | <td class="mdRow"> |
---|
442 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
443 | <tr> |
---|
444 | <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="structOgre_1_1MeshLodUsage.html">MeshLodUsage</a>> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshx0">Ogre::Mesh::MeshLodUsageList</a><code> [protected]</code> |
---|
445 | </table> |
---|
446 | </td> |
---|
447 | </tr> |
---|
448 | </table> |
---|
449 | <table cellspacing=5 cellpadding=0 border=0> |
---|
450 | <tr> |
---|
451 | <td> |
---|
452 | |
---|
453 | </td> |
---|
454 | <td> |
---|
455 | |
---|
456 | <p> |
---|
457 | |
---|
458 | <p> |
---|
459 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00140">140</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
460 | </tr> |
---|
461 | </table> |
---|
462 | <a class="anchor" name="Ogre_1_1PatchMeshw5" doxytag="Ogre::Mesh::SubMeshIterator" ></a><p> |
---|
463 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
464 | <tr> |
---|
465 | <td class="mdRow"> |
---|
466 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
467 | <tr> |
---|
468 | <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1VectorIterator.html">VectorIterator</a><<a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw3">SubMeshList</a>> <a class="el" href="classOgre_1_1VectorIterator.html">Ogre::Mesh::SubMeshIterator</a> |
---|
469 | </table> |
---|
470 | </td> |
---|
471 | </tr> |
---|
472 | </table> |
---|
473 | <table cellspacing=5 cellpadding=0 border=0> |
---|
474 | <tr> |
---|
475 | <td> |
---|
476 | |
---|
477 | </td> |
---|
478 | <td> |
---|
479 | |
---|
480 | <p> |
---|
481 | |
---|
482 | <p> |
---|
483 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00210">210</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. |
---|
484 | <p> |
---|
485 | Referenced by <a class="el" href="OgreMesh_8h-source.html#l00212">getSubMeshIterator()</a>. </td> |
---|
486 | </tr> |
---|
487 | </table> |
---|
488 | <a class="anchor" name="Ogre_1_1PatchMeshw3" doxytag="Ogre::Mesh::SubMeshList" ></a><p> |
---|
489 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
490 | <tr> |
---|
491 | <td class="mdRow"> |
---|
492 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
493 | <tr> |
---|
494 | <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>*> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw3">Ogre::Mesh::SubMeshList</a> |
---|
495 | </table> |
---|
496 | </td> |
---|
497 | </tr> |
---|
498 | </table> |
---|
499 | <table cellspacing=5 cellpadding=0 border=0> |
---|
500 | <tr> |
---|
501 | <td> |
---|
502 | |
---|
503 | </td> |
---|
504 | <td> |
---|
505 | |
---|
506 | <p> |
---|
507 | |
---|
508 | <p> |
---|
509 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00092">92</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
510 | </tr> |
---|
511 | </table> |
---|
512 | <a class="anchor" name="Ogre_1_1PatchMeshw4" doxytag="Ogre::Mesh::SubMeshNameMap" ></a><p> |
---|
513 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
514 | <tr> |
---|
515 | <td class="mdRow"> |
---|
516 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
517 | <tr> |
---|
518 | <td class="md" nowrap valign="top"> typedef HashMap<<a class="el" href="namespaceOgre.html#a426">String</a>, <a class="el" href="namespaceOgre.html#a422">ushort</a>> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw4">Ogre::Mesh::SubMeshNameMap</a> |
---|
519 | </table> |
---|
520 | </td> |
---|
521 | </tr> |
---|
522 | </table> |
---|
523 | <table cellspacing=5 cellpadding=0 border=0> |
---|
524 | <tr> |
---|
525 | <td> |
---|
526 | |
---|
527 | </td> |
---|
528 | <td> |
---|
529 | |
---|
530 | <p> |
---|
531 | A hashmap used to store optional <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> names. |
---|
532 | <p> |
---|
533 | Translates a name into <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> index |
---|
534 | <p> |
---|
535 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00110">110</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. |
---|
536 | <p> |
---|
537 | Referenced by <a class="el" href="OgreMesh_8h-source.html#l00595">getSubMeshNameMap()</a>. </td> |
---|
538 | </tr> |
---|
539 | </table> |
---|
540 | <a class="anchor" name="Ogre_1_1PatchMeshw1" doxytag="Ogre::Mesh::VertexBoneAssignmentList" ></a><p> |
---|
541 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
542 | <tr> |
---|
543 | <td class="mdRow"> |
---|
544 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
545 | <tr> |
---|
546 | <td class="md" nowrap valign="top"> typedef std::multimap<size_t, <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a>> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">Ogre::Mesh::VertexBoneAssignmentList</a> |
---|
547 | </table> |
---|
548 | </td> |
---|
549 | </tr> |
---|
550 | </table> |
---|
551 | <table cellspacing=5 cellpadding=0 border=0> |
---|
552 | <tr> |
---|
553 | <td> |
---|
554 | |
---|
555 | </td> |
---|
556 | <td> |
---|
557 | |
---|
558 | <p> |
---|
559 | Multimap of vertex bone assignments (orders by vertex index). |
---|
560 | <p> |
---|
561 | |
---|
562 | <p> |
---|
563 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00090">90</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
564 | </tr> |
---|
565 | </table> |
---|
566 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
567 | <a class="anchor" name="Ogre_1_1Mesha0" doxytag="Ogre::Mesh::Mesh" ></a><p> |
---|
568 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
569 | <tr> |
---|
570 | <td class="mdRow"> |
---|
571 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
572 | <tr> |
---|
573 | <td class="md" nowrap valign="top"> Ogre::Mesh::Mesh </td> |
---|
574 | <td class="md" valign="top">( </td> |
---|
575 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> * </td> |
---|
576 | <td class="mdname" nowrap> <em>creator</em>, </td> |
---|
577 | </tr> |
---|
578 | <tr> |
---|
579 | <td class="md" nowrap align="right"></td> |
---|
580 | <td></td> |
---|
581 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
582 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
583 | </tr> |
---|
584 | <tr> |
---|
585 | <td class="md" nowrap align="right"></td> |
---|
586 | <td></td> |
---|
587 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> </td> |
---|
588 | <td class="mdname" nowrap> <em>handle</em>, </td> |
---|
589 | </tr> |
---|
590 | <tr> |
---|
591 | <td class="md" nowrap align="right"></td> |
---|
592 | <td></td> |
---|
593 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
594 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
595 | </tr> |
---|
596 | <tr> |
---|
597 | <td class="md" nowrap align="right"></td> |
---|
598 | <td></td> |
---|
599 | <td class="md" nowrap>bool </td> |
---|
600 | <td class="mdname" nowrap> <em>isManual</em> = false, </td> |
---|
601 | </tr> |
---|
602 | <tr> |
---|
603 | <td class="md" nowrap align="right"></td> |
---|
604 | <td></td> |
---|
605 | <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td> |
---|
606 | <td class="mdname" nowrap> <em>loader</em> = 0</td> |
---|
607 | </tr> |
---|
608 | <tr> |
---|
609 | <td></td> |
---|
610 | <td class="md">) </td> |
---|
611 | <td class="md" colspan="2"></td> |
---|
612 | </tr> |
---|
613 | |
---|
614 | </table> |
---|
615 | </td> |
---|
616 | </tr> |
---|
617 | </table> |
---|
618 | <table cellspacing=5 cellpadding=0 border=0> |
---|
619 | <tr> |
---|
620 | <td> |
---|
621 | |
---|
622 | </td> |
---|
623 | <td> |
---|
624 | |
---|
625 | <p> |
---|
626 | Default constructor - used by <a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a>. |
---|
627 | <p> |
---|
628 | <dl compact><dt><b>Warning:</b></dt><dd>Do not call this method directly. </dd></dl> |
---|
629 | </td> |
---|
630 | </tr> |
---|
631 | </table> |
---|
632 | <a class="anchor" name="Ogre_1_1Mesha1" doxytag="Ogre::Mesh::~Mesh" ></a><p> |
---|
633 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
634 | <tr> |
---|
635 | <td class="mdRow"> |
---|
636 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
637 | <tr> |
---|
638 | <td class="md" nowrap valign="top"> Ogre::Mesh::~<a class="el" href="classOgre_1_1Mesh.html">Mesh</a> </td> |
---|
639 | <td class="md" valign="top">( </td> |
---|
640 | <td class="mdname1" valign="top" nowrap> </td> |
---|
641 | <td class="md" valign="top"> ) </td> |
---|
642 | <td class="md" nowrap></td> |
---|
643 | </tr> |
---|
644 | |
---|
645 | </table> |
---|
646 | </td> |
---|
647 | </tr> |
---|
648 | </table> |
---|
649 | <table cellspacing=5 cellpadding=0 border=0> |
---|
650 | <tr> |
---|
651 | <td> |
---|
652 | |
---|
653 | </td> |
---|
654 | <td> |
---|
655 | |
---|
656 | <p> |
---|
657 | </td> |
---|
658 | </tr> |
---|
659 | </table> |
---|
660 | <hr><h2>Member Function Documentation</h2> |
---|
661 | <a class="anchor" name="Ogre_1_1PatchMesha45" doxytag="Ogre::Mesh::_compileBoneAssignments" ></a><p> |
---|
662 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
663 | <tr> |
---|
664 | <td class="mdRow"> |
---|
665 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
666 | <tr> |
---|
667 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_compileBoneAssignments </td> |
---|
668 | <td class="md" valign="top">( </td> |
---|
669 | <td class="md" nowrap valign="top">void </td> |
---|
670 | <td class="mdname1" valign="top" nowrap> </td> |
---|
671 | <td class="md" valign="top"> ) </td> |
---|
672 | <td class="md" nowrap></td> |
---|
673 | </tr> |
---|
674 | |
---|
675 | </table> |
---|
676 | </td> |
---|
677 | </tr> |
---|
678 | </table> |
---|
679 | <table cellspacing=5 cellpadding=0 border=0> |
---|
680 | <tr> |
---|
681 | <td> |
---|
682 | |
---|
683 | </td> |
---|
684 | <td> |
---|
685 | |
---|
686 | <p> |
---|
687 | Internal method, be called once to compile bone assignments into geometry buffer. |
---|
688 | <p> |
---|
689 | <dl compact><dt><b>Remarks:</b></dt><dd>The OGRE engine calls this method automatically. It compiles the information submitted as bone assignments into a format usable in realtime. It also eliminates excessive bone assignments (max is OGRE_MAX_BLEND_WEIGHTS) and re-normalises the remaining assignments. </dd></dl> |
---|
690 | </td> |
---|
691 | </tr> |
---|
692 | </table> |
---|
693 | <a class="anchor" name="Ogre_1_1PatchMesha7" doxytag="Ogre::Mesh::_getSubMeshIndex" ></a><p> |
---|
694 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
695 | <tr> |
---|
696 | <td class="mdRow"> |
---|
697 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
698 | <tr> |
---|
699 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a422">ushort</a> Ogre::Mesh::_getSubMeshIndex </td> |
---|
700 | <td class="md" valign="top">( </td> |
---|
701 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
702 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
703 | <td class="md" valign="top"> ) </td> |
---|
704 | <td class="md" nowrap> const</td> |
---|
705 | </tr> |
---|
706 | |
---|
707 | </table> |
---|
708 | </td> |
---|
709 | </tr> |
---|
710 | </table> |
---|
711 | <table cellspacing=5 cellpadding=0 border=0> |
---|
712 | <tr> |
---|
713 | <td> |
---|
714 | |
---|
715 | </td> |
---|
716 | <td> |
---|
717 | |
---|
718 | <p> |
---|
719 | Gets the index of a submesh with a given name. |
---|
720 | <p> |
---|
721 | <dl compact><dt><b>Remarks:</b></dt><dd>Useful if you identify the SubMeshes by name (using nameSubMesh) but wish to have faster repeat access. </dd></dl> |
---|
722 | </td> |
---|
723 | </tr> |
---|
724 | </table> |
---|
725 | <a class="anchor" name="Ogre_1_1PatchMesha21" doxytag="Ogre::Mesh::_initAnimationState" ></a><p> |
---|
726 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
727 | <tr> |
---|
728 | <td class="mdRow"> |
---|
729 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
730 | <tr> |
---|
731 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_initAnimationState </td> |
---|
732 | <td class="md" valign="top">( </td> |
---|
733 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a0">AnimationStateSet</a> * </td> |
---|
734 | <td class="mdname1" valign="top" nowrap> <em>animSet</em> </td> |
---|
735 | <td class="md" valign="top"> ) </td> |
---|
736 | <td class="md" nowrap></td> |
---|
737 | </tr> |
---|
738 | |
---|
739 | </table> |
---|
740 | </td> |
---|
741 | </tr> |
---|
742 | </table> |
---|
743 | <table cellspacing=5 cellpadding=0 border=0> |
---|
744 | <tr> |
---|
745 | <td> |
---|
746 | |
---|
747 | </td> |
---|
748 | <td> |
---|
749 | |
---|
750 | <p> |
---|
751 | Initialise an animation set suitable for use with this mesh. |
---|
752 | <p> |
---|
753 | <dl compact><dt><b>Remarks:</b></dt><dd>Only recommended for use inside the engine, not by applications. </dd></dl> |
---|
754 | </td> |
---|
755 | </tr> |
---|
756 | </table> |
---|
757 | <a class="anchor" name="Ogre_1_1Texturea43" doxytag="Ogre::Mesh::_notifyOrigin" ></a><p> |
---|
758 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
759 | <tr> |
---|
760 | <td class="mdRow"> |
---|
761 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
762 | <tr> |
---|
763 | <td class="md" nowrap valign="top"> void Ogre::Resource::_notifyOrigin </td> |
---|
764 | <td class="md" valign="top">( </td> |
---|
765 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
766 | <td class="mdname1" valign="top" nowrap> <em>origin</em> </td> |
---|
767 | <td class="md" valign="top"> ) </td> |
---|
768 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
769 | </tr> |
---|
770 | |
---|
771 | </table> |
---|
772 | </td> |
---|
773 | </tr> |
---|
774 | </table> |
---|
775 | <table cellspacing=5 cellpadding=0 border=0> |
---|
776 | <tr> |
---|
777 | <td> |
---|
778 | |
---|
779 | </td> |
---|
780 | <td> |
---|
781 | |
---|
782 | <p> |
---|
783 | Notify this resource of it's origin. |
---|
784 | <p> |
---|
785 | |
---|
786 | <p> |
---|
787 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00214">214</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. |
---|
788 | <p> |
---|
789 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>. </td> |
---|
790 | </tr> |
---|
791 | </table> |
---|
792 | <a class="anchor" name="Ogre_1_1PatchMesha24" doxytag="Ogre::Mesh::_notifySkeleton" ></a><p> |
---|
793 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
794 | <tr> |
---|
795 | <td class="mdRow"> |
---|
796 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
797 | <tr> |
---|
798 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_notifySkeleton </td> |
---|
799 | <td class="md" valign="top">( </td> |
---|
800 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SkeletonPtr.html">SkeletonPtr</a> & </td> |
---|
801 | <td class="mdname1" valign="top" nowrap> <em>pSkel</em> </td> |
---|
802 | <td class="md" valign="top"> ) </td> |
---|
803 | <td class="md" nowrap></td> |
---|
804 | </tr> |
---|
805 | |
---|
806 | </table> |
---|
807 | </td> |
---|
808 | </tr> |
---|
809 | </table> |
---|
810 | <table cellspacing=5 cellpadding=0 border=0> |
---|
811 | <tr> |
---|
812 | <td> |
---|
813 | |
---|
814 | </td> |
---|
815 | <td> |
---|
816 | |
---|
817 | <p> |
---|
818 | Internal notification, used to tell the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> which <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a> to use without loading it. |
---|
819 | <p> |
---|
820 | <dl compact><dt><b>Remarks:</b></dt><dd>This is only here for unusual situation where you want to manually set up a <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a>. Best to let OGRE deal with this, don't call it yourself unless you really know what you're doing. </dd></dl> |
---|
821 | </td> |
---|
822 | </tr> |
---|
823 | </table> |
---|
824 | <a class="anchor" name="Ogre_1_1PatchMesha44" doxytag="Ogre::Mesh::_rationaliseBoneAssignments" ></a><p> |
---|
825 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
826 | <tr> |
---|
827 | <td class="mdRow"> |
---|
828 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
829 | <tr> |
---|
830 | <td class="md" nowrap valign="top"> unsigned short Ogre::Mesh::_rationaliseBoneAssignments </td> |
---|
831 | <td class="md" valign="top">( </td> |
---|
832 | <td class="md" nowrap valign="top">size_t </td> |
---|
833 | <td class="mdname" nowrap> <em>vertexCount</em>, </td> |
---|
834 | </tr> |
---|
835 | <tr> |
---|
836 | <td class="md" nowrap align="right"></td> |
---|
837 | <td></td> |
---|
838 | <td class="md" nowrap><a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> & </td> |
---|
839 | <td class="mdname" nowrap> <em>assignments</em></td> |
---|
840 | </tr> |
---|
841 | <tr> |
---|
842 | <td></td> |
---|
843 | <td class="md">) </td> |
---|
844 | <td class="md" colspan="2"></td> |
---|
845 | </tr> |
---|
846 | |
---|
847 | </table> |
---|
848 | </td> |
---|
849 | </tr> |
---|
850 | </table> |
---|
851 | <table cellspacing=5 cellpadding=0 border=0> |
---|
852 | <tr> |
---|
853 | <td> |
---|
854 | |
---|
855 | </td> |
---|
856 | <td> |
---|
857 | |
---|
858 | <p> |
---|
859 | Rationalises the passed in bone assignment list. |
---|
860 | <p> |
---|
861 | <dl compact><dt><b>Remarks:</b></dt><dd>OGRE supports up to 4 bone assignments per vertex. The reason for this limit is that this is the maximum number of assignments that can be passed into a hardware-assisted blending algorithm. This method identifies where there are more than 4 bone assignments for a given vertex, and eliminates the bone assignments with the lowest weights to reduce to this limit. The remaining weights are then re-balanced to ensure that they sum to 1.0. </dd></dl> |
---|
862 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
863 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
864 | <tr><td valign=top><em>vertexCount</em> </td><td>The number of vertices. </td></tr> |
---|
865 | <tr><td valign=top><em>assignments</em> </td><td>The bone assignment list to rationalise. This list will be modified and entries will be removed where the limits are exceeded. </td></tr> |
---|
866 | </table> |
---|
867 | </dl> |
---|
868 | <dl compact><dt><b>Returns:</b></dt><dd>The maximum number of bone assignments per vertex found, clamped to [1-4] </dd></dl> |
---|
869 | </td> |
---|
870 | </tr> |
---|
871 | </table> |
---|
872 | <a class="anchor" name="Ogre_1_1PatchMesha16" doxytag="Ogre::Mesh::_setBoundingSphereRadius" ></a><p> |
---|
873 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
874 | <tr> |
---|
875 | <td class="mdRow"> |
---|
876 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
877 | <tr> |
---|
878 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_setBoundingSphereRadius </td> |
---|
879 | <td class="md" valign="top">( </td> |
---|
880 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
881 | <td class="mdname1" valign="top" nowrap> <em>radius</em> </td> |
---|
882 | <td class="md" valign="top"> ) </td> |
---|
883 | <td class="md" nowrap></td> |
---|
884 | </tr> |
---|
885 | |
---|
886 | </table> |
---|
887 | </td> |
---|
888 | </tr> |
---|
889 | </table> |
---|
890 | <table cellspacing=5 cellpadding=0 border=0> |
---|
891 | <tr> |
---|
892 | <td> |
---|
893 | |
---|
894 | </td> |
---|
895 | <td> |
---|
896 | |
---|
897 | <p> |
---|
898 | Manually set the bounding radius. |
---|
899 | <p> |
---|
900 | <dl compact><dt><b>Remarks:</b></dt><dd>Calling this method is required when building manual meshes now, because OGRE can no longer update the bounds for you, because it cannot necessarily read vertex data back from the vertex buffers which this mesh uses (they very well might be write-only, and even if they are not, reading data from a hardware buffer is a bottleneck). </dd></dl> |
---|
901 | </td> |
---|
902 | </tr> |
---|
903 | </table> |
---|
904 | <a class="anchor" name="Ogre_1_1PatchMesha15" doxytag="Ogre::Mesh::_setBounds" ></a><p> |
---|
905 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
906 | <tr> |
---|
907 | <td class="mdRow"> |
---|
908 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
909 | <tr> |
---|
910 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_setBounds </td> |
---|
911 | <td class="md" valign="top">( </td> |
---|
912 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> & </td> |
---|
913 | <td class="mdname" nowrap> <em>bounds</em>, </td> |
---|
914 | </tr> |
---|
915 | <tr> |
---|
916 | <td class="md" nowrap align="right"></td> |
---|
917 | <td></td> |
---|
918 | <td class="md" nowrap>bool </td> |
---|
919 | <td class="mdname" nowrap> <em>pad</em> = true</td> |
---|
920 | </tr> |
---|
921 | <tr> |
---|
922 | <td></td> |
---|
923 | <td class="md">) </td> |
---|
924 | <td class="md" colspan="2"></td> |
---|
925 | </tr> |
---|
926 | |
---|
927 | </table> |
---|
928 | </td> |
---|
929 | </tr> |
---|
930 | </table> |
---|
931 | <table cellspacing=5 cellpadding=0 border=0> |
---|
932 | <tr> |
---|
933 | <td> |
---|
934 | |
---|
935 | </td> |
---|
936 | <td> |
---|
937 | |
---|
938 | <p> |
---|
939 | Manually set the bounding box for this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. |
---|
940 | <p> |
---|
941 | <dl compact><dt><b>Remarks:</b></dt><dd>Calling this method is required when building manual meshes now, because OGRE can no longer update the bounds for you, because it cannot necessarily read vertex data back from the vertex buffers which this mesh uses (they very well might be write-only, and even if they are not, reading data from a hardware buffer is a bottleneck). </dd></dl> |
---|
942 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
943 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
944 | <tr><td valign=top><em>pad</em> </td><td>If true, a certain padding will be added to the bounding box to separate it from the mesh </td></tr> |
---|
945 | </table> |
---|
946 | </dl> |
---|
947 | </td> |
---|
948 | </tr> |
---|
949 | </table> |
---|
950 | <a class="anchor" name="Ogre_1_1PatchMesha34" doxytag="Ogre::Mesh::_setLodInfo" ></a><p> |
---|
951 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
952 | <tr> |
---|
953 | <td class="mdRow"> |
---|
954 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
955 | <tr> |
---|
956 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_setLodInfo </td> |
---|
957 | <td class="md" valign="top">( </td> |
---|
958 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
959 | <td class="mdname" nowrap> <em>numLevels</em>, </td> |
---|
960 | </tr> |
---|
961 | <tr> |
---|
962 | <td class="md" nowrap align="right"></td> |
---|
963 | <td></td> |
---|
964 | <td class="md" nowrap>bool </td> |
---|
965 | <td class="mdname" nowrap> <em>isManual</em></td> |
---|
966 | </tr> |
---|
967 | <tr> |
---|
968 | <td></td> |
---|
969 | <td class="md">) </td> |
---|
970 | <td class="md" colspan="2"></td> |
---|
971 | </tr> |
---|
972 | |
---|
973 | </table> |
---|
974 | </td> |
---|
975 | </tr> |
---|
976 | </table> |
---|
977 | <table cellspacing=5 cellpadding=0 border=0> |
---|
978 | <tr> |
---|
979 | <td> |
---|
980 | |
---|
981 | </td> |
---|
982 | <td> |
---|
983 | |
---|
984 | <p> |
---|
985 | Internal methods for loading LOD, do not use. |
---|
986 | <p> |
---|
987 | </td> |
---|
988 | </tr> |
---|
989 | </table> |
---|
990 | <a class="anchor" name="Ogre_1_1PatchMesha35" doxytag="Ogre::Mesh::_setLodUsage" ></a><p> |
---|
991 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
992 | <tr> |
---|
993 | <td class="mdRow"> |
---|
994 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
995 | <tr> |
---|
996 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_setLodUsage </td> |
---|
997 | <td class="md" valign="top">( </td> |
---|
998 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
999 | <td class="mdname" nowrap> <em>level</em>, </td> |
---|
1000 | </tr> |
---|
1001 | <tr> |
---|
1002 | <td class="md" nowrap align="right"></td> |
---|
1003 | <td></td> |
---|
1004 | <td class="md" nowrap><a class="el" href="structOgre_1_1MeshLodUsage.html">MeshLodUsage</a> & </td> |
---|
1005 | <td class="mdname" nowrap> <em>usage</em></td> |
---|
1006 | </tr> |
---|
1007 | <tr> |
---|
1008 | <td></td> |
---|
1009 | <td class="md">) </td> |
---|
1010 | <td class="md" colspan="2"></td> |
---|
1011 | </tr> |
---|
1012 | |
---|
1013 | </table> |
---|
1014 | </td> |
---|
1015 | </tr> |
---|
1016 | </table> |
---|
1017 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1018 | <tr> |
---|
1019 | <td> |
---|
1020 | |
---|
1021 | </td> |
---|
1022 | <td> |
---|
1023 | |
---|
1024 | <p> |
---|
1025 | Internal methods for loading LOD, do not use. |
---|
1026 | <p> |
---|
1027 | </td> |
---|
1028 | </tr> |
---|
1029 | </table> |
---|
1030 | <a class="anchor" name="Ogre_1_1PatchMesha36" doxytag="Ogre::Mesh::_setSubMeshLodFaceList" ></a><p> |
---|
1031 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1032 | <tr> |
---|
1033 | <td class="mdRow"> |
---|
1034 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1035 | <tr> |
---|
1036 | <td class="md" nowrap valign="top"> void Ogre::Mesh::_setSubMeshLodFaceList </td> |
---|
1037 | <td class="md" valign="top">( </td> |
---|
1038 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
1039 | <td class="mdname" nowrap> <em>subIdx</em>, </td> |
---|
1040 | </tr> |
---|
1041 | <tr> |
---|
1042 | <td class="md" nowrap align="right"></td> |
---|
1043 | <td></td> |
---|
1044 | <td class="md" nowrap>unsigned short </td> |
---|
1045 | <td class="mdname" nowrap> <em>level</em>, </td> |
---|
1046 | </tr> |
---|
1047 | <tr> |
---|
1048 | <td class="md" nowrap align="right"></td> |
---|
1049 | <td></td> |
---|
1050 | <td class="md" nowrap><a class="el" href="classOgre_1_1IndexData.html">IndexData</a> * </td> |
---|
1051 | <td class="mdname" nowrap> <em>facedata</em></td> |
---|
1052 | </tr> |
---|
1053 | <tr> |
---|
1054 | <td></td> |
---|
1055 | <td class="md">) </td> |
---|
1056 | <td class="md" colspan="2"></td> |
---|
1057 | </tr> |
---|
1058 | |
---|
1059 | </table> |
---|
1060 | </td> |
---|
1061 | </tr> |
---|
1062 | </table> |
---|
1063 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1064 | <tr> |
---|
1065 | <td> |
---|
1066 | |
---|
1067 | </td> |
---|
1068 | <td> |
---|
1069 | |
---|
1070 | <p> |
---|
1071 | Internal methods for loading LOD, do not use. |
---|
1072 | <p> |
---|
1073 | </td> |
---|
1074 | </tr> |
---|
1075 | </table> |
---|
1076 | <a class="anchor" name="Ogre_1_1PatchMesha22" doxytag="Ogre::Mesh::addBoneAssignment" ></a><p> |
---|
1077 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1078 | <tr> |
---|
1079 | <td class="mdRow"> |
---|
1080 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1081 | <tr> |
---|
1082 | <td class="md" nowrap valign="top"> void Ogre::Mesh::addBoneAssignment </td> |
---|
1083 | <td class="md" valign="top">( </td> |
---|
1084 | <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a> & </td> |
---|
1085 | <td class="mdname1" valign="top" nowrap> <em>vertBoneAssign</em> </td> |
---|
1086 | <td class="md" valign="top"> ) </td> |
---|
1087 | <td class="md" nowrap></td> |
---|
1088 | </tr> |
---|
1089 | |
---|
1090 | </table> |
---|
1091 | </td> |
---|
1092 | </tr> |
---|
1093 | </table> |
---|
1094 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1095 | <tr> |
---|
1096 | <td> |
---|
1097 | |
---|
1098 | </td> |
---|
1099 | <td> |
---|
1100 | |
---|
1101 | <p> |
---|
1102 | Assigns a vertex to a bone with a given weight, for skeletal animation. |
---|
1103 | <p> |
---|
1104 | <dl compact><dt><b>Remarks:</b></dt><dd>This method is only valid after calling setSkeletonName. Since this is a one-off process there exists only 'addBoneAssignment' and 'clearBoneAssignments' methods, no 'editBoneAssignment'. You should not need to modify bone assignments during rendering (only the positions of bones) and OGRE reserves the right to do some internal data reformatting of this information, depending on render system requirements. </dd></dl> |
---|
1105 | <dl compact><dt><b></b></dt><dd>This method is for assigning weights to the shared geometry of the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. To assign weights to the per-SubMesh geometry, see the equivalent methods on <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. </dd></dl> |
---|
1106 | </td> |
---|
1107 | </tr> |
---|
1108 | </table> |
---|
1109 | <a class="anchor" name="Ogre_1_1PatchMesha48" doxytag="Ogre::Mesh::buildEdgeList" ></a><p> |
---|
1110 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1111 | <tr> |
---|
1112 | <td class="mdRow"> |
---|
1113 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1114 | <tr> |
---|
1115 | <td class="md" nowrap valign="top"> void Ogre::Mesh::buildEdgeList </td> |
---|
1116 | <td class="md" valign="top">( </td> |
---|
1117 | <td class="md" nowrap valign="top">void </td> |
---|
1118 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1119 | <td class="md" valign="top"> ) </td> |
---|
1120 | <td class="md" nowrap></td> |
---|
1121 | </tr> |
---|
1122 | |
---|
1123 | </table> |
---|
1124 | </td> |
---|
1125 | </tr> |
---|
1126 | </table> |
---|
1127 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1128 | <tr> |
---|
1129 | <td> |
---|
1130 | |
---|
1131 | </td> |
---|
1132 | <td> |
---|
1133 | |
---|
1134 | <p> |
---|
1135 | Builds an edge list for this mesh, which can be used for generating a shadow volume among other things. |
---|
1136 | <p> |
---|
1137 | </td> |
---|
1138 | </tr> |
---|
1139 | </table> |
---|
1140 | <a class="anchor" name="Ogre_1_1PatchMesha46" doxytag="Ogre::Mesh::buildTangentVectors" ></a><p> |
---|
1141 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1142 | <tr> |
---|
1143 | <td class="mdRow"> |
---|
1144 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1145 | <tr> |
---|
1146 | <td class="md" nowrap valign="top"> void Ogre::Mesh::buildTangentVectors </td> |
---|
1147 | <td class="md" valign="top">( </td> |
---|
1148 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
1149 | <td class="mdname" nowrap> <em>sourceTexCoordSet</em> = 0, </td> |
---|
1150 | </tr> |
---|
1151 | <tr> |
---|
1152 | <td class="md" nowrap align="right"></td> |
---|
1153 | <td></td> |
---|
1154 | <td class="md" nowrap>unsigned short </td> |
---|
1155 | <td class="mdname" nowrap> <em>destTexCoordSet</em> = 1</td> |
---|
1156 | </tr> |
---|
1157 | <tr> |
---|
1158 | <td></td> |
---|
1159 | <td class="md">) </td> |
---|
1160 | <td class="md" colspan="2"></td> |
---|
1161 | </tr> |
---|
1162 | |
---|
1163 | </table> |
---|
1164 | </td> |
---|
1165 | </tr> |
---|
1166 | </table> |
---|
1167 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1168 | <tr> |
---|
1169 | <td> |
---|
1170 | |
---|
1171 | </td> |
---|
1172 | <td> |
---|
1173 | |
---|
1174 | <p> |
---|
1175 | This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer. |
---|
1176 | <p> |
---|
1177 | <dl compact><dt><b>Remarks:</b></dt><dd>Tangent vectors are vectors representing the local 'X' axis for a given vertex based on the orientation of the 2D texture on the geometry. They are built from a combination of existing normals, and from the 2D texture coordinates already baked into the model. They can be used for a number of things, but most of all they are useful for vertex and fragment programs, when you wish to arrive at a common space for doing per-pixel calculations. </dd></dl> |
---|
1178 | <dl compact><dt><b></b></dt><dd>The prerequisites for calling this method include that the vertex data used by every <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> has both vertex normals and 2D texture coordinates. </dd></dl> |
---|
1179 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1180 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1181 | <tr><td valign=top><em>sourceTexCoordSet</em> </td><td>The texture coordinate index which should be used as the source of 2D texture coordinates, with which to calculate the tangents. </td></tr> |
---|
1182 | <tr><td valign=top><em>destTexCoordSet</em> </td><td>The texture coordinate set which should be used to store the 3D coordinates representing a tangent vector per vertex. If this already exists, it will be overwritten. </td></tr> |
---|
1183 | </table> |
---|
1184 | </dl> |
---|
1185 | </td> |
---|
1186 | </tr> |
---|
1187 | </table> |
---|
1188 | <a class="anchor" name="Ogre_1_1PatchMeshb5" doxytag="Ogre::Mesh::calculateSize" ></a><p> |
---|
1189 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1190 | <tr> |
---|
1191 | <td class="mdRow"> |
---|
1192 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1193 | <tr> |
---|
1194 | <td class="md" nowrap valign="top"> size_t Ogre::Mesh::calculateSize </td> |
---|
1195 | <td class="md" valign="top">( </td> |
---|
1196 | <td class="md" nowrap valign="top">void </td> |
---|
1197 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1198 | <td class="md" valign="top"> ) </td> |
---|
1199 | <td class="md" nowrap> const<code> [protected, virtual]</code></td> |
---|
1200 | </tr> |
---|
1201 | |
---|
1202 | </table> |
---|
1203 | </td> |
---|
1204 | </tr> |
---|
1205 | </table> |
---|
1206 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1207 | <tr> |
---|
1208 | <td> |
---|
1209 | |
---|
1210 | </td> |
---|
1211 | <td> |
---|
1212 | |
---|
1213 | <p> |
---|
1214 | |
---|
1215 | <p> |
---|
1216 | |
---|
1217 | <p> |
---|
1218 | Implements <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Resourceb3">Ogre::Resource</a>. </td> |
---|
1219 | </tr> |
---|
1220 | </table> |
---|
1221 | <a class="anchor" name="Ogre_1_1Texturee0" doxytag="Ogre::Mesh::cleanupDictionary" ></a><p> |
---|
1222 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1223 | <tr> |
---|
1224 | <td class="mdRow"> |
---|
1225 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1226 | <tr> |
---|
1227 | <td class="md" nowrap valign="top"> void Ogre::StringInterface::cleanupDictionary </td> |
---|
1228 | <td class="md" valign="top">( </td> |
---|
1229 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1230 | <td class="md" valign="top"> ) </td> |
---|
1231 | <td class="md" nowrap><code> [static, inherited]</code></td> |
---|
1232 | </tr> |
---|
1233 | |
---|
1234 | </table> |
---|
1235 | </td> |
---|
1236 | </tr> |
---|
1237 | </table> |
---|
1238 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1239 | <tr> |
---|
1240 | <td> |
---|
1241 | |
---|
1242 | </td> |
---|
1243 | <td> |
---|
1244 | |
---|
1245 | <p> |
---|
1246 | Cleans up the static 'msDictionary' required to reset <a class="el" href="namespaceOgre.html">Ogre</a>, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> implementers (e.g. |
---|
1247 | <p> |
---|
1248 | <a class="el" href="classOgre_1_1MaterialManager.html">MaterialManager</a>) initializes. </td> |
---|
1249 | </tr> |
---|
1250 | </table> |
---|
1251 | <a class="anchor" name="Ogre_1_1PatchMesha23" doxytag="Ogre::Mesh::clearBoneAssignments" ></a><p> |
---|
1252 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1253 | <tr> |
---|
1254 | <td class="mdRow"> |
---|
1255 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1256 | <tr> |
---|
1257 | <td class="md" nowrap valign="top"> void Ogre::Mesh::clearBoneAssignments </td> |
---|
1258 | <td class="md" valign="top">( </td> |
---|
1259 | <td class="md" nowrap valign="top">void </td> |
---|
1260 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1261 | <td class="md" valign="top"> ) </td> |
---|
1262 | <td class="md" nowrap></td> |
---|
1263 | </tr> |
---|
1264 | |
---|
1265 | </table> |
---|
1266 | </td> |
---|
1267 | </tr> |
---|
1268 | </table> |
---|
1269 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1270 | <tr> |
---|
1271 | <td> |
---|
1272 | |
---|
1273 | </td> |
---|
1274 | <td> |
---|
1275 | |
---|
1276 | <p> |
---|
1277 | Removes all bone assignments for this mesh. |
---|
1278 | <p> |
---|
1279 | <dl compact><dt><b>Remarks:</b></dt><dd>This method is for modifying weights to the shared geometry of the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. To assign weights to the per-SubMesh geometry, see the equivalent methods on <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. </dd></dl> |
---|
1280 | </td> |
---|
1281 | </tr> |
---|
1282 | </table> |
---|
1283 | <a class="anchor" name="Ogre_1_1PatchMesha12" doxytag="Ogre::Mesh::clone" ></a><p> |
---|
1284 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1285 | <tr> |
---|
1286 | <td class="mdRow"> |
---|
1287 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1288 | <tr> |
---|
1289 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MeshPtr.html">MeshPtr</a> Ogre::Mesh::clone </td> |
---|
1290 | <td class="md" valign="top">( </td> |
---|
1291 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
1292 | <td class="mdname" nowrap> <em>newName</em>, </td> |
---|
1293 | </tr> |
---|
1294 | <tr> |
---|
1295 | <td class="md" nowrap align="right"></td> |
---|
1296 | <td></td> |
---|
1297 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
1298 | <td class="mdname" nowrap> <em>newGroup</em> = <a class="el" href="classOgre_1_1StringUtil.html#Ogre_1_1StringUtils0">StringUtil::BLANK</a></td> |
---|
1299 | </tr> |
---|
1300 | <tr> |
---|
1301 | <td></td> |
---|
1302 | <td class="md">) </td> |
---|
1303 | <td class="md" colspan="2"></td> |
---|
1304 | </tr> |
---|
1305 | |
---|
1306 | </table> |
---|
1307 | </td> |
---|
1308 | </tr> |
---|
1309 | </table> |
---|
1310 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1311 | <tr> |
---|
1312 | <td> |
---|
1313 | |
---|
1314 | </td> |
---|
1315 | <td> |
---|
1316 | |
---|
1317 | <p> |
---|
1318 | Makes a copy of this mesh object and gives it a new name. |
---|
1319 | <p> |
---|
1320 | <dl compact><dt><b>Remarks:</b></dt><dd>This is useful if you want to tweak an existing mesh without affecting the original one. The newly cloned mesh is registered with the <a class="el" href="classOgre_1_1MeshManager.html">MeshManager</a> under the new name. </dd></dl> |
---|
1321 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1322 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1323 | <tr><td valign=top><em>newName</em> </td><td>The name to give the clone </td></tr> |
---|
1324 | <tr><td valign=top><em>newGroup</em> </td><td>Optional name of the new group to assign the clone to; if you leave this blank, the clone will be assigned to the same group as this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. </td></tr> |
---|
1325 | </table> |
---|
1326 | </dl> |
---|
1327 | </td> |
---|
1328 | </tr> |
---|
1329 | </table> |
---|
1330 | <a class="anchor" name="Ogre_1_1PatchMeshb2" doxytag="Ogre::Mesh::compileBoneAssignments" ></a><p> |
---|
1331 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1332 | <tr> |
---|
1333 | <td class="mdRow"> |
---|
1334 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1335 | <tr> |
---|
1336 | <td class="md" nowrap valign="top"> void Ogre::Mesh::compileBoneAssignments </td> |
---|
1337 | <td class="md" valign="top">( </td> |
---|
1338 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> & </td> |
---|
1339 | <td class="mdname" nowrap> <em>boneAssignments</em>, </td> |
---|
1340 | </tr> |
---|
1341 | <tr> |
---|
1342 | <td class="md" nowrap align="right"></td> |
---|
1343 | <td></td> |
---|
1344 | <td class="md" nowrap>unsigned short </td> |
---|
1345 | <td class="mdname" nowrap> <em>numBlendWeightsPerVertex</em>, </td> |
---|
1346 | </tr> |
---|
1347 | <tr> |
---|
1348 | <td class="md" nowrap align="right"></td> |
---|
1349 | <td></td> |
---|
1350 | <td class="md" nowrap><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> * </td> |
---|
1351 | <td class="mdname" nowrap> <em>targetVertexData</em></td> |
---|
1352 | </tr> |
---|
1353 | <tr> |
---|
1354 | <td></td> |
---|
1355 | <td class="md">) </td> |
---|
1356 | <td class="md" colspan="2"><code> [protected]</code></td> |
---|
1357 | </tr> |
---|
1358 | |
---|
1359 | </table> |
---|
1360 | </td> |
---|
1361 | </tr> |
---|
1362 | </table> |
---|
1363 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1364 | <tr> |
---|
1365 | <td> |
---|
1366 | |
---|
1367 | </td> |
---|
1368 | <td> |
---|
1369 | |
---|
1370 | <p> |
---|
1371 | Compile bone assignments into blend index and weight buffers. |
---|
1372 | <p> |
---|
1373 | </td> |
---|
1374 | </tr> |
---|
1375 | </table> |
---|
1376 | <a class="anchor" name="Ogre_1_1PatchMeshb3" doxytag="Ogre::Mesh::compileBoneAssignmentsSoftware" ></a><p> |
---|
1377 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1378 | <tr> |
---|
1379 | <td class="mdRow"> |
---|
1380 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1381 | <tr> |
---|
1382 | <td class="md" nowrap valign="top"> void Ogre::Mesh::compileBoneAssignmentsSoftware </td> |
---|
1383 | <td class="md" valign="top">( </td> |
---|
1384 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> & </td> |
---|
1385 | <td class="mdname" nowrap> <em>boneAssignments</em>, </td> |
---|
1386 | </tr> |
---|
1387 | <tr> |
---|
1388 | <td class="md" nowrap align="right"></td> |
---|
1389 | <td></td> |
---|
1390 | <td class="md" nowrap>unsigned short </td> |
---|
1391 | <td class="mdname" nowrap> <em>numBlendWeightsPerVertex</em>, </td> |
---|
1392 | </tr> |
---|
1393 | <tr> |
---|
1394 | <td class="md" nowrap align="right"></td> |
---|
1395 | <td></td> |
---|
1396 | <td class="md" nowrap><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> * </td> |
---|
1397 | <td class="mdname" nowrap> <em>targetVertexData</em></td> |
---|
1398 | </tr> |
---|
1399 | <tr> |
---|
1400 | <td></td> |
---|
1401 | <td class="md">) </td> |
---|
1402 | <td class="md" colspan="2"><code> [protected]</code></td> |
---|
1403 | </tr> |
---|
1404 | |
---|
1405 | </table> |
---|
1406 | </td> |
---|
1407 | </tr> |
---|
1408 | </table> |
---|
1409 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1410 | <tr> |
---|
1411 | <td> |
---|
1412 | |
---|
1413 | </td> |
---|
1414 | <td> |
---|
1415 | |
---|
1416 | <p> |
---|
1417 | Software blending oriented bone assignment compilation. |
---|
1418 | <p> |
---|
1419 | </td> |
---|
1420 | </tr> |
---|
1421 | </table> |
---|
1422 | <a class="anchor" name="Ogre_1_1Texturea50" doxytag="Ogre::Mesh::copyParametersTo" ></a><p> |
---|
1423 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1424 | <tr> |
---|
1425 | <td class="mdRow"> |
---|
1426 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1427 | <tr> |
---|
1428 | <td class="md" nowrap valign="top"> virtual void Ogre::StringInterface::copyParametersTo </td> |
---|
1429 | <td class="md" valign="top">( </td> |
---|
1430 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1StringInterface.html">StringInterface</a> * </td> |
---|
1431 | <td class="mdname1" valign="top" nowrap> <em>dest</em> </td> |
---|
1432 | <td class="md" valign="top"> ) </td> |
---|
1433 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
1434 | </tr> |
---|
1435 | |
---|
1436 | </table> |
---|
1437 | </td> |
---|
1438 | </tr> |
---|
1439 | </table> |
---|
1440 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1441 | <tr> |
---|
1442 | <td> |
---|
1443 | |
---|
1444 | </td> |
---|
1445 | <td> |
---|
1446 | |
---|
1447 | <p> |
---|
1448 | Method for copying this object's parameters to another object. |
---|
1449 | <p> |
---|
1450 | <dl compact><dt><b>Remarks:</b></dt><dd>This method takes the values of all the object's parameters and tries to set the same values on the destination object. This provides a completely type independent way to copy parameters to other objects. Note that because of the String manipulation involved, this should not be regarded as an efficient process and should be saved for times outside of the rendering loop. </dd></dl> |
---|
1451 | <dl compact><dt><b></b></dt><dd>Any unrecognised parameters will be ignored as with setParameter method. </dd></dl> |
---|
1452 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1453 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1454 | <tr><td valign=top><em>dest</em> </td><td>Pointer to object to have it's parameters set the same as this object. </td></tr> |
---|
1455 | </table> |
---|
1456 | </dl> |
---|
1457 | |
---|
1458 | <p> |
---|
1459 | Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00296">296</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>. |
---|
1460 | <p> |
---|
1461 | References <a class="el" href="OgreStringInterface_8h-source.html#l00084">Ogre::ParamDictionary::mParamDefs</a>, and <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea47">Ogre::StringInterface::setParameter()</a>. </td> |
---|
1462 | </tr> |
---|
1463 | </table> |
---|
1464 | <a class="anchor" name="Ogre_1_1PatchMesha29" doxytag="Ogre::Mesh::createManualLodLevel" ></a><p> |
---|
1465 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1466 | <tr> |
---|
1467 | <td class="mdRow"> |
---|
1468 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1469 | <tr> |
---|
1470 | <td class="md" nowrap valign="top"> void Ogre::Mesh::createManualLodLevel </td> |
---|
1471 | <td class="md" valign="top">( </td> |
---|
1472 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
1473 | <td class="mdname" nowrap> <em>fromDepth</em>, </td> |
---|
1474 | </tr> |
---|
1475 | <tr> |
---|
1476 | <td class="md" nowrap align="right"></td> |
---|
1477 | <td></td> |
---|
1478 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
1479 | <td class="mdname" nowrap> <em>meshName</em></td> |
---|
1480 | </tr> |
---|
1481 | <tr> |
---|
1482 | <td></td> |
---|
1483 | <td class="md">) </td> |
---|
1484 | <td class="md" colspan="2"></td> |
---|
1485 | </tr> |
---|
1486 | |
---|
1487 | </table> |
---|
1488 | </td> |
---|
1489 | </tr> |
---|
1490 | </table> |
---|
1491 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1492 | <tr> |
---|
1493 | <td> |
---|
1494 | |
---|
1495 | </td> |
---|
1496 | <td> |
---|
1497 | |
---|
1498 | <p> |
---|
1499 | Adds a new manual level-of-detail entry to this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. |
---|
1500 | <p> |
---|
1501 | <dl compact><dt><b>Remarks:</b></dt><dd>As an alternative to generating lower level of detail versions of a mesh, you can use your own manually modelled meshes as lower level versions. This lets you have complete control over the LOD, and in addition lets you scale down other aspects of the model which cannot be done using the generated method; for example, you could use less detailed materials and / or use less bones in the skeleton if this is an animated mesh. Therefore for complex models you are likely to be better off modelling your LODs yourself and using this method, whilst for models with fairly simple materials and no animation you can just use the generateLodLevels method. </dd></dl> |
---|
1502 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1503 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1504 | <tr><td valign=top><em>fromDepth</em> </td><td>The z value from which this Lod will apply. </td></tr> |
---|
1505 | <tr><td valign=top><em>meshName</em> </td><td>The name of the mesh which will be the lower level detail version.</td></tr> |
---|
1506 | </table> |
---|
1507 | </dl> |
---|
1508 | </td> |
---|
1509 | </tr> |
---|
1510 | </table> |
---|
1511 | <a class="anchor" name="Ogre_1_1Textureb6" doxytag="Ogre::Mesh::createParamDictionary" ></a><p> |
---|
1512 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1513 | <tr> |
---|
1514 | <td class="mdRow"> |
---|
1515 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1516 | <tr> |
---|
1517 | <td class="md" nowrap valign="top"> bool Ogre::StringInterface::createParamDictionary </td> |
---|
1518 | <td class="md" valign="top">( </td> |
---|
1519 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
1520 | <td class="mdname1" valign="top" nowrap> <em>className</em> </td> |
---|
1521 | <td class="md" valign="top"> ) </td> |
---|
1522 | <td class="md" nowrap><code> [protected, inherited]</code></td> |
---|
1523 | </tr> |
---|
1524 | |
---|
1525 | </table> |
---|
1526 | </td> |
---|
1527 | </tr> |
---|
1528 | </table> |
---|
1529 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1530 | <tr> |
---|
1531 | <td> |
---|
1532 | |
---|
1533 | </td> |
---|
1534 | <td> |
---|
1535 | |
---|
1536 | <p> |
---|
1537 | Internal method for creating a parameter dictionary for the class, if it does not already exist. |
---|
1538 | <p> |
---|
1539 | <dl compact><dt><b>Remarks:</b></dt><dd>This method will check to see if a parameter dictionary exist for this class yet, and if not will create one. NB you must supply the name of the class (RTTI is not used or performance). </dd></dl> |
---|
1540 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1541 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1542 | <tr><td valign=top><em>className</em> </td><td>the name of the class using the dictionary </td></tr> |
---|
1543 | </table> |
---|
1544 | </dl> |
---|
1545 | <dl compact><dt><b>Returns:</b></dt><dd>true if a new dictionary was created, false if it was already there </dd></dl> |
---|
1546 | |
---|
1547 | <p> |
---|
1548 | Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00172">172</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>. |
---|
1549 | <p> |
---|
1550 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>. </td> |
---|
1551 | </tr> |
---|
1552 | </table> |
---|
1553 | <a class="anchor" name="Ogre_1_1PatchMesha5" doxytag="Ogre::Mesh::createSubMesh" ></a><p> |
---|
1554 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1555 | <tr> |
---|
1556 | <td class="mdRow"> |
---|
1557 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1558 | <tr> |
---|
1559 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>* Ogre::Mesh::createSubMesh </td> |
---|
1560 | <td class="md" valign="top">( </td> |
---|
1561 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
1562 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
1563 | <td class="md" valign="top"> ) </td> |
---|
1564 | <td class="md" nowrap></td> |
---|
1565 | </tr> |
---|
1566 | |
---|
1567 | </table> |
---|
1568 | </td> |
---|
1569 | </tr> |
---|
1570 | </table> |
---|
1571 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1572 | <tr> |
---|
1573 | <td> |
---|
1574 | |
---|
1575 | </td> |
---|
1576 | <td> |
---|
1577 | |
---|
1578 | <p> |
---|
1579 | Creates a new <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> and gives it a name. |
---|
1580 | <p> |
---|
1581 | </td> |
---|
1582 | </tr> |
---|
1583 | </table> |
---|
1584 | <a class="anchor" name="Ogre_1_1PatchMesha4" doxytag="Ogre::Mesh::createSubMesh" ></a><p> |
---|
1585 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1586 | <tr> |
---|
1587 | <td class="mdRow"> |
---|
1588 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1589 | <tr> |
---|
1590 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>* Ogre::Mesh::createSubMesh </td> |
---|
1591 | <td class="md" valign="top">( </td> |
---|
1592 | <td class="md" nowrap valign="top">void </td> |
---|
1593 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1594 | <td class="md" valign="top"> ) </td> |
---|
1595 | <td class="md" nowrap></td> |
---|
1596 | </tr> |
---|
1597 | |
---|
1598 | </table> |
---|
1599 | </td> |
---|
1600 | </tr> |
---|
1601 | </table> |
---|
1602 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1603 | <tr> |
---|
1604 | <td> |
---|
1605 | |
---|
1606 | </td> |
---|
1607 | <td> |
---|
1608 | |
---|
1609 | <p> |
---|
1610 | Creates a new <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. |
---|
1611 | <p> |
---|
1612 | <dl compact><dt><b>Remarks:</b></dt><dd>Method for manually creating geometry for the mesh. Note - use with extreme caution - you must be sure that you have set up the geometry properly. </dd></dl> |
---|
1613 | </td> |
---|
1614 | </tr> |
---|
1615 | </table> |
---|
1616 | <a class="anchor" name="Ogre_1_1PatchMesha49" doxytag="Ogre::Mesh::freeEdgeList" ></a><p> |
---|
1617 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1618 | <tr> |
---|
1619 | <td class="mdRow"> |
---|
1620 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1621 | <tr> |
---|
1622 | <td class="md" nowrap valign="top"> void Ogre::Mesh::freeEdgeList </td> |
---|
1623 | <td class="md" valign="top">( </td> |
---|
1624 | <td class="md" nowrap valign="top">void </td> |
---|
1625 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1626 | <td class="md" valign="top"> ) </td> |
---|
1627 | <td class="md" nowrap></td> |
---|
1628 | </tr> |
---|
1629 | |
---|
1630 | </table> |
---|
1631 | </td> |
---|
1632 | </tr> |
---|
1633 | </table> |
---|
1634 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1635 | <tr> |
---|
1636 | <td> |
---|
1637 | |
---|
1638 | </td> |
---|
1639 | <td> |
---|
1640 | |
---|
1641 | <p> |
---|
1642 | Destroys and frees the edge lists this mesh has built. |
---|
1643 | <p> |
---|
1644 | </td> |
---|
1645 | </tr> |
---|
1646 | </table> |
---|
1647 | <a class="anchor" name="Ogre_1_1PatchMesha26" doxytag="Ogre::Mesh::generateLodLevels" ></a><p> |
---|
1648 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1649 | <tr> |
---|
1650 | <td class="mdRow"> |
---|
1651 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1652 | <tr> |
---|
1653 | <td class="md" nowrap valign="top"> void Ogre::Mesh::generateLodLevels </td> |
---|
1654 | <td class="md" valign="top">( </td> |
---|
1655 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw0">LodDistanceList</a> & </td> |
---|
1656 | <td class="mdname" nowrap> <em>lodDistances</em>, </td> |
---|
1657 | </tr> |
---|
1658 | <tr> |
---|
1659 | <td class="md" nowrap align="right"></td> |
---|
1660 | <td></td> |
---|
1661 | <td class="md" nowrap><a class="el" href="classOgre_1_1ProgressiveMesh.html#Ogre_1_1ProgressiveMeshw3">ProgressiveMesh::VertexReductionQuota</a> </td> |
---|
1662 | <td class="mdname" nowrap> <em>reductionMethod</em>, </td> |
---|
1663 | </tr> |
---|
1664 | <tr> |
---|
1665 | <td class="md" nowrap align="right"></td> |
---|
1666 | <td></td> |
---|
1667 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
1668 | <td class="mdname" nowrap> <em>reductionValue</em></td> |
---|
1669 | </tr> |
---|
1670 | <tr> |
---|
1671 | <td></td> |
---|
1672 | <td class="md">) </td> |
---|
1673 | <td class="md" colspan="2"></td> |
---|
1674 | </tr> |
---|
1675 | |
---|
1676 | </table> |
---|
1677 | </td> |
---|
1678 | </tr> |
---|
1679 | </table> |
---|
1680 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1681 | <tr> |
---|
1682 | <td> |
---|
1683 | |
---|
1684 | </td> |
---|
1685 | <td> |
---|
1686 | |
---|
1687 | <p> |
---|
1688 | Automatically generates lower level of detail versions of this mesh for use when a simpler version of the model is acceptable for rendering. |
---|
1689 | <p> |
---|
1690 | <dl compact><dt><b>Remarks:</b></dt><dd>There are 2 ways that you can create level-of-detail (LOD) versions of a mesh; the first is to call this method, which does fairly extensive calculations to work out how to simplify the mesh whilst having the minimum affect on the model. The alternative is to actually create simpler versions of the mesh yourself in a modelling tool, and having exported them, tell the 'master' mesh to use these alternative meshes for lower detail versions; this is done by calling the createManualLodLevel method. </dd></dl> |
---|
1691 | <dl compact><dt><b></b></dt><dd>As well as creating the lower detail versions of the mesh, this method will also associate them with depth values. As soon as an object is at least as far away from the camera as the depth value associated with it's LOD, it will drop to that level of detail. </dd></dl> |
---|
1692 | <dl compact><dt><b></b></dt><dd>I recommend calling this method before mesh export, not at runtime. </dd></dl> |
---|
1693 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1694 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1695 | <tr><td valign=top><em>lodDistances</em> </td><td>A list of depth values indicating the distances at which new lods should be generated. </td></tr> |
---|
1696 | <tr><td valign=top><em>reductionMethod</em> </td><td>The way to determine the number of vertices collapsed per LOD </td></tr> |
---|
1697 | <tr><td valign=top><em>reductionValue</em> </td><td>Meaning depends on reductionMethod, typically either the proportion of remaining vertices to collapse or a fixed number of vertices.</td></tr> |
---|
1698 | </table> |
---|
1699 | </dl> |
---|
1700 | </td> |
---|
1701 | </tr> |
---|
1702 | </table> |
---|
1703 | <a class="anchor" name="Ogre_1_1PatchMesha57" doxytag="Ogre::Mesh::getAutoBuildEdgeLists" ></a><p> |
---|
1704 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1705 | <tr> |
---|
1706 | <td class="mdRow"> |
---|
1707 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1708 | <tr> |
---|
1709 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::getAutoBuildEdgeLists </td> |
---|
1710 | <td class="md" valign="top">( </td> |
---|
1711 | <td class="md" nowrap valign="top">void </td> |
---|
1712 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1713 | <td class="md" valign="top"> ) </td> |
---|
1714 | <td class="md" nowrap> const</td> |
---|
1715 | </tr> |
---|
1716 | |
---|
1717 | </table> |
---|
1718 | </td> |
---|
1719 | </tr> |
---|
1720 | </table> |
---|
1721 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1722 | <tr> |
---|
1723 | <td> |
---|
1724 | |
---|
1725 | </td> |
---|
1726 | <td> |
---|
1727 | |
---|
1728 | <p> |
---|
1729 | Sets whether or not this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. |
---|
1730 | <p> |
---|
1731 | |
---|
1732 | <p> |
---|
1733 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00612">612</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
1734 | </tr> |
---|
1735 | </table> |
---|
1736 | <a class="anchor" name="Ogre_1_1PatchMesha25" doxytag="Ogre::Mesh::getBoneAssignmentIterator" ></a><p> |
---|
1737 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1738 | <tr> |
---|
1739 | <td class="mdRow"> |
---|
1740 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1741 | <tr> |
---|
1742 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MapIterator.html">BoneAssignmentIterator</a> Ogre::Mesh::getBoneAssignmentIterator </td> |
---|
1743 | <td class="md" valign="top">( </td> |
---|
1744 | <td class="md" nowrap valign="top">void </td> |
---|
1745 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1746 | <td class="md" valign="top"> ) </td> |
---|
1747 | <td class="md" nowrap></td> |
---|
1748 | </tr> |
---|
1749 | |
---|
1750 | </table> |
---|
1751 | </td> |
---|
1752 | </tr> |
---|
1753 | </table> |
---|
1754 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1755 | <tr> |
---|
1756 | <td> |
---|
1757 | |
---|
1758 | </td> |
---|
1759 | <td> |
---|
1760 | |
---|
1761 | <p> |
---|
1762 | Gets an iterator for access all bone assignments. |
---|
1763 | <p> |
---|
1764 | </td> |
---|
1765 | </tr> |
---|
1766 | </table> |
---|
1767 | <a class="anchor" name="Ogre_1_1PatchMesha14" doxytag="Ogre::Mesh::getBoundingSphereRadius" ></a><p> |
---|
1768 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1769 | <tr> |
---|
1770 | <td class="mdRow"> |
---|
1771 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1772 | <tr> |
---|
1773 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Mesh::getBoundingSphereRadius </td> |
---|
1774 | <td class="md" valign="top">( </td> |
---|
1775 | <td class="md" nowrap valign="top">void </td> |
---|
1776 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1777 | <td class="md" valign="top"> ) </td> |
---|
1778 | <td class="md" nowrap> const</td> |
---|
1779 | </tr> |
---|
1780 | |
---|
1781 | </table> |
---|
1782 | </td> |
---|
1783 | </tr> |
---|
1784 | </table> |
---|
1785 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1786 | <tr> |
---|
1787 | <td> |
---|
1788 | |
---|
1789 | </td> |
---|
1790 | <td> |
---|
1791 | |
---|
1792 | <p> |
---|
1793 | Gets the radius of the bounding sphere surrounding this mesh. |
---|
1794 | <p> |
---|
1795 | </td> |
---|
1796 | </tr> |
---|
1797 | </table> |
---|
1798 | <a class="anchor" name="Ogre_1_1PatchMesha13" doxytag="Ogre::Mesh::getBounds" ></a><p> |
---|
1799 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1800 | <tr> |
---|
1801 | <td class="mdRow"> |
---|
1802 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1803 | <tr> |
---|
1804 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>& Ogre::Mesh::getBounds </td> |
---|
1805 | <td class="md" valign="top">( </td> |
---|
1806 | <td class="md" nowrap valign="top">void </td> |
---|
1807 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1808 | <td class="md" valign="top"> ) </td> |
---|
1809 | <td class="md" nowrap> const</td> |
---|
1810 | </tr> |
---|
1811 | |
---|
1812 | </table> |
---|
1813 | </td> |
---|
1814 | </tr> |
---|
1815 | </table> |
---|
1816 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1817 | <tr> |
---|
1818 | <td> |
---|
1819 | |
---|
1820 | </td> |
---|
1821 | <td> |
---|
1822 | |
---|
1823 | <p> |
---|
1824 | Get the axis-aligned bounding box for this mesh. |
---|
1825 | <p> |
---|
1826 | </td> |
---|
1827 | </tr> |
---|
1828 | </table> |
---|
1829 | <a class="anchor" name="Ogre_1_1Texturea41" doxytag="Ogre::Mesh::getCreator" ></a><p> |
---|
1830 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1831 | <tr> |
---|
1832 | <td class="mdRow"> |
---|
1833 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1834 | <tr> |
---|
1835 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>* Ogre::Resource::getCreator </td> |
---|
1836 | <td class="md" valign="top">( </td> |
---|
1837 | <td class="md" nowrap valign="top">void </td> |
---|
1838 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1839 | <td class="md" valign="top"> ) </td> |
---|
1840 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
1841 | </tr> |
---|
1842 | |
---|
1843 | </table> |
---|
1844 | </td> |
---|
1845 | </tr> |
---|
1846 | </table> |
---|
1847 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1848 | <tr> |
---|
1849 | <td> |
---|
1850 | |
---|
1851 | </td> |
---|
1852 | <td> |
---|
1853 | |
---|
1854 | <p> |
---|
1855 | Gets the manager which created this resource. |
---|
1856 | <p> |
---|
1857 | |
---|
1858 | <p> |
---|
1859 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00205">205</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
1860 | </tr> |
---|
1861 | </table> |
---|
1862 | <a class="anchor" name="Ogre_1_1PatchMesha52" doxytag="Ogre::Mesh::getEdgeList" ></a><p> |
---|
1863 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1864 | <tr> |
---|
1865 | <td class="mdRow"> |
---|
1866 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1867 | <tr> |
---|
1868 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1EdgeData.html">EdgeData</a>* Ogre::Mesh::getEdgeList </td> |
---|
1869 | <td class="md" valign="top">( </td> |
---|
1870 | <td class="md" nowrap valign="top">unsigned int </td> |
---|
1871 | <td class="mdname1" valign="top" nowrap> <em>lodIndex</em> = 0 </td> |
---|
1872 | <td class="md" valign="top"> ) </td> |
---|
1873 | <td class="md" nowrap> const</td> |
---|
1874 | </tr> |
---|
1875 | |
---|
1876 | </table> |
---|
1877 | </td> |
---|
1878 | </tr> |
---|
1879 | </table> |
---|
1880 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1881 | <tr> |
---|
1882 | <td> |
---|
1883 | |
---|
1884 | </td> |
---|
1885 | <td> |
---|
1886 | |
---|
1887 | <p> |
---|
1888 | Return the edge list for this mesh, building it if required. |
---|
1889 | <p> |
---|
1890 | <dl compact><dt><b>Remarks:</b></dt><dd>You must ensure that the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> as been prepared for shadow volume rendering if you intend to use this information for that purpose. The LOD at which to get the edge list, 0 being the highest. </dd></dl> |
---|
1891 | </td> |
---|
1892 | </tr> |
---|
1893 | </table> |
---|
1894 | <a class="anchor" name="Ogre_1_1PatchMesha51" doxytag="Ogre::Mesh::getEdgeList" ></a><p> |
---|
1895 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1896 | <tr> |
---|
1897 | <td class="mdRow"> |
---|
1898 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1899 | <tr> |
---|
1900 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1EdgeData.html">EdgeData</a>* Ogre::Mesh::getEdgeList </td> |
---|
1901 | <td class="md" valign="top">( </td> |
---|
1902 | <td class="md" nowrap valign="top">unsigned int </td> |
---|
1903 | <td class="mdname1" valign="top" nowrap> <em>lodIndex</em> = 0 </td> |
---|
1904 | <td class="md" valign="top"> ) </td> |
---|
1905 | <td class="md" nowrap></td> |
---|
1906 | </tr> |
---|
1907 | |
---|
1908 | </table> |
---|
1909 | </td> |
---|
1910 | </tr> |
---|
1911 | </table> |
---|
1912 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1913 | <tr> |
---|
1914 | <td> |
---|
1915 | |
---|
1916 | </td> |
---|
1917 | <td> |
---|
1918 | |
---|
1919 | <p> |
---|
1920 | Return the edge list for this mesh, building it if required. |
---|
1921 | <p> |
---|
1922 | <dl compact><dt><b>Remarks:</b></dt><dd>You must ensure that the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> as been prepared for shadow volume rendering if you intend to use this information for that purpose. The LOD at which to get the edge list, 0 being the highest. </dd></dl> |
---|
1923 | </td> |
---|
1924 | </tr> |
---|
1925 | </table> |
---|
1926 | <a class="anchor" name="Ogre_1_1Texturea40" doxytag="Ogre::Mesh::getGroup" ></a><p> |
---|
1927 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1928 | <tr> |
---|
1929 | <td class="mdRow"> |
---|
1930 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1931 | <tr> |
---|
1932 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>& Ogre::Resource::getGroup </td> |
---|
1933 | <td class="md" valign="top">( </td> |
---|
1934 | <td class="md" nowrap valign="top">void </td> |
---|
1935 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1936 | <td class="md" valign="top"> ) </td> |
---|
1937 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
1938 | </tr> |
---|
1939 | |
---|
1940 | </table> |
---|
1941 | </td> |
---|
1942 | </tr> |
---|
1943 | </table> |
---|
1944 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1945 | <tr> |
---|
1946 | <td> |
---|
1947 | |
---|
1948 | </td> |
---|
1949 | <td> |
---|
1950 | |
---|
1951 | <p> |
---|
1952 | Gets the group which this resource is a member of. |
---|
1953 | <p> |
---|
1954 | |
---|
1955 | <p> |
---|
1956 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00202">202</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. |
---|
1957 | <p> |
---|
1958 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>. </td> |
---|
1959 | </tr> |
---|
1960 | </table> |
---|
1961 | <a class="anchor" name="Ogre_1_1Texturea38" doxytag="Ogre::Mesh::getHandle" ></a><p> |
---|
1962 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1963 | <tr> |
---|
1964 | <td class="mdRow"> |
---|
1965 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1966 | <tr> |
---|
1967 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> Ogre::Resource::getHandle </td> |
---|
1968 | <td class="md" valign="top">( </td> |
---|
1969 | <td class="md" nowrap valign="top">void </td> |
---|
1970 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1971 | <td class="md" valign="top"> ) </td> |
---|
1972 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
1973 | </tr> |
---|
1974 | |
---|
1975 | </table> |
---|
1976 | </td> |
---|
1977 | </tr> |
---|
1978 | </table> |
---|
1979 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1980 | <tr> |
---|
1981 | <td> |
---|
1982 | |
---|
1983 | </td> |
---|
1984 | <td> |
---|
1985 | |
---|
1986 | <p> |
---|
1987 | |
---|
1988 | <p> |
---|
1989 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00188">188</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. |
---|
1990 | <p> |
---|
1991 | References <a class="el" href="OgreResource_8h-source.html#l00035">Ogre::ResourceHandle</a>. </td> |
---|
1992 | </tr> |
---|
1993 | </table> |
---|
1994 | <a class="anchor" name="Ogre_1_1PatchMesha41" doxytag="Ogre::Mesh::getIndexBufferUsage" ></a><p> |
---|
1995 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1996 | <tr> |
---|
1997 | <td class="mdRow"> |
---|
1998 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1999 | <tr> |
---|
2000 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> Ogre::Mesh::getIndexBufferUsage </td> |
---|
2001 | <td class="md" valign="top">( </td> |
---|
2002 | <td class="md" nowrap valign="top">void </td> |
---|
2003 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2004 | <td class="md" valign="top"> ) </td> |
---|
2005 | <td class="md" nowrap> const</td> |
---|
2006 | </tr> |
---|
2007 | |
---|
2008 | </table> |
---|
2009 | </td> |
---|
2010 | </tr> |
---|
2011 | </table> |
---|
2012 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2013 | <tr> |
---|
2014 | <td> |
---|
2015 | |
---|
2016 | </td> |
---|
2017 | <td> |
---|
2018 | |
---|
2019 | <p> |
---|
2020 | Gets the usage setting for this meshes index buffers. |
---|
2021 | <p> |
---|
2022 | |
---|
2023 | <p> |
---|
2024 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00461">461</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
2025 | </tr> |
---|
2026 | </table> |
---|
2027 | <a class="anchor" name="Ogre_1_1PatchMesha31" doxytag="Ogre::Mesh::getLodIndex" ></a><p> |
---|
2028 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2029 | <tr> |
---|
2030 | <td class="mdRow"> |
---|
2031 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2032 | <tr> |
---|
2033 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a422">ushort</a> Ogre::Mesh::getLodIndex </td> |
---|
2034 | <td class="md" valign="top">( </td> |
---|
2035 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2036 | <td class="mdname1" valign="top" nowrap> <em>depth</em> </td> |
---|
2037 | <td class="md" valign="top"> ) </td> |
---|
2038 | <td class="md" nowrap> const</td> |
---|
2039 | </tr> |
---|
2040 | |
---|
2041 | </table> |
---|
2042 | </td> |
---|
2043 | </tr> |
---|
2044 | </table> |
---|
2045 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2046 | <tr> |
---|
2047 | <td> |
---|
2048 | |
---|
2049 | </td> |
---|
2050 | <td> |
---|
2051 | |
---|
2052 | <p> |
---|
2053 | Retrieves the level of detail index for the given depth value. |
---|
2054 | <p> |
---|
2055 | </td> |
---|
2056 | </tr> |
---|
2057 | </table> |
---|
2058 | <a class="anchor" name="Ogre_1_1PatchMesha32" doxytag="Ogre::Mesh::getLodIndexSquaredDepth" ></a><p> |
---|
2059 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2060 | <tr> |
---|
2061 | <td class="mdRow"> |
---|
2062 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2063 | <tr> |
---|
2064 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a422">ushort</a> Ogre::Mesh::getLodIndexSquaredDepth </td> |
---|
2065 | <td class="md" valign="top">( </td> |
---|
2066 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> |
---|
2067 | <td class="mdname1" valign="top" nowrap> <em>squaredDepth</em> </td> |
---|
2068 | <td class="md" valign="top"> ) </td> |
---|
2069 | <td class="md" nowrap> const</td> |
---|
2070 | </tr> |
---|
2071 | |
---|
2072 | </table> |
---|
2073 | </td> |
---|
2074 | </tr> |
---|
2075 | </table> |
---|
2076 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2077 | <tr> |
---|
2078 | <td> |
---|
2079 | |
---|
2080 | </td> |
---|
2081 | <td> |
---|
2082 | |
---|
2083 | <p> |
---|
2084 | Retrieves the level of detail index for the given squared depth value. |
---|
2085 | <p> |
---|
2086 | <dl compact><dt><b>Remarks:</b></dt><dd>Internally the lods are stored at squared depths to avoid having to perform square roots when determining the lod. This method allows you to provide a squared length depth value to avoid having to do your own square roots.</dd></dl> |
---|
2087 | </td> |
---|
2088 | </tr> |
---|
2089 | </table> |
---|
2090 | <a class="anchor" name="Ogre_1_1PatchMesha28" doxytag="Ogre::Mesh::getLodLevel" ></a><p> |
---|
2091 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2092 | <tr> |
---|
2093 | <td class="mdRow"> |
---|
2094 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2095 | <tr> |
---|
2096 | <td class="md" nowrap valign="top"> const <a class="el" href="structOgre_1_1MeshLodUsage.html">MeshLodUsage</a>& Ogre::Mesh::getLodLevel </td> |
---|
2097 | <td class="md" valign="top">( </td> |
---|
2098 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a422">ushort</a> </td> |
---|
2099 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
2100 | <td class="md" valign="top"> ) </td> |
---|
2101 | <td class="md" nowrap> const</td> |
---|
2102 | </tr> |
---|
2103 | |
---|
2104 | </table> |
---|
2105 | </td> |
---|
2106 | </tr> |
---|
2107 | </table> |
---|
2108 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2109 | <tr> |
---|
2110 | <td> |
---|
2111 | |
---|
2112 | </td> |
---|
2113 | <td> |
---|
2114 | |
---|
2115 | <p> |
---|
2116 | Gets details of the numbered level of detail entry. |
---|
2117 | <p> |
---|
2118 | </td> |
---|
2119 | </tr> |
---|
2120 | </table> |
---|
2121 | <a class="anchor" name="Ogre_1_1Texturea37" doxytag="Ogre::Mesh::getName" ></a><p> |
---|
2122 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2123 | <tr> |
---|
2124 | <td class="mdRow"> |
---|
2125 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2126 | <tr> |
---|
2127 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>& Ogre::Resource::getName </td> |
---|
2128 | <td class="md" valign="top">( </td> |
---|
2129 | <td class="md" nowrap valign="top">void </td> |
---|
2130 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2131 | <td class="md" valign="top"> ) </td> |
---|
2132 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2133 | </tr> |
---|
2134 | |
---|
2135 | </table> |
---|
2136 | </td> |
---|
2137 | </tr> |
---|
2138 | </table> |
---|
2139 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2140 | <tr> |
---|
2141 | <td> |
---|
2142 | |
---|
2143 | </td> |
---|
2144 | <td> |
---|
2145 | |
---|
2146 | <p> |
---|
2147 | Gets resource name. |
---|
2148 | <p> |
---|
2149 | |
---|
2150 | <p> |
---|
2151 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00183">183</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. |
---|
2152 | <p> |
---|
2153 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>. </td> |
---|
2154 | </tr> |
---|
2155 | </table> |
---|
2156 | <a class="anchor" name="Ogre_1_1PatchMesha27" doxytag="Ogre::Mesh::getNumLodLevels" ></a><p> |
---|
2157 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2158 | <tr> |
---|
2159 | <td class="mdRow"> |
---|
2160 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2161 | <tr> |
---|
2162 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a422">ushort</a> Ogre::Mesh::getNumLodLevels </td> |
---|
2163 | <td class="md" valign="top">( </td> |
---|
2164 | <td class="md" nowrap valign="top">void </td> |
---|
2165 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2166 | <td class="md" valign="top"> ) </td> |
---|
2167 | <td class="md" nowrap> const</td> |
---|
2168 | </tr> |
---|
2169 | |
---|
2170 | </table> |
---|
2171 | </td> |
---|
2172 | </tr> |
---|
2173 | </table> |
---|
2174 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2175 | <tr> |
---|
2176 | <td> |
---|
2177 | |
---|
2178 | </td> |
---|
2179 | <td> |
---|
2180 | |
---|
2181 | <p> |
---|
2182 | Returns the number of levels of detail that this mesh supports. |
---|
2183 | <p> |
---|
2184 | <dl compact><dt><b>Remarks:</b></dt><dd>This number includes the original model.</dd></dl> |
---|
2185 | </td> |
---|
2186 | </tr> |
---|
2187 | </table> |
---|
2188 | <a class="anchor" name="Ogre_1_1PatchMesha8" doxytag="Ogre::Mesh::getNumSubMeshes" ></a><p> |
---|
2189 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2190 | <tr> |
---|
2191 | <td class="mdRow"> |
---|
2192 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2193 | <tr> |
---|
2194 | <td class="md" nowrap valign="top"> unsigned short Ogre::Mesh::getNumSubMeshes </td> |
---|
2195 | <td class="md" valign="top">( </td> |
---|
2196 | <td class="md" nowrap valign="top">void </td> |
---|
2197 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2198 | <td class="md" valign="top"> ) </td> |
---|
2199 | <td class="md" nowrap> const</td> |
---|
2200 | </tr> |
---|
2201 | |
---|
2202 | </table> |
---|
2203 | </td> |
---|
2204 | </tr> |
---|
2205 | </table> |
---|
2206 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2207 | <tr> |
---|
2208 | <td> |
---|
2209 | |
---|
2210 | </td> |
---|
2211 | <td> |
---|
2212 | |
---|
2213 | <p> |
---|
2214 | Gets the number of sub meshes which comprise this mesh. |
---|
2215 | <p> |
---|
2216 | </td> |
---|
2217 | </tr> |
---|
2218 | </table> |
---|
2219 | <a class="anchor" name="Ogre_1_1Texturea42" doxytag="Ogre::Mesh::getOrigin" ></a><p> |
---|
2220 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2221 | <tr> |
---|
2222 | <td class="mdRow"> |
---|
2223 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2224 | <tr> |
---|
2225 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>& Ogre::Resource::getOrigin </td> |
---|
2226 | <td class="md" valign="top">( </td> |
---|
2227 | <td class="md" nowrap valign="top">void </td> |
---|
2228 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2229 | <td class="md" valign="top"> ) </td> |
---|
2230 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2231 | </tr> |
---|
2232 | |
---|
2233 | </table> |
---|
2234 | </td> |
---|
2235 | </tr> |
---|
2236 | </table> |
---|
2237 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2238 | <tr> |
---|
2239 | <td> |
---|
2240 | |
---|
2241 | </td> |
---|
2242 | <td> |
---|
2243 | |
---|
2244 | <p> |
---|
2245 | Get the origin of this resource, e.g. |
---|
2246 | <p> |
---|
2247 | a script file name. <dl compact><dt><b>Remarks:</b></dt><dd>This property will only contain something if the creator of this resource chose to populate it. Script loaders are advised to populate it.</dd></dl> |
---|
2248 | |
---|
2249 | <p> |
---|
2250 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00212">212</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. |
---|
2251 | <p> |
---|
2252 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>. </td> |
---|
2253 | </tr> |
---|
2254 | </table> |
---|
2255 | <a class="anchor" name="Ogre_1_1Texturea45" doxytag="Ogre::Mesh::getParamDictionary" ></a><p> |
---|
2256 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2257 | <tr> |
---|
2258 | <td class="mdRow"> |
---|
2259 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2260 | <tr> |
---|
2261 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a>* Ogre::StringInterface::getParamDictionary </td> |
---|
2262 | <td class="md" valign="top">( </td> |
---|
2263 | <td class="md" nowrap valign="top">void </td> |
---|
2264 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2265 | <td class="md" valign="top"> ) </td> |
---|
2266 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2267 | </tr> |
---|
2268 | |
---|
2269 | </table> |
---|
2270 | </td> |
---|
2271 | </tr> |
---|
2272 | </table> |
---|
2273 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2274 | <tr> |
---|
2275 | <td> |
---|
2276 | |
---|
2277 | </td> |
---|
2278 | <td> |
---|
2279 | |
---|
2280 | <p> |
---|
2281 | |
---|
2282 | <p> |
---|
2283 | Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00209">209</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>. </td> |
---|
2284 | </tr> |
---|
2285 | </table> |
---|
2286 | <a class="anchor" name="Ogre_1_1Texturea44" doxytag="Ogre::Mesh::getParamDictionary" ></a><p> |
---|
2287 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2288 | <tr> |
---|
2289 | <td class="mdRow"> |
---|
2290 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2291 | <tr> |
---|
2292 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a>* Ogre::StringInterface::getParamDictionary </td> |
---|
2293 | <td class="md" valign="top">( </td> |
---|
2294 | <td class="md" nowrap valign="top">void </td> |
---|
2295 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2296 | <td class="md" valign="top"> ) </td> |
---|
2297 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
2298 | </tr> |
---|
2299 | |
---|
2300 | </table> |
---|
2301 | </td> |
---|
2302 | </tr> |
---|
2303 | </table> |
---|
2304 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2305 | <tr> |
---|
2306 | <td> |
---|
2307 | |
---|
2308 | </td> |
---|
2309 | <td> |
---|
2310 | |
---|
2311 | <p> |
---|
2312 | Retrieves the parameter dictionary for this class. |
---|
2313 | <p> |
---|
2314 | <dl compact><dt><b>Remarks:</b></dt><dd>Only valid to call this after createParamDictionary. </dd></dl> |
---|
2315 | <dl compact><dt><b>Returns:</b></dt><dd>Pointer to <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> shared by all instances of this class which you can add parameters to, retrieve parameters etc. </dd></dl> |
---|
2316 | |
---|
2317 | <p> |
---|
2318 | Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00196">196</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>. </td> |
---|
2319 | </tr> |
---|
2320 | </table> |
---|
2321 | <a class="anchor" name="Ogre_1_1Texturea49" doxytag="Ogre::Mesh::getParameter" ></a><p> |
---|
2322 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2323 | <tr> |
---|
2324 | <td class="mdRow"> |
---|
2325 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2326 | <tr> |
---|
2327 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a426">String</a> Ogre::StringInterface::getParameter </td> |
---|
2328 | <td class="md" valign="top">( </td> |
---|
2329 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
2330 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
2331 | <td class="md" valign="top"> ) </td> |
---|
2332 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
2333 | </tr> |
---|
2334 | |
---|
2335 | </table> |
---|
2336 | </td> |
---|
2337 | </tr> |
---|
2338 | </table> |
---|
2339 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2340 | <tr> |
---|
2341 | <td> |
---|
2342 | |
---|
2343 | </td> |
---|
2344 | <td> |
---|
2345 | |
---|
2346 | <p> |
---|
2347 | Generic parameter retrieval method. |
---|
2348 | <p> |
---|
2349 | <dl compact><dt><b>Remarks:</b></dt><dd>Call this method with the name of a parameter to retrieve a string-format value of the parameter in question. If in doubt, check the parameter definition in the list returned from getParameters for the type of this parameter. If you like you can use <a class="el" href="classOgre_1_1StringConverter.html">StringConverter</a> to convert this string back into a native type. </dd></dl> |
---|
2350 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2351 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2352 | <tr><td valign=top><em>name</em> </td><td>The name of the parameter to get </td></tr> |
---|
2353 | </table> |
---|
2354 | </dl> |
---|
2355 | <dl compact><dt><b>Returns:</b></dt><dd>String value of parameter, blank if not found </dd></dl> |
---|
2356 | |
---|
2357 | <p> |
---|
2358 | Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00265">265</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>. |
---|
2359 | <p> |
---|
2360 | References <a class="el" href="classOgre_1_1ParamCommand.html#Ogre_1_1ParamCommanda0">Ogre::ParamCommand::doGet()</a>, <a class="el" href="OgreStringInterface_8h-source.html#l00090">Ogre::ParamDictionary::getParamCommand()</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>. </td> |
---|
2361 | </tr> |
---|
2362 | </table> |
---|
2363 | <a class="anchor" name="Ogre_1_1Texturea46" doxytag="Ogre::Mesh::getParameters" ></a><p> |
---|
2364 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2365 | <tr> |
---|
2366 | <td class="mdRow"> |
---|
2367 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2368 | <tr> |
---|
2369 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a518">ParameterList</a>& Ogre::StringInterface::getParameters </td> |
---|
2370 | <td class="md" valign="top">( </td> |
---|
2371 | <td class="md" nowrap valign="top">void </td> |
---|
2372 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2373 | <td class="md" valign="top"> ) </td> |
---|
2374 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2375 | </tr> |
---|
2376 | |
---|
2377 | </table> |
---|
2378 | </td> |
---|
2379 | </tr> |
---|
2380 | </table> |
---|
2381 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2382 | <tr> |
---|
2383 | <td> |
---|
2384 | |
---|
2385 | </td> |
---|
2386 | <td> |
---|
2387 | |
---|
2388 | <p> |
---|
2389 | Retrieves a list of parameters valid for this object. |
---|
2390 | <p> |
---|
2391 | <dl compact><dt><b>Returns:</b></dt><dd>A reference to a static list of <a class="el" href="classOgre_1_1ParameterDef.html">ParameterDef</a> objects. </dd></dl> |
---|
2392 | </td> |
---|
2393 | </tr> |
---|
2394 | </table> |
---|
2395 | <a class="anchor" name="Ogre_1_1Texturea35" doxytag="Ogre::Mesh::getSize" ></a><p> |
---|
2396 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2397 | <tr> |
---|
2398 | <td class="mdRow"> |
---|
2399 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2400 | <tr> |
---|
2401 | <td class="md" nowrap valign="top"> size_t Ogre::Resource::getSize </td> |
---|
2402 | <td class="md" valign="top">( </td> |
---|
2403 | <td class="md" nowrap valign="top">void </td> |
---|
2404 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2405 | <td class="md" valign="top"> ) </td> |
---|
2406 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2407 | </tr> |
---|
2408 | |
---|
2409 | </table> |
---|
2410 | </td> |
---|
2411 | </tr> |
---|
2412 | </table> |
---|
2413 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2414 | <tr> |
---|
2415 | <td> |
---|
2416 | |
---|
2417 | </td> |
---|
2418 | <td> |
---|
2419 | |
---|
2420 | <p> |
---|
2421 | Retrieves info about the size of the resource. |
---|
2422 | <p> |
---|
2423 | |
---|
2424 | <p> |
---|
2425 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00172">172</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
2426 | </tr> |
---|
2427 | </table> |
---|
2428 | <a class="anchor" name="Ogre_1_1PatchMesha19" doxytag="Ogre::Mesh::getSkeleton" ></a><p> |
---|
2429 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2430 | <tr> |
---|
2431 | <td class="mdRow"> |
---|
2432 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2433 | <tr> |
---|
2434 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1SkeletonPtr.html">SkeletonPtr</a>& Ogre::Mesh::getSkeleton </td> |
---|
2435 | <td class="md" valign="top">( </td> |
---|
2436 | <td class="md" nowrap valign="top">void </td> |
---|
2437 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2438 | <td class="md" valign="top"> ) </td> |
---|
2439 | <td class="md" nowrap> const</td> |
---|
2440 | </tr> |
---|
2441 | |
---|
2442 | </table> |
---|
2443 | </td> |
---|
2444 | </tr> |
---|
2445 | </table> |
---|
2446 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2447 | <tr> |
---|
2448 | <td> |
---|
2449 | |
---|
2450 | </td> |
---|
2451 | <td> |
---|
2452 | |
---|
2453 | <p> |
---|
2454 | Gets a pointer to any linked <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a>. |
---|
2455 | <p> |
---|
2456 | <dl compact><dt><b>Returns:</b></dt><dd>Weak reference to the skeleton - copy this if you want to hold a strong pointer. </dd></dl> |
---|
2457 | </td> |
---|
2458 | </tr> |
---|
2459 | </table> |
---|
2460 | <a class="anchor" name="Ogre_1_1PatchMesha20" doxytag="Ogre::Mesh::getSkeletonName" ></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"> const <a class="el" href="namespaceOgre.html#a426">String</a>& Ogre::Mesh::getSkeletonName </td> |
---|
2467 | <td class="md" valign="top">( </td> |
---|
2468 | <td class="md" nowrap valign="top">void </td> |
---|
2469 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2470 | <td class="md" valign="top"> ) </td> |
---|
2471 | <td class="md" nowrap> const</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 | |
---|
2482 | </td> |
---|
2483 | <td> |
---|
2484 | |
---|
2485 | <p> |
---|
2486 | Gets the name of any linked <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a>. |
---|
2487 | <p> |
---|
2488 | </td> |
---|
2489 | </tr> |
---|
2490 | </table> |
---|
2491 | <a class="anchor" name="Ogre_1_1PatchMesha10" doxytag="Ogre::Mesh::getSubMesh" ></a><p> |
---|
2492 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2493 | <tr> |
---|
2494 | <td class="mdRow"> |
---|
2495 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2496 | <tr> |
---|
2497 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>* Ogre::Mesh::getSubMesh </td> |
---|
2498 | <td class="md" valign="top">( </td> |
---|
2499 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
2500 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
2501 | <td class="md" valign="top"> ) </td> |
---|
2502 | <td class="md" nowrap> const</td> |
---|
2503 | </tr> |
---|
2504 | |
---|
2505 | </table> |
---|
2506 | </td> |
---|
2507 | </tr> |
---|
2508 | </table> |
---|
2509 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2510 | <tr> |
---|
2511 | <td> |
---|
2512 | |
---|
2513 | </td> |
---|
2514 | <td> |
---|
2515 | |
---|
2516 | <p> |
---|
2517 | Gets a <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> by name. |
---|
2518 | <p> |
---|
2519 | </td> |
---|
2520 | </tr> |
---|
2521 | </table> |
---|
2522 | <a class="anchor" name="Ogre_1_1PatchMesha9" doxytag="Ogre::Mesh::getSubMesh" ></a><p> |
---|
2523 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2524 | <tr> |
---|
2525 | <td class="mdRow"> |
---|
2526 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2527 | <tr> |
---|
2528 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>* Ogre::Mesh::getSubMesh </td> |
---|
2529 | <td class="md" valign="top">( </td> |
---|
2530 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
2531 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
2532 | <td class="md" valign="top"> ) </td> |
---|
2533 | <td class="md" nowrap> const</td> |
---|
2534 | </tr> |
---|
2535 | |
---|
2536 | </table> |
---|
2537 | </td> |
---|
2538 | </tr> |
---|
2539 | </table> |
---|
2540 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2541 | <tr> |
---|
2542 | <td> |
---|
2543 | |
---|
2544 | </td> |
---|
2545 | <td> |
---|
2546 | |
---|
2547 | <p> |
---|
2548 | Gets a pointer to the submesh indicated by the index. |
---|
2549 | <p> |
---|
2550 | </td> |
---|
2551 | </tr> |
---|
2552 | </table> |
---|
2553 | <a class="anchor" name="Ogre_1_1PatchMesha11" doxytag="Ogre::Mesh::getSubMeshIterator" ></a><p> |
---|
2554 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2555 | <tr> |
---|
2556 | <td class="mdRow"> |
---|
2557 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2558 | <tr> |
---|
2559 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VectorIterator.html">SubMeshIterator</a> Ogre::Mesh::getSubMeshIterator </td> |
---|
2560 | <td class="md" valign="top">( </td> |
---|
2561 | <td class="md" nowrap valign="top">void </td> |
---|
2562 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2563 | <td class="md" valign="top"> ) </td> |
---|
2564 | <td class="md" nowrap></td> |
---|
2565 | </tr> |
---|
2566 | |
---|
2567 | </table> |
---|
2568 | </td> |
---|
2569 | </tr> |
---|
2570 | </table> |
---|
2571 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2572 | <tr> |
---|
2573 | <td> |
---|
2574 | |
---|
2575 | </td> |
---|
2576 | <td> |
---|
2577 | |
---|
2578 | <p> |
---|
2579 | Gets an iterator over the available submeshes. |
---|
2580 | <p> |
---|
2581 | |
---|
2582 | <p> |
---|
2583 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00212">212</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. |
---|
2584 | <p> |
---|
2585 | References <a class="el" href="OgreMesh_8h-source.html#l00210">SubMeshIterator</a>. </td> |
---|
2586 | </tr> |
---|
2587 | </table> |
---|
2588 | <a class="anchor" name="Ogre_1_1PatchMesha55" doxytag="Ogre::Mesh::getSubMeshNameMap" ></a><p> |
---|
2589 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2590 | <tr> |
---|
2591 | <td class="mdRow"> |
---|
2592 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2593 | <tr> |
---|
2594 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw4">SubMeshNameMap</a>& Ogre::Mesh::getSubMeshNameMap </td> |
---|
2595 | <td class="md" valign="top">( </td> |
---|
2596 | <td class="md" nowrap valign="top">void </td> |
---|
2597 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2598 | <td class="md" valign="top"> ) </td> |
---|
2599 | <td class="md" nowrap> const</td> |
---|
2600 | </tr> |
---|
2601 | |
---|
2602 | </table> |
---|
2603 | </td> |
---|
2604 | </tr> |
---|
2605 | </table> |
---|
2606 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2607 | <tr> |
---|
2608 | <td> |
---|
2609 | |
---|
2610 | </td> |
---|
2611 | <td> |
---|
2612 | |
---|
2613 | <p> |
---|
2614 | Gets a reference to the optional name assignments of the SubMeshes. |
---|
2615 | <p> |
---|
2616 | |
---|
2617 | <p> |
---|
2618 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00595">595</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. |
---|
2619 | <p> |
---|
2620 | References <a class="el" href="OgreMesh_8h-source.html#l00110">SubMeshNameMap</a>. </td> |
---|
2621 | </tr> |
---|
2622 | </table> |
---|
2623 | <a class="anchor" name="Ogre_1_1PatchMesha40" doxytag="Ogre::Mesh::getVertexBufferUsage" ></a><p> |
---|
2624 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2625 | <tr> |
---|
2626 | <td class="mdRow"> |
---|
2627 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2628 | <tr> |
---|
2629 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> Ogre::Mesh::getVertexBufferUsage </td> |
---|
2630 | <td class="md" valign="top">( </td> |
---|
2631 | <td class="md" nowrap valign="top">void </td> |
---|
2632 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2633 | <td class="md" valign="top"> ) </td> |
---|
2634 | <td class="md" nowrap> const</td> |
---|
2635 | </tr> |
---|
2636 | |
---|
2637 | </table> |
---|
2638 | </td> |
---|
2639 | </tr> |
---|
2640 | </table> |
---|
2641 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2642 | <tr> |
---|
2643 | <td> |
---|
2644 | |
---|
2645 | </td> |
---|
2646 | <td> |
---|
2647 | |
---|
2648 | <p> |
---|
2649 | Gets the usage setting for this meshes vertex buffers. |
---|
2650 | <p> |
---|
2651 | |
---|
2652 | <p> |
---|
2653 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00459">459</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
2654 | </tr> |
---|
2655 | </table> |
---|
2656 | <a class="anchor" name="Ogre_1_1PatchMesha18" doxytag="Ogre::Mesh::hasSkeleton" ></a><p> |
---|
2657 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2658 | <tr> |
---|
2659 | <td class="mdRow"> |
---|
2660 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2661 | <tr> |
---|
2662 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::hasSkeleton </td> |
---|
2663 | <td class="md" valign="top">( </td> |
---|
2664 | <td class="md" nowrap valign="top">void </td> |
---|
2665 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2666 | <td class="md" valign="top"> ) </td> |
---|
2667 | <td class="md" nowrap> const</td> |
---|
2668 | </tr> |
---|
2669 | |
---|
2670 | </table> |
---|
2671 | </td> |
---|
2672 | </tr> |
---|
2673 | </table> |
---|
2674 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2675 | <tr> |
---|
2676 | <td> |
---|
2677 | |
---|
2678 | </td> |
---|
2679 | <td> |
---|
2680 | |
---|
2681 | <p> |
---|
2682 | Returns true if this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> has a linked <a class="el" href="classOgre_1_1Skeleton.html">Skeleton</a>. |
---|
2683 | <p> |
---|
2684 | </td> |
---|
2685 | </tr> |
---|
2686 | </table> |
---|
2687 | <a class="anchor" name="Ogre_1_1PatchMesha54" doxytag="Ogre::Mesh::isEdgeListBuilt" ></a><p> |
---|
2688 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2689 | <tr> |
---|
2690 | <td class="mdRow"> |
---|
2691 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2692 | <tr> |
---|
2693 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::isEdgeListBuilt </td> |
---|
2694 | <td class="md" valign="top">( </td> |
---|
2695 | <td class="md" nowrap valign="top">void </td> |
---|
2696 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2697 | <td class="md" valign="top"> ) </td> |
---|
2698 | <td class="md" nowrap> const</td> |
---|
2699 | </tr> |
---|
2700 | |
---|
2701 | </table> |
---|
2702 | </td> |
---|
2703 | </tr> |
---|
2704 | </table> |
---|
2705 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2706 | <tr> |
---|
2707 | <td> |
---|
2708 | |
---|
2709 | </td> |
---|
2710 | <td> |
---|
2711 | |
---|
2712 | <p> |
---|
2713 | Returns whether this mesh has an attached edge list. |
---|
2714 | <p> |
---|
2715 | |
---|
2716 | <p> |
---|
2717 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00573">573</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
2718 | </tr> |
---|
2719 | </table> |
---|
2720 | <a class="anchor" name="Ogre_1_1PatchMesha43" doxytag="Ogre::Mesh::isIndexBufferShadowed" ></a><p> |
---|
2721 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2722 | <tr> |
---|
2723 | <td class="mdRow"> |
---|
2724 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2725 | <tr> |
---|
2726 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::isIndexBufferShadowed </td> |
---|
2727 | <td class="md" valign="top">( </td> |
---|
2728 | <td class="md" nowrap valign="top">void </td> |
---|
2729 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2730 | <td class="md" valign="top"> ) </td> |
---|
2731 | <td class="md" nowrap> const</td> |
---|
2732 | </tr> |
---|
2733 | |
---|
2734 | </table> |
---|
2735 | </td> |
---|
2736 | </tr> |
---|
2737 | </table> |
---|
2738 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2739 | <tr> |
---|
2740 | <td> |
---|
2741 | |
---|
2742 | </td> |
---|
2743 | <td> |
---|
2744 | |
---|
2745 | <p> |
---|
2746 | Gets whether or not this meshes index buffers are shadowed. |
---|
2747 | <p> |
---|
2748 | |
---|
2749 | <p> |
---|
2750 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00465">465</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
2751 | </tr> |
---|
2752 | </table> |
---|
2753 | <a class="anchor" name="Ogre_1_1Texturea39" doxytag="Ogre::Mesh::isLoaded" ></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"> bool Ogre::Resource::isLoaded </td> |
---|
2760 | <td class="md" valign="top">( </td> |
---|
2761 | <td class="md" nowrap valign="top">void </td> |
---|
2762 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2763 | <td class="md" valign="top"> ) </td> |
---|
2764 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2765 | </tr> |
---|
2766 | |
---|
2767 | </table> |
---|
2768 | </td> |
---|
2769 | </tr> |
---|
2770 | </table> |
---|
2771 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2772 | <tr> |
---|
2773 | <td> |
---|
2774 | |
---|
2775 | </td> |
---|
2776 | <td> |
---|
2777 | |
---|
2778 | <p> |
---|
2779 | Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> has been loaded, false otherwise. |
---|
2780 | <p> |
---|
2781 | |
---|
2782 | <p> |
---|
2783 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00195">195</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. |
---|
2784 | <p> |
---|
2785 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00171">OGRE_LOCK_AUTO_MUTEX</a>. </td> |
---|
2786 | </tr> |
---|
2787 | </table> |
---|
2788 | <a class="anchor" name="Ogre_1_1PatchMesha33" doxytag="Ogre::Mesh::isLodManual" ></a><p> |
---|
2789 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2790 | <tr> |
---|
2791 | <td class="mdRow"> |
---|
2792 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2793 | <tr> |
---|
2794 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::isLodManual </td> |
---|
2795 | <td class="md" valign="top">( </td> |
---|
2796 | <td class="md" nowrap valign="top">void </td> |
---|
2797 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2798 | <td class="md" valign="top"> ) </td> |
---|
2799 | <td class="md" nowrap> const</td> |
---|
2800 | </tr> |
---|
2801 | |
---|
2802 | </table> |
---|
2803 | </td> |
---|
2804 | </tr> |
---|
2805 | </table> |
---|
2806 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2807 | <tr> |
---|
2808 | <td> |
---|
2809 | |
---|
2810 | </td> |
---|
2811 | <td> |
---|
2812 | |
---|
2813 | <p> |
---|
2814 | Returns true if this mesh is using manual LOD. |
---|
2815 | <p> |
---|
2816 | <dl compact><dt><b>Remarks:</b></dt><dd>A mesh can either use automatically generated LOD, or it can use alternative meshes as provided by an artist. A mesh can only use either all manual LODs or all generated LODs, not a mixture of both.</dd></dl> |
---|
2817 | |
---|
2818 | <p> |
---|
2819 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00400">400</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
2820 | </tr> |
---|
2821 | </table> |
---|
2822 | <a class="anchor" name="Ogre_1_1Texturea33" doxytag="Ogre::Mesh::isManuallyLoaded" ></a><p> |
---|
2823 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2824 | <tr> |
---|
2825 | <td class="mdRow"> |
---|
2826 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2827 | <tr> |
---|
2828 | <td class="md" nowrap valign="top"> bool Ogre::Resource::isManuallyLoaded </td> |
---|
2829 | <td class="md" valign="top">( </td> |
---|
2830 | <td class="md" nowrap valign="top">void </td> |
---|
2831 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2832 | <td class="md" valign="top"> ) </td> |
---|
2833 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2834 | </tr> |
---|
2835 | |
---|
2836 | </table> |
---|
2837 | </td> |
---|
2838 | </tr> |
---|
2839 | </table> |
---|
2840 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2841 | <tr> |
---|
2842 | <td> |
---|
2843 | |
---|
2844 | </td> |
---|
2845 | <td> |
---|
2846 | |
---|
2847 | <p> |
---|
2848 | Is this resource manually loaded? |
---|
2849 | <p> |
---|
2850 | |
---|
2851 | <p> |
---|
2852 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00160">160</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
2853 | </tr> |
---|
2854 | </table> |
---|
2855 | <a class="anchor" name="Ogre_1_1PatchMesha53" doxytag="Ogre::Mesh::isPreparedForShadowVolumes" ></a><p> |
---|
2856 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2857 | <tr> |
---|
2858 | <td class="mdRow"> |
---|
2859 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2860 | <tr> |
---|
2861 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::isPreparedForShadowVolumes </td> |
---|
2862 | <td class="md" valign="top">( </td> |
---|
2863 | <td class="md" nowrap valign="top">void </td> |
---|
2864 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2865 | <td class="md" valign="top"> ) </td> |
---|
2866 | <td class="md" nowrap> const</td> |
---|
2867 | </tr> |
---|
2868 | |
---|
2869 | </table> |
---|
2870 | </td> |
---|
2871 | </tr> |
---|
2872 | </table> |
---|
2873 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2874 | <tr> |
---|
2875 | <td> |
---|
2876 | |
---|
2877 | </td> |
---|
2878 | <td> |
---|
2879 | |
---|
2880 | <p> |
---|
2881 | Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes. |
---|
2882 | <p> |
---|
2883 | |
---|
2884 | <p> |
---|
2885 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00570">570</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
2886 | </tr> |
---|
2887 | </table> |
---|
2888 | <a class="anchor" name="Ogre_1_1Texturea32" doxytag="Ogre::Mesh::isReloadable" ></a><p> |
---|
2889 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2890 | <tr> |
---|
2891 | <td class="mdRow"> |
---|
2892 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2893 | <tr> |
---|
2894 | <td class="md" nowrap valign="top"> bool Ogre::Resource::isReloadable </td> |
---|
2895 | <td class="md" valign="top">( </td> |
---|
2896 | <td class="md" nowrap valign="top">void </td> |
---|
2897 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2898 | <td class="md" valign="top"> ) </td> |
---|
2899 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
2900 | </tr> |
---|
2901 | |
---|
2902 | </table> |
---|
2903 | </td> |
---|
2904 | </tr> |
---|
2905 | </table> |
---|
2906 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2907 | <tr> |
---|
2908 | <td> |
---|
2909 | |
---|
2910 | </td> |
---|
2911 | <td> |
---|
2912 | |
---|
2913 | <p> |
---|
2914 | Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> is reloadable, false otherwise. |
---|
2915 | <p> |
---|
2916 | |
---|
2917 | <p> |
---|
2918 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00153">153</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
2919 | </tr> |
---|
2920 | </table> |
---|
2921 | <a class="anchor" name="Ogre_1_1PatchMesha42" doxytag="Ogre::Mesh::isVertexBufferShadowed" ></a><p> |
---|
2922 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2923 | <tr> |
---|
2924 | <td class="mdRow"> |
---|
2925 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2926 | <tr> |
---|
2927 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::isVertexBufferShadowed </td> |
---|
2928 | <td class="md" valign="top">( </td> |
---|
2929 | <td class="md" nowrap valign="top">void </td> |
---|
2930 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2931 | <td class="md" valign="top"> ) </td> |
---|
2932 | <td class="md" nowrap> const</td> |
---|
2933 | </tr> |
---|
2934 | |
---|
2935 | </table> |
---|
2936 | </td> |
---|
2937 | </tr> |
---|
2938 | </table> |
---|
2939 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2940 | <tr> |
---|
2941 | <td> |
---|
2942 | |
---|
2943 | </td> |
---|
2944 | <td> |
---|
2945 | |
---|
2946 | <p> |
---|
2947 | Gets whether or not this meshes vertex buffers are shadowed. |
---|
2948 | <p> |
---|
2949 | |
---|
2950 | <p> |
---|
2951 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00463">463</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
2952 | </tr> |
---|
2953 | </table> |
---|
2954 | <a class="anchor" name="Ogre_1_1PatchMesha3" doxytag="Ogre::Mesh::load" ></a><p> |
---|
2955 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2956 | <tr> |
---|
2957 | <td class="mdRow"> |
---|
2958 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2959 | <tr> |
---|
2960 | <td class="md" nowrap valign="top"> void Ogre::Mesh::load </td> |
---|
2961 | <td class="md" valign="top">( </td> |
---|
2962 | <td class="md" nowrap valign="top">void </td> |
---|
2963 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2964 | <td class="md" valign="top"> ) </td> |
---|
2965 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
2966 | </tr> |
---|
2967 | |
---|
2968 | </table> |
---|
2969 | </td> |
---|
2970 | </tr> |
---|
2971 | </table> |
---|
2972 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2973 | <tr> |
---|
2974 | <td> |
---|
2975 | |
---|
2976 | </td> |
---|
2977 | <td> |
---|
2978 | |
---|
2979 | <p> |
---|
2980 | <dl compact><dt><b>Remarks:</b></dt><dd>If the resource is loaded from a file, loading is automatic. If not, if for example this resource gained it's data from procedural calls rather than loading from a file, then this resource will not reload on it's own </dd></dl> |
---|
2981 | |
---|
2982 | <p> |
---|
2983 | |
---|
2984 | <p> |
---|
2985 | Reimplemented from <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">Ogre::Resource</a>. </td> |
---|
2986 | </tr> |
---|
2987 | </table> |
---|
2988 | <a class="anchor" name="Ogre_1_1Meshb3" doxytag="Ogre::Mesh::loadImpl" ></a><p> |
---|
2989 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2990 | <tr> |
---|
2991 | <td class="mdRow"> |
---|
2992 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2993 | <tr> |
---|
2994 | <td class="md" nowrap valign="top"> void Ogre::Mesh::loadImpl </td> |
---|
2995 | <td class="md" valign="top">( </td> |
---|
2996 | <td class="md" nowrap valign="top">void </td> |
---|
2997 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2998 | <td class="md" valign="top"> ) </td> |
---|
2999 | <td class="md" nowrap><code> [protected, virtual]</code></td> |
---|
3000 | </tr> |
---|
3001 | |
---|
3002 | </table> |
---|
3003 | </td> |
---|
3004 | </tr> |
---|
3005 | </table> |
---|
3006 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3007 | <tr> |
---|
3008 | <td> |
---|
3009 | |
---|
3010 | </td> |
---|
3011 | <td> |
---|
3012 | |
---|
3013 | <p> |
---|
3014 | |
---|
3015 | <p> |
---|
3016 | |
---|
3017 | <p> |
---|
3018 | Implements <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Textureb5">Ogre::Resource</a>. |
---|
3019 | <p> |
---|
3020 | Reimplemented in <a class="el" href="classOgre_1_1PatchMesh.html#Ogre_1_1PatchMeshb0">Ogre::PatchMesh</a>. </td> |
---|
3021 | </tr> |
---|
3022 | </table> |
---|
3023 | <a class="anchor" name="Ogre_1_1PatchMesha6" doxytag="Ogre::Mesh::nameSubMesh" ></a><p> |
---|
3024 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3025 | <tr> |
---|
3026 | <td class="mdRow"> |
---|
3027 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3028 | <tr> |
---|
3029 | <td class="md" nowrap valign="top"> void Ogre::Mesh::nameSubMesh </td> |
---|
3030 | <td class="md" valign="top">( </td> |
---|
3031 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
3032 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
3033 | </tr> |
---|
3034 | <tr> |
---|
3035 | <td class="md" nowrap align="right"></td> |
---|
3036 | <td></td> |
---|
3037 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a> </td> |
---|
3038 | <td class="mdname" nowrap> <em>index</em></td> |
---|
3039 | </tr> |
---|
3040 | <tr> |
---|
3041 | <td></td> |
---|
3042 | <td class="md">) </td> |
---|
3043 | <td class="md" colspan="2"></td> |
---|
3044 | </tr> |
---|
3045 | |
---|
3046 | </table> |
---|
3047 | </td> |
---|
3048 | </tr> |
---|
3049 | </table> |
---|
3050 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3051 | <tr> |
---|
3052 | <td> |
---|
3053 | |
---|
3054 | </td> |
---|
3055 | <td> |
---|
3056 | |
---|
3057 | <p> |
---|
3058 | Gives a name to a <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. |
---|
3059 | <p> |
---|
3060 | </td> |
---|
3061 | </tr> |
---|
3062 | </table> |
---|
3063 | <a class="anchor" name="Ogre_1_1PatchMeshb1" doxytag="Ogre::Mesh::organiseTangentsBuffer" ></a><p> |
---|
3064 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3065 | <tr> |
---|
3066 | <td class="mdRow"> |
---|
3067 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3068 | <tr> |
---|
3069 | <td class="md" nowrap valign="top"> void Ogre::Mesh::organiseTangentsBuffer </td> |
---|
3070 | <td class="md" valign="top">( </td> |
---|
3071 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> * </td> |
---|
3072 | <td class="mdname" nowrap> <em>vertexData</em>, </td> |
---|
3073 | </tr> |
---|
3074 | <tr> |
---|
3075 | <td class="md" nowrap align="right"></td> |
---|
3076 | <td></td> |
---|
3077 | <td class="md" nowrap>unsigned short </td> |
---|
3078 | <td class="mdname" nowrap> <em>destCoordSet</em></td> |
---|
3079 | </tr> |
---|
3080 | <tr> |
---|
3081 | <td></td> |
---|
3082 | <td class="md">) </td> |
---|
3083 | <td class="md" colspan="2"><code> [protected]</code></td> |
---|
3084 | </tr> |
---|
3085 | |
---|
3086 | </table> |
---|
3087 | </td> |
---|
3088 | </tr> |
---|
3089 | </table> |
---|
3090 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3091 | <tr> |
---|
3092 | <td> |
---|
3093 | |
---|
3094 | </td> |
---|
3095 | <td> |
---|
3096 | |
---|
3097 | <p> |
---|
3098 | Internal method for making the space for a 3D texture coord buffer to hold tangents. |
---|
3099 | <p> |
---|
3100 | </td> |
---|
3101 | </tr> |
---|
3102 | </table> |
---|
3103 | <a class="anchor" name="Ogre_1_1PatchMesha50" doxytag="Ogre::Mesh::prepareForShadowVolume" ></a><p> |
---|
3104 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3105 | <tr> |
---|
3106 | <td class="mdRow"> |
---|
3107 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3108 | <tr> |
---|
3109 | <td class="md" nowrap valign="top"> void Ogre::Mesh::prepareForShadowVolume </td> |
---|
3110 | <td class="md" valign="top">( </td> |
---|
3111 | <td class="md" nowrap valign="top">void </td> |
---|
3112 | <td class="mdname1" valign="top" nowrap> </td> |
---|
3113 | <td class="md" valign="top"> ) </td> |
---|
3114 | <td class="md" nowrap></td> |
---|
3115 | </tr> |
---|
3116 | |
---|
3117 | </table> |
---|
3118 | </td> |
---|
3119 | </tr> |
---|
3120 | </table> |
---|
3121 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3122 | <tr> |
---|
3123 | <td> |
---|
3124 | |
---|
3125 | </td> |
---|
3126 | <td> |
---|
3127 | |
---|
3128 | <p> |
---|
3129 | This method prepares the mesh for generating a renderable shadow volume. |
---|
3130 | <p> |
---|
3131 | <dl compact><dt><b>Remarks:</b></dt><dd>Preparing a mesh to generate a shadow volume involves firstly ensuring that the vertex buffer containing the positions for the mesh is a standalone vertex buffer, with no other components in it. This method will therefore break apart any existing vertex buffers this mesh holds if position is sharing a vertex buffer. Secondly, it will double the size of this vertex buffer so that there are 2 copies of the position data for the mesh. The first half is used for the original, and the second half is used for the 'extruded' version of the mesh. The vertex count of the main <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> used to render the mesh will remain the same though, so as not to add any overhead to regular rendering of the object. Both copies of the position are required in one buffer because shadow volumes stretch from the original mesh to the extruded version. </dd></dl> |
---|
3132 | <dl compact><dt><b></b></dt><dd>Because shadow volumes are rendered in turn, no additional index buffer space is allocated by this method, a shared index buffer allocated by the shadow rendering algorithm is used for addressing this extended vertex buffer. </dd></dl> |
---|
3133 | </td> |
---|
3134 | </tr> |
---|
3135 | </table> |
---|
3136 | <a class="anchor" name="Ogre_1_1Texturea31" doxytag="Ogre::Mesh::reload" ></a><p> |
---|
3137 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3138 | <tr> |
---|
3139 | <td class="mdRow"> |
---|
3140 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3141 | <tr> |
---|
3142 | <td class="md" nowrap valign="top"> virtual void Ogre::Resource::reload </td> |
---|
3143 | <td class="md" valign="top">( </td> |
---|
3144 | <td class="md" nowrap valign="top">void </td> |
---|
3145 | <td class="mdname1" valign="top" nowrap> </td> |
---|
3146 | <td class="md" valign="top"> ) </td> |
---|
3147 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3148 | </tr> |
---|
3149 | |
---|
3150 | </table> |
---|
3151 | </td> |
---|
3152 | </tr> |
---|
3153 | </table> |
---|
3154 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3155 | <tr> |
---|
3156 | <td> |
---|
3157 | |
---|
3158 | </td> |
---|
3159 | <td> |
---|
3160 | |
---|
3161 | <p> |
---|
3162 | Reloads the resource, if it is already loaded. |
---|
3163 | <p> |
---|
3164 | <dl compact><dt><b>Remarks:</b></dt><dd>Calls <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea34">unload()</a> and then <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a> again, if the resource is already loaded. If it is not loaded already, then nothing happens.</dd></dl> |
---|
3165 | </td> |
---|
3166 | </tr> |
---|
3167 | </table> |
---|
3168 | <a class="anchor" name="Ogre_1_1PatchMesha37" doxytag="Ogre::Mesh::removeLodLevels" ></a><p> |
---|
3169 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3170 | <tr> |
---|
3171 | <td class="mdRow"> |
---|
3172 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3173 | <tr> |
---|
3174 | <td class="md" nowrap valign="top"> void Ogre::Mesh::removeLodLevels </td> |
---|
3175 | <td class="md" valign="top">( </td> |
---|
3176 | <td class="md" nowrap valign="top">void </td> |
---|
3177 | <td class="mdname1" valign="top" nowrap> </td> |
---|
3178 | <td class="md" valign="top"> ) </td> |
---|
3179 | <td class="md" nowrap></td> |
---|
3180 | </tr> |
---|
3181 | |
---|
3182 | </table> |
---|
3183 | </td> |
---|
3184 | </tr> |
---|
3185 | </table> |
---|
3186 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3187 | <tr> |
---|
3188 | <td> |
---|
3189 | |
---|
3190 | </td> |
---|
3191 | <td> |
---|
3192 | |
---|
3193 | <p> |
---|
3194 | Removes all LOD data from this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. |
---|
3195 | <p> |
---|
3196 | </td> |
---|
3197 | </tr> |
---|
3198 | </table> |
---|
3199 | <a class="anchor" name="Ogre_1_1PatchMesha56" doxytag="Ogre::Mesh::setAutoBuildEdgeLists" ></a><p> |
---|
3200 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3201 | <tr> |
---|
3202 | <td class="mdRow"> |
---|
3203 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3204 | <tr> |
---|
3205 | <td class="md" nowrap valign="top"> void Ogre::Mesh::setAutoBuildEdgeLists </td> |
---|
3206 | <td class="md" valign="top">( </td> |
---|
3207 | <td class="md" nowrap valign="top">bool </td> |
---|
3208 | <td class="mdname1" valign="top" nowrap> <em>autobuild</em> </td> |
---|
3209 | <td class="md" valign="top"> ) </td> |
---|
3210 | <td class="md" nowrap></td> |
---|
3211 | </tr> |
---|
3212 | |
---|
3213 | </table> |
---|
3214 | </td> |
---|
3215 | </tr> |
---|
3216 | </table> |
---|
3217 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3218 | <tr> |
---|
3219 | <td> |
---|
3220 | |
---|
3221 | </td> |
---|
3222 | <td> |
---|
3223 | |
---|
3224 | <p> |
---|
3225 | Sets whether or not this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. |
---|
3226 | <p> |
---|
3227 | <dl compact><dt><b>Remarks:</b></dt><dd>This allows you to create meshes which do not have edge lists calculated, because you never want to use them. This value defaults to 'true' for mesh formats which did not include edge data, and 'false' for newer formats, where edge lists are expected to have been generated in advance. </dd></dl> |
---|
3228 | |
---|
3229 | <p> |
---|
3230 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00607">607</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3231 | </tr> |
---|
3232 | </table> |
---|
3233 | <a class="anchor" name="Ogre_1_1PatchMesha39" doxytag="Ogre::Mesh::setIndexBufferPolicy" ></a><p> |
---|
3234 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3235 | <tr> |
---|
3236 | <td class="mdRow"> |
---|
3237 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3238 | <tr> |
---|
3239 | <td class="md" nowrap valign="top"> void Ogre::Mesh::setIndexBufferPolicy </td> |
---|
3240 | <td class="md" valign="top">( </td> |
---|
3241 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> </td> |
---|
3242 | <td class="mdname" nowrap> <em>usage</em>, </td> |
---|
3243 | </tr> |
---|
3244 | <tr> |
---|
3245 | <td class="md" nowrap align="right"></td> |
---|
3246 | <td></td> |
---|
3247 | <td class="md" nowrap>bool </td> |
---|
3248 | <td class="mdname" nowrap> <em>shadowBuffer</em> = false</td> |
---|
3249 | </tr> |
---|
3250 | <tr> |
---|
3251 | <td></td> |
---|
3252 | <td class="md">) </td> |
---|
3253 | <td class="md" colspan="2"></td> |
---|
3254 | </tr> |
---|
3255 | |
---|
3256 | </table> |
---|
3257 | </td> |
---|
3258 | </tr> |
---|
3259 | </table> |
---|
3260 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3261 | <tr> |
---|
3262 | <td> |
---|
3263 | |
---|
3264 | </td> |
---|
3265 | <td> |
---|
3266 | |
---|
3267 | <p> |
---|
3268 | Sets the policy for the index buffers to be used when loading this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. |
---|
3269 | <p> |
---|
3270 | <dl compact><dt><b>Remarks:</b></dt><dd>By default, when loading the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>, static, write-only vertex and index buffers will be used where possible in order to improve rendering performance. However, such buffers cannot be manipulated on the fly by CPU code (although shader code can). If you wish to use the CPU to modify these buffers, you should call this method. Note, however, that it only takes effect after the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> has been reloaded. Note that you still have the option of manually repacing the buffers in this mesh with your own if you see fit too, in which case you don't need to call this method since it only affects buffers created by the mesh itself. </dd></dl> |
---|
3271 | <dl compact><dt><b></b></dt><dd>You can define the approach to a <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> by changing the default parameters to <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera3">MeshManager::load</a> if you wish; this means the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> is loaded with those options the first time instead of you having to reload the mesh after changing these options. </dd></dl> |
---|
3272 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3273 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3274 | <tr><td valign=top><em>usage</em> </td><td>The usage flags, which by default are <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw4">HardwareBuffer::HBU_STATIC_WRITE_ONLY</a> </td></tr> |
---|
3275 | <tr><td valign=top><em>shadowBuffer</em> </td><td>If set to true, the index buffers will be created with a system memory shadow buffer. You should set this if you want to be able to read from the buffer, because reading from a hardware buffer is a no-no.</td></tr> |
---|
3276 | </table> |
---|
3277 | </dl> |
---|
3278 | </td> |
---|
3279 | </tr> |
---|
3280 | </table> |
---|
3281 | <a class="anchor" name="Ogre_1_1Texturea47" doxytag="Ogre::Mesh::setParameter" ></a><p> |
---|
3282 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3283 | <tr> |
---|
3284 | <td class="mdRow"> |
---|
3285 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3286 | <tr> |
---|
3287 | <td class="md" nowrap valign="top"> virtual bool Ogre::StringInterface::setParameter </td> |
---|
3288 | <td class="md" valign="top">( </td> |
---|
3289 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
3290 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
3291 | </tr> |
---|
3292 | <tr> |
---|
3293 | <td class="md" nowrap align="right"></td> |
---|
3294 | <td></td> |
---|
3295 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
3296 | <td class="mdname" nowrap> <em>value</em></td> |
---|
3297 | </tr> |
---|
3298 | <tr> |
---|
3299 | <td></td> |
---|
3300 | <td class="md">) </td> |
---|
3301 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
3302 | </tr> |
---|
3303 | |
---|
3304 | </table> |
---|
3305 | </td> |
---|
3306 | </tr> |
---|
3307 | </table> |
---|
3308 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3309 | <tr> |
---|
3310 | <td> |
---|
3311 | |
---|
3312 | </td> |
---|
3313 | <td> |
---|
3314 | |
---|
3315 | <p> |
---|
3316 | Generic parameter setting method. |
---|
3317 | <p> |
---|
3318 | <dl compact><dt><b>Remarks:</b></dt><dd>Call this method with the name of a parameter and a string version of the value to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea46">StringInterface::getParameters</a>. </dd></dl> |
---|
3319 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3320 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3321 | <tr><td valign=top><em>name</em> </td><td>The name of the parameter to set </td></tr> |
---|
3322 | <tr><td valign=top><em>value</em> </td><td>String value. Must be in the right format for the type specified in the parameter definition. See the <a class="el" href="classOgre_1_1StringConverter.html">StringConverter</a> class for more information. </td></tr> |
---|
3323 | </table> |
---|
3324 | </dl> |
---|
3325 | <dl compact><dt><b>Returns:</b></dt><dd>true if set was successful, false otherwise (NB no exceptions thrown - tolerant method) </dd></dl> |
---|
3326 | |
---|
3327 | <p> |
---|
3328 | Referenced by <a class="el" href="OgreStringInterface_8h-source.html#l00296">Ogre::StringInterface::copyParametersTo()</a>. </td> |
---|
3329 | </tr> |
---|
3330 | </table> |
---|
3331 | <a class="anchor" name="Ogre_1_1Texturea48" doxytag="Ogre::Mesh::setParameterList" ></a><p> |
---|
3332 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3333 | <tr> |
---|
3334 | <td class="mdRow"> |
---|
3335 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3336 | <tr> |
---|
3337 | <td class="md" nowrap valign="top"> virtual void Ogre::StringInterface::setParameterList </td> |
---|
3338 | <td class="md" valign="top">( </td> |
---|
3339 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> & </td> |
---|
3340 | <td class="mdname1" valign="top" nowrap> <em>paramList</em> </td> |
---|
3341 | <td class="md" valign="top"> ) </td> |
---|
3342 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3343 | </tr> |
---|
3344 | |
---|
3345 | </table> |
---|
3346 | </td> |
---|
3347 | </tr> |
---|
3348 | </table> |
---|
3349 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3350 | <tr> |
---|
3351 | <td> |
---|
3352 | |
---|
3353 | </td> |
---|
3354 | <td> |
---|
3355 | |
---|
3356 | <p> |
---|
3357 | Generic multiple parameter setting method. |
---|
3358 | <p> |
---|
3359 | <dl compact><dt><b>Remarks:</b></dt><dd>Call this method with a list of name / value pairs to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea46">StringInterface::getParameters</a>. </dd></dl> |
---|
3360 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3361 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3362 | <tr><td valign=top><em>paramList</em> </td><td>Name/value pair list </td></tr> |
---|
3363 | </table> |
---|
3364 | </dl> |
---|
3365 | </td> |
---|
3366 | </tr> |
---|
3367 | </table> |
---|
3368 | <a class="anchor" name="Ogre_1_1PatchMesha17" doxytag="Ogre::Mesh::setSkeletonName" ></a><p> |
---|
3369 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3370 | <tr> |
---|
3371 | <td class="mdRow"> |
---|
3372 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3373 | <tr> |
---|
3374 | <td class="md" nowrap valign="top"> void Ogre::Mesh::setSkeletonName </td> |
---|
3375 | <td class="md" valign="top">( </td> |
---|
3376 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
3377 | <td class="mdname1" valign="top" nowrap> <em>skelName</em> </td> |
---|
3378 | <td class="md" valign="top"> ) </td> |
---|
3379 | <td class="md" nowrap></td> |
---|
3380 | </tr> |
---|
3381 | |
---|
3382 | </table> |
---|
3383 | </td> |
---|
3384 | </tr> |
---|
3385 | </table> |
---|
3386 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3387 | <tr> |
---|
3388 | <td> |
---|
3389 | |
---|
3390 | </td> |
---|
3391 | <td> |
---|
3392 | |
---|
3393 | <p> |
---|
3394 | Sets the name of the skeleton this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> uses for animation. |
---|
3395 | <p> |
---|
3396 | <dl compact><dt><b>Remarks:</b></dt><dd>Meshes can optionally be assigned a skeleton which can be used to animate the mesh through bone assignments. The default is for the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> to use no skeleton. Calling this method with a valid skeleton filename will cause the skeleton to be loaded if it is not already (a single skeleton can be shared by many <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> objects). </dd></dl> |
---|
3397 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3398 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3399 | <tr><td valign=top><em>skelName</em> </td><td>The name of the .skeleton file to use, or an empty string to use no skeleton </td></tr> |
---|
3400 | </table> |
---|
3401 | </dl> |
---|
3402 | </td> |
---|
3403 | </tr> |
---|
3404 | </table> |
---|
3405 | <a class="anchor" name="Ogre_1_1PatchMesha38" doxytag="Ogre::Mesh::setVertexBufferPolicy" ></a><p> |
---|
3406 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3407 | <tr> |
---|
3408 | <td class="mdRow"> |
---|
3409 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3410 | <tr> |
---|
3411 | <td class="md" nowrap valign="top"> void Ogre::Mesh::setVertexBufferPolicy </td> |
---|
3412 | <td class="md" valign="top">( </td> |
---|
3413 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> </td> |
---|
3414 | <td class="mdname" nowrap> <em>usage</em>, </td> |
---|
3415 | </tr> |
---|
3416 | <tr> |
---|
3417 | <td class="md" nowrap align="right"></td> |
---|
3418 | <td></td> |
---|
3419 | <td class="md" nowrap>bool </td> |
---|
3420 | <td class="mdname" nowrap> <em>shadowBuffer</em> = false</td> |
---|
3421 | </tr> |
---|
3422 | <tr> |
---|
3423 | <td></td> |
---|
3424 | <td class="md">) </td> |
---|
3425 | <td class="md" colspan="2"></td> |
---|
3426 | </tr> |
---|
3427 | |
---|
3428 | </table> |
---|
3429 | </td> |
---|
3430 | </tr> |
---|
3431 | </table> |
---|
3432 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3433 | <tr> |
---|
3434 | <td> |
---|
3435 | |
---|
3436 | </td> |
---|
3437 | <td> |
---|
3438 | |
---|
3439 | <p> |
---|
3440 | Sets the policy for the vertex buffers to be used when loading this <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. |
---|
3441 | <p> |
---|
3442 | <dl compact><dt><b>Remarks:</b></dt><dd>By default, when loading the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>, static, write-only vertex and index buffers will be used where possible in order to improve rendering performance. However, such buffers cannot be manipulated on the fly by CPU code (although shader code can). If you wish to use the CPU to modify these buffers, you should call this method. Note, however, that it only takes effect after the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> has been reloaded. Note that you still have the option of manually repacing the buffers in this mesh with your own if you see fit too, in which case you don't need to call this method since it only affects buffers created by the mesh itself. </dd></dl> |
---|
3443 | <dl compact><dt><b></b></dt><dd>You can define the approach to a <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> by changing the default parameters to <a class="el" href="classOgre_1_1MeshManager.html#Ogre_1_1MeshManagera3">MeshManager::load</a> if you wish; this means the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> is loaded with those options the first time instead of you having to reload the mesh after changing these options. </dd></dl> |
---|
3444 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3445 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3446 | <tr><td valign=top><em>usage</em> </td><td>The usage flags, which by default are <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw4">HardwareBuffer::HBU_STATIC_WRITE_ONLY</a> </td></tr> |
---|
3447 | <tr><td valign=top><em>shadowBuffer</em> </td><td>If set to true, the vertex buffers will be created with a system memory shadow buffer. You should set this if you want to be able to read from the buffer, because reading from a hardware buffer is a no-no.</td></tr> |
---|
3448 | </table> |
---|
3449 | </dl> |
---|
3450 | </td> |
---|
3451 | </tr> |
---|
3452 | </table> |
---|
3453 | <a class="anchor" name="Ogre_1_1PatchMeshe0" doxytag="Ogre::Mesh::softwareVertexBlend" ></a><p> |
---|
3454 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3455 | <tr> |
---|
3456 | <td class="mdRow"> |
---|
3457 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3458 | <tr> |
---|
3459 | <td class="md" nowrap valign="top"> void Ogre::Mesh::softwareVertexBlend </td> |
---|
3460 | <td class="md" valign="top">( </td> |
---|
3461 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> * </td> |
---|
3462 | <td class="mdname" nowrap> <em>sourceVertexData</em>, </td> |
---|
3463 | </tr> |
---|
3464 | <tr> |
---|
3465 | <td class="md" nowrap align="right"></td> |
---|
3466 | <td></td> |
---|
3467 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> * </td> |
---|
3468 | <td class="mdname" nowrap> <em>targetVertexData</em>, </td> |
---|
3469 | </tr> |
---|
3470 | <tr> |
---|
3471 | <td class="md" nowrap align="right"></td> |
---|
3472 | <td></td> |
---|
3473 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> * </td> |
---|
3474 | <td class="mdname" nowrap> <em>pMatrices</em>, </td> |
---|
3475 | </tr> |
---|
3476 | <tr> |
---|
3477 | <td class="md" nowrap align="right"></td> |
---|
3478 | <td></td> |
---|
3479 | <td class="md" nowrap>bool </td> |
---|
3480 | <td class="mdname" nowrap> <em>blendNormals</em></td> |
---|
3481 | </tr> |
---|
3482 | <tr> |
---|
3483 | <td></td> |
---|
3484 | <td class="md">) </td> |
---|
3485 | <td class="md" colspan="2"><code> [static]</code></td> |
---|
3486 | </tr> |
---|
3487 | |
---|
3488 | </table> |
---|
3489 | </td> |
---|
3490 | </tr> |
---|
3491 | </table> |
---|
3492 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3493 | <tr> |
---|
3494 | <td> |
---|
3495 | |
---|
3496 | </td> |
---|
3497 | <td> |
---|
3498 | |
---|
3499 | <p> |
---|
3500 | Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes. |
---|
3501 | <p> |
---|
3502 | <dl compact><dt><b>Remarks:</b></dt><dd>This function is supplied to update vertex data with blends done in software, either because no hardware support is available, or that you need the results of the blend for some other CPU operations. </dd></dl> |
---|
3503 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3504 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3505 | <tr><td valign=top><em>sourceVertexData</em> </td><td><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> class containing positions, normals, blend indices and blend weights. </td></tr> |
---|
3506 | <tr><td valign=top><em>targetVertexData</em> </td><td><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> class containing target position and normal buffers which will be updated with the blended versions. Note that the layout of the source and target position / normal buffers must be identical, ie they must use the same buffer indexes </td></tr> |
---|
3507 | <tr><td valign=top><em>pMatrices</em> </td><td>Pointer to an array of matrices to be used to blend </td></tr> |
---|
3508 | <tr><td valign=top><em>blendNormals</em> </td><td>If true, normals are blended as well as positions </td></tr> |
---|
3509 | </table> |
---|
3510 | </dl> |
---|
3511 | </td> |
---|
3512 | </tr> |
---|
3513 | </table> |
---|
3514 | <a class="anchor" name="Ogre_1_1PatchMesha47" doxytag="Ogre::Mesh::suggestTangentVectorBuildParams" ></a><p> |
---|
3515 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3516 | <tr> |
---|
3517 | <td class="mdRow"> |
---|
3518 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3519 | <tr> |
---|
3520 | <td class="md" nowrap valign="top"> bool Ogre::Mesh::suggestTangentVectorBuildParams </td> |
---|
3521 | <td class="md" valign="top">( </td> |
---|
3522 | <td class="md" nowrap valign="top">unsigned short & </td> |
---|
3523 | <td class="mdname" nowrap> <em>outSourceCoordSet</em>, </td> |
---|
3524 | </tr> |
---|
3525 | <tr> |
---|
3526 | <td class="md" nowrap align="right"></td> |
---|
3527 | <td></td> |
---|
3528 | <td class="md" nowrap>unsigned short & </td> |
---|
3529 | <td class="mdname" nowrap> <em>outDestCoordSet</em></td> |
---|
3530 | </tr> |
---|
3531 | <tr> |
---|
3532 | <td></td> |
---|
3533 | <td class="md">) </td> |
---|
3534 | <td class="md" colspan="2"></td> |
---|
3535 | </tr> |
---|
3536 | |
---|
3537 | </table> |
---|
3538 | </td> |
---|
3539 | </tr> |
---|
3540 | </table> |
---|
3541 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3542 | <tr> |
---|
3543 | <td> |
---|
3544 | |
---|
3545 | </td> |
---|
3546 | <td> |
---|
3547 | |
---|
3548 | <p> |
---|
3549 | Ask the mesh to suggest parameters to a future buildTangentVectors call. |
---|
3550 | <p> |
---|
3551 | <dl compact><dt><b>Remarks:</b></dt><dd>This helper method will suggest source and destination texture coordinate sets for a call to buildTangentVectors. It will detect when there are inappropriate conditions (such as multiple geometry sets which don't agree). Moreover, it will return 'true' if it detects that there are aleady 3D coordinates in the mesh, and therefore tangents may have been prepared already. </dd></dl> |
---|
3552 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3553 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3554 | <tr><td valign=top><em>outSourceCoordSet</em> </td><td>Reference to a source texture coordinate set which will be populated </td></tr> |
---|
3555 | <tr><td valign=top><em>outDestCoordSet</em> </td><td>Reference to a destination texture coordinate set which will be populated </td></tr> |
---|
3556 | </table> |
---|
3557 | </dl> |
---|
3558 | </td> |
---|
3559 | </tr> |
---|
3560 | </table> |
---|
3561 | <a class="anchor" name="Ogre_1_1Texturea36" doxytag="Ogre::Mesh::touch" ></a><p> |
---|
3562 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3563 | <tr> |
---|
3564 | <td class="mdRow"> |
---|
3565 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3566 | <tr> |
---|
3567 | <td class="md" nowrap valign="top"> virtual void Ogre::Resource::touch </td> |
---|
3568 | <td class="md" valign="top">( </td> |
---|
3569 | <td class="md" nowrap valign="top">void </td> |
---|
3570 | <td class="mdname1" valign="top" nowrap> </td> |
---|
3571 | <td class="md" valign="top"> ) </td> |
---|
3572 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3573 | </tr> |
---|
3574 | |
---|
3575 | </table> |
---|
3576 | </td> |
---|
3577 | </tr> |
---|
3578 | </table> |
---|
3579 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3580 | <tr> |
---|
3581 | <td> |
---|
3582 | |
---|
3583 | </td> |
---|
3584 | <td> |
---|
3585 | |
---|
3586 | <p> |
---|
3587 | 'Touches' the resource to indicate it has been used. |
---|
3588 | <p> |
---|
3589 | |
---|
3590 | <p> |
---|
3591 | Reimplemented in <a class="el" href="classOgre_1_1Material.html#Ogre_1_1Materiala50">Ogre::Material</a>. </td> |
---|
3592 | </tr> |
---|
3593 | </table> |
---|
3594 | <a class="anchor" name="Ogre_1_1Texturea34" doxytag="Ogre::Mesh::unload" ></a><p> |
---|
3595 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3596 | <tr> |
---|
3597 | <td class="mdRow"> |
---|
3598 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3599 | <tr> |
---|
3600 | <td class="md" nowrap valign="top"> virtual void Ogre::Resource::unload </td> |
---|
3601 | <td class="md" valign="top">( </td> |
---|
3602 | <td class="md" nowrap valign="top">void </td> |
---|
3603 | <td class="mdname1" valign="top" nowrap> </td> |
---|
3604 | <td class="md" valign="top"> ) </td> |
---|
3605 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
3606 | </tr> |
---|
3607 | |
---|
3608 | </table> |
---|
3609 | </td> |
---|
3610 | </tr> |
---|
3611 | </table> |
---|
3612 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3613 | <tr> |
---|
3614 | <td> |
---|
3615 | |
---|
3616 | </td> |
---|
3617 | <td> |
---|
3618 | |
---|
3619 | <p> |
---|
3620 | Unloads the resource; this is not permanent, the resource can be reloaded later if required. |
---|
3621 | <p> |
---|
3622 | |
---|
3623 | <p> |
---|
3624 | Reimplemented in <a class="el" href="classOgre_1_1GLSLGpuProgram.html#Ogre_1_1GLSLGpuPrograma2">Ogre::GLSLGpuProgram</a>. </td> |
---|
3625 | </tr> |
---|
3626 | </table> |
---|
3627 | <a class="anchor" name="Ogre_1_1PatchMeshb4" doxytag="Ogre::Mesh::unloadImpl" ></a><p> |
---|
3628 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3629 | <tr> |
---|
3630 | <td class="mdRow"> |
---|
3631 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3632 | <tr> |
---|
3633 | <td class="md" nowrap valign="top"> void Ogre::Mesh::unloadImpl </td> |
---|
3634 | <td class="md" valign="top">( </td> |
---|
3635 | <td class="md" nowrap valign="top">void </td> |
---|
3636 | <td class="mdname1" valign="top" nowrap> </td> |
---|
3637 | <td class="md" valign="top"> ) </td> |
---|
3638 | <td class="md" nowrap><code> [protected, virtual]</code></td> |
---|
3639 | </tr> |
---|
3640 | |
---|
3641 | </table> |
---|
3642 | </td> |
---|
3643 | </tr> |
---|
3644 | </table> |
---|
3645 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3646 | <tr> |
---|
3647 | <td> |
---|
3648 | |
---|
3649 | </td> |
---|
3650 | <td> |
---|
3651 | |
---|
3652 | <p> |
---|
3653 | |
---|
3654 | <p> |
---|
3655 | |
---|
3656 | <p> |
---|
3657 | Implements <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Resourceb2">Ogre::Resource</a>. </td> |
---|
3658 | </tr> |
---|
3659 | </table> |
---|
3660 | <a class="anchor" name="Ogre_1_1PatchMesha30" doxytag="Ogre::Mesh::updateManualLodLevel" ></a><p> |
---|
3661 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3662 | <tr> |
---|
3663 | <td class="mdRow"> |
---|
3664 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3665 | <tr> |
---|
3666 | <td class="md" nowrap valign="top"> void Ogre::Mesh::updateManualLodLevel </td> |
---|
3667 | <td class="md" valign="top">( </td> |
---|
3668 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a422">ushort</a> </td> |
---|
3669 | <td class="mdname" nowrap> <em>index</em>, </td> |
---|
3670 | </tr> |
---|
3671 | <tr> |
---|
3672 | <td class="md" nowrap align="right"></td> |
---|
3673 | <td></td> |
---|
3674 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
3675 | <td class="mdname" nowrap> <em>meshName</em></td> |
---|
3676 | </tr> |
---|
3677 | <tr> |
---|
3678 | <td></td> |
---|
3679 | <td class="md">) </td> |
---|
3680 | <td class="md" colspan="2"></td> |
---|
3681 | </tr> |
---|
3682 | |
---|
3683 | </table> |
---|
3684 | </td> |
---|
3685 | </tr> |
---|
3686 | </table> |
---|
3687 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3688 | <tr> |
---|
3689 | <td> |
---|
3690 | |
---|
3691 | </td> |
---|
3692 | <td> |
---|
3693 | |
---|
3694 | <p> |
---|
3695 | Changes the alternate mesh to use as a manual LOD at the given index. |
---|
3696 | <p> |
---|
3697 | <dl compact><dt><b>Remarks:</b></dt><dd>Note that the index of a LOD may change if you insert other LODs. If in doubt, use <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha31">getLodIndex()</a>. </dd></dl> |
---|
3698 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3699 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3700 | <tr><td valign=top><em>index</em> </td><td>The index of the level to be changed </td></tr> |
---|
3701 | <tr><td valign=top><em>meshName</em> </td><td>The name of the mesh which will be the lower level detail version.</td></tr> |
---|
3702 | </table> |
---|
3703 | </dl> |
---|
3704 | </td> |
---|
3705 | </tr> |
---|
3706 | </table> |
---|
3707 | <hr><h2>Friends And Related Function Documentation</h2> |
---|
3708 | <a class="anchor" name="Ogre_1_1Meshn1" doxytag="Ogre::Mesh::MeshSerializerImpl" ></a><p> |
---|
3709 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3710 | <tr> |
---|
3711 | <td class="mdRow"> |
---|
3712 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3713 | <tr> |
---|
3714 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1MeshSerializerImpl.html">MeshSerializerImpl</a><code> [friend]</code> |
---|
3715 | </table> |
---|
3716 | </td> |
---|
3717 | </tr> |
---|
3718 | </table> |
---|
3719 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3720 | <tr> |
---|
3721 | <td> |
---|
3722 | |
---|
3723 | </td> |
---|
3724 | <td> |
---|
3725 | |
---|
3726 | <p> |
---|
3727 | |
---|
3728 | <p> |
---|
3729 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00083">83</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3730 | </tr> |
---|
3731 | </table> |
---|
3732 | <a class="anchor" name="Ogre_1_1Meshn3" doxytag="Ogre::Mesh::MeshSerializerImpl_v1_1" ></a><p> |
---|
3733 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3734 | <tr> |
---|
3735 | <td class="mdRow"> |
---|
3736 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3737 | <tr> |
---|
3738 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1MeshSerializerImpl__v1__1.html">MeshSerializerImpl_v1_1</a><code> [friend]</code> |
---|
3739 | </table> |
---|
3740 | </td> |
---|
3741 | </tr> |
---|
3742 | </table> |
---|
3743 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3744 | <tr> |
---|
3745 | <td> |
---|
3746 | |
---|
3747 | </td> |
---|
3748 | <td> |
---|
3749 | |
---|
3750 | <p> |
---|
3751 | |
---|
3752 | <p> |
---|
3753 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00085">85</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3754 | </tr> |
---|
3755 | </table> |
---|
3756 | <a class="anchor" name="Ogre_1_1Meshn2" doxytag="Ogre::Mesh::MeshSerializerImpl_v1_2" ></a><p> |
---|
3757 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3758 | <tr> |
---|
3759 | <td class="mdRow"> |
---|
3760 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3761 | <tr> |
---|
3762 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1MeshSerializerImpl__v1__2.html">MeshSerializerImpl_v1_2</a><code> [friend]</code> |
---|
3763 | </table> |
---|
3764 | </td> |
---|
3765 | </tr> |
---|
3766 | </table> |
---|
3767 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3768 | <tr> |
---|
3769 | <td> |
---|
3770 | |
---|
3771 | </td> |
---|
3772 | <td> |
---|
3773 | |
---|
3774 | <p> |
---|
3775 | |
---|
3776 | <p> |
---|
3777 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00084">84</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3778 | </tr> |
---|
3779 | </table> |
---|
3780 | <a class="anchor" name="Ogre_1_1Meshn0" doxytag="Ogre::Mesh::SubMesh" ></a><p> |
---|
3781 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3782 | <tr> |
---|
3783 | <td class="mdRow"> |
---|
3784 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3785 | <tr> |
---|
3786 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a><code> [friend]</code> |
---|
3787 | </table> |
---|
3788 | </td> |
---|
3789 | </tr> |
---|
3790 | </table> |
---|
3791 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3792 | <tr> |
---|
3793 | <td> |
---|
3794 | |
---|
3795 | </td> |
---|
3796 | <td> |
---|
3797 | |
---|
3798 | <p> |
---|
3799 | |
---|
3800 | <p> |
---|
3801 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00082">82</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3802 | </tr> |
---|
3803 | </table> |
---|
3804 | <hr><h2>Member Data Documentation</h2> |
---|
3805 | <a class="anchor" name="Ogre_1_1PatchMeshp4" doxytag="Ogre::Mesh::mAABB" ></a><p> |
---|
3806 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3807 | <tr> |
---|
3808 | <td class="mdRow"> |
---|
3809 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3810 | <tr> |
---|
3811 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp4">Ogre::Mesh::mAABB</a><code> [protected]</code> |
---|
3812 | </table> |
---|
3813 | </td> |
---|
3814 | </tr> |
---|
3815 | </table> |
---|
3816 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3817 | <tr> |
---|
3818 | <td> |
---|
3819 | |
---|
3820 | </td> |
---|
3821 | <td> |
---|
3822 | |
---|
3823 | <p> |
---|
3824 | Local bounding box volume. |
---|
3825 | <p> |
---|
3826 | |
---|
3827 | <p> |
---|
3828 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00115">115</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3829 | </tr> |
---|
3830 | </table> |
---|
3831 | <a class="anchor" name="Ogre_1_1PatchMeshp19" doxytag="Ogre::Mesh::mAutoBuildEdgeLists" ></a><p> |
---|
3832 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3833 | <tr> |
---|
3834 | <td class="mdRow"> |
---|
3835 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3836 | <tr> |
---|
3837 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp19">Ogre::Mesh::mAutoBuildEdgeLists</a><code> [protected]</code> |
---|
3838 | </table> |
---|
3839 | </td> |
---|
3840 | </tr> |
---|
3841 | </table> |
---|
3842 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3843 | <tr> |
---|
3844 | <td> |
---|
3845 | |
---|
3846 | </td> |
---|
3847 | <td> |
---|
3848 | |
---|
3849 | <p> |
---|
3850 | |
---|
3851 | <p> |
---|
3852 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00151">151</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3853 | </tr> |
---|
3854 | </table> |
---|
3855 | <a class="anchor" name="Ogre_1_1PatchMeshp8" doxytag="Ogre::Mesh::mBoneAssignments" ></a><p> |
---|
3856 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3857 | <tr> |
---|
3858 | <td class="mdRow"> |
---|
3859 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3860 | <tr> |
---|
3861 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw1">VertexBoneAssignmentList</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp8">Ogre::Mesh::mBoneAssignments</a><code> [protected]</code> |
---|
3862 | </table> |
---|
3863 | </td> |
---|
3864 | </tr> |
---|
3865 | </table> |
---|
3866 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3867 | <tr> |
---|
3868 | <td> |
---|
3869 | |
---|
3870 | </td> |
---|
3871 | <td> |
---|
3872 | |
---|
3873 | <p> |
---|
3874 | |
---|
3875 | <p> |
---|
3876 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00124">124</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3877 | </tr> |
---|
3878 | </table> |
---|
3879 | <a class="anchor" name="Ogre_1_1PatchMeshp9" doxytag="Ogre::Mesh::mBoneAssignmentsOutOfDate" ></a><p> |
---|
3880 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3881 | <tr> |
---|
3882 | <td class="mdRow"> |
---|
3883 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3884 | <tr> |
---|
3885 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp9">Ogre::Mesh::mBoneAssignmentsOutOfDate</a><code> [protected]</code> |
---|
3886 | </table> |
---|
3887 | </td> |
---|
3888 | </tr> |
---|
3889 | </table> |
---|
3890 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3891 | <tr> |
---|
3892 | <td> |
---|
3893 | |
---|
3894 | </td> |
---|
3895 | <td> |
---|
3896 | |
---|
3897 | <p> |
---|
3898 | Flag indicating that bone assignments need to be recompiled. |
---|
3899 | <p> |
---|
3900 | |
---|
3901 | <p> |
---|
3902 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00127">127</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3903 | </tr> |
---|
3904 | </table> |
---|
3905 | <a class="anchor" name="Ogre_1_1PatchMeshp5" doxytag="Ogre::Mesh::mBoundRadius" ></a><p> |
---|
3906 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3907 | <tr> |
---|
3908 | <td class="mdRow"> |
---|
3909 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3910 | <tr> |
---|
3911 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp5">Ogre::Mesh::mBoundRadius</a><code> [protected]</code> |
---|
3912 | </table> |
---|
3913 | </td> |
---|
3914 | </tr> |
---|
3915 | </table> |
---|
3916 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3917 | <tr> |
---|
3918 | <td> |
---|
3919 | |
---|
3920 | </td> |
---|
3921 | <td> |
---|
3922 | |
---|
3923 | <p> |
---|
3924 | Local bounding sphere radius (centered on object). |
---|
3925 | <p> |
---|
3926 | |
---|
3927 | <p> |
---|
3928 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00117">117</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3929 | </tr> |
---|
3930 | </table> |
---|
3931 | <a class="anchor" name="Ogre_1_1Texturep17" doxytag="Ogre::Mesh::mCreator" ></a><p> |
---|
3932 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3933 | <tr> |
---|
3934 | <td class="mdRow"> |
---|
3935 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3936 | <tr> |
---|
3937 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>* <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep17">Ogre::Resource::mCreator</a><code> [protected, inherited]</code> |
---|
3938 | </table> |
---|
3939 | </td> |
---|
3940 | </tr> |
---|
3941 | </table> |
---|
3942 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3943 | <tr> |
---|
3944 | <td> |
---|
3945 | |
---|
3946 | </td> |
---|
3947 | <td> |
---|
3948 | |
---|
3949 | <p> |
---|
3950 | Creator. |
---|
3951 | <p> |
---|
3952 | |
---|
3953 | <p> |
---|
3954 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00073">73</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
3955 | </tr> |
---|
3956 | </table> |
---|
3957 | <a class="anchor" name="Ogre_1_1PatchMeshp18" doxytag="Ogre::Mesh::mEdgeListsBuilt" ></a><p> |
---|
3958 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3959 | <tr> |
---|
3960 | <td class="mdRow"> |
---|
3961 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3962 | <tr> |
---|
3963 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp18">Ogre::Mesh::mEdgeListsBuilt</a><code> [protected]</code> |
---|
3964 | </table> |
---|
3965 | </td> |
---|
3966 | </tr> |
---|
3967 | </table> |
---|
3968 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3969 | <tr> |
---|
3970 | <td> |
---|
3971 | |
---|
3972 | </td> |
---|
3973 | <td> |
---|
3974 | |
---|
3975 | <p> |
---|
3976 | |
---|
3977 | <p> |
---|
3978 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00150">150</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
3979 | </tr> |
---|
3980 | </table> |
---|
3981 | <a class="anchor" name="Ogre_1_1Texturep19" doxytag="Ogre::Mesh::mGroup" ></a><p> |
---|
3982 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3983 | <tr> |
---|
3984 | <td class="mdRow"> |
---|
3985 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3986 | <tr> |
---|
3987 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep19">Ogre::Resource::mGroup</a><code> [protected, inherited]</code> |
---|
3988 | </table> |
---|
3989 | </td> |
---|
3990 | </tr> |
---|
3991 | </table> |
---|
3992 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3993 | <tr> |
---|
3994 | <td> |
---|
3995 | |
---|
3996 | </td> |
---|
3997 | <td> |
---|
3998 | |
---|
3999 | <p> |
---|
4000 | The name of the resource group. |
---|
4001 | <p> |
---|
4002 | |
---|
4003 | <p> |
---|
4004 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00077">77</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4005 | </tr> |
---|
4006 | </table> |
---|
4007 | <a class="anchor" name="Ogre_1_1Texturep20" doxytag="Ogre::Mesh::mHandle" ></a><p> |
---|
4008 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4009 | <tr> |
---|
4010 | <td class="mdRow"> |
---|
4011 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4012 | <tr> |
---|
4013 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep20">Ogre::Resource::mHandle</a><code> [protected, inherited]</code> |
---|
4014 | </table> |
---|
4015 | </td> |
---|
4016 | </tr> |
---|
4017 | </table> |
---|
4018 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4019 | <tr> |
---|
4020 | <td> |
---|
4021 | |
---|
4022 | </td> |
---|
4023 | <td> |
---|
4024 | |
---|
4025 | <p> |
---|
4026 | Numeric handle for more efficient look up than name. |
---|
4027 | <p> |
---|
4028 | |
---|
4029 | <p> |
---|
4030 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00079">79</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4031 | </tr> |
---|
4032 | </table> |
---|
4033 | <a class="anchor" name="Ogre_1_1PatchMeshp16" doxytag="Ogre::Mesh::mIndexBufferShadowBuffer" ></a><p> |
---|
4034 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4035 | <tr> |
---|
4036 | <td class="mdRow"> |
---|
4037 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4038 | <tr> |
---|
4039 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp16">Ogre::Mesh::mIndexBufferShadowBuffer</a><code> [protected]</code> |
---|
4040 | </table> |
---|
4041 | </td> |
---|
4042 | </tr> |
---|
4043 | </table> |
---|
4044 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4045 | <tr> |
---|
4046 | <td> |
---|
4047 | |
---|
4048 | </td> |
---|
4049 | <td> |
---|
4050 | |
---|
4051 | <p> |
---|
4052 | |
---|
4053 | <p> |
---|
4054 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00146">146</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4055 | </tr> |
---|
4056 | </table> |
---|
4057 | <a class="anchor" name="Ogre_1_1PatchMeshp14" doxytag="Ogre::Mesh::mIndexBufferUsage" ></a><p> |
---|
4058 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4059 | <tr> |
---|
4060 | <td class="mdRow"> |
---|
4061 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4062 | <tr> |
---|
4063 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp14">Ogre::Mesh::mIndexBufferUsage</a><code> [protected]</code> |
---|
4064 | </table> |
---|
4065 | </td> |
---|
4066 | </tr> |
---|
4067 | </table> |
---|
4068 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4069 | <tr> |
---|
4070 | <td> |
---|
4071 | |
---|
4072 | </td> |
---|
4073 | <td> |
---|
4074 | |
---|
4075 | <p> |
---|
4076 | |
---|
4077 | <p> |
---|
4078 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00144">144</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4079 | </tr> |
---|
4080 | </table> |
---|
4081 | <a class="anchor" name="Ogre_1_1Texturep21" doxytag="Ogre::Mesh::mIsLoaded" ></a><p> |
---|
4082 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4083 | <tr> |
---|
4084 | <td class="mdRow"> |
---|
4085 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4086 | <tr> |
---|
4087 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep21">Ogre::Resource::mIsLoaded</a><code> [protected, inherited]</code> |
---|
4088 | </table> |
---|
4089 | </td> |
---|
4090 | </tr> |
---|
4091 | </table> |
---|
4092 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4093 | <tr> |
---|
4094 | <td> |
---|
4095 | |
---|
4096 | </td> |
---|
4097 | <td> |
---|
4098 | |
---|
4099 | <p> |
---|
4100 | Is the resource currently loaded? |
---|
4101 | <p> |
---|
4102 | |
---|
4103 | <p> |
---|
4104 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00081">81</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4105 | </tr> |
---|
4106 | </table> |
---|
4107 | <a class="anchor" name="Ogre_1_1PatchMeshp10" doxytag="Ogre::Mesh::mIsLodManual" ></a><p> |
---|
4108 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4109 | <tr> |
---|
4110 | <td class="mdRow"> |
---|
4111 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4112 | <tr> |
---|
4113 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp10">Ogre::Mesh::mIsLodManual</a><code> [protected]</code> |
---|
4114 | </table> |
---|
4115 | </td> |
---|
4116 | </tr> |
---|
4117 | </table> |
---|
4118 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4119 | <tr> |
---|
4120 | <td> |
---|
4121 | |
---|
4122 | </td> |
---|
4123 | <td> |
---|
4124 | |
---|
4125 | <p> |
---|
4126 | |
---|
4127 | <p> |
---|
4128 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00138">138</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4129 | </tr> |
---|
4130 | </table> |
---|
4131 | <a class="anchor" name="Ogre_1_1Texturep23" doxytag="Ogre::Mesh::mIsManual" ></a><p> |
---|
4132 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4133 | <tr> |
---|
4134 | <td class="mdRow"> |
---|
4135 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4136 | <tr> |
---|
4137 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep23">Ogre::Resource::mIsManual</a><code> [protected, inherited]</code> |
---|
4138 | </table> |
---|
4139 | </td> |
---|
4140 | </tr> |
---|
4141 | </table> |
---|
4142 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4143 | <tr> |
---|
4144 | <td> |
---|
4145 | |
---|
4146 | </td> |
---|
4147 | <td> |
---|
4148 | |
---|
4149 | <p> |
---|
4150 | Is this file manually loaded? |
---|
4151 | <p> |
---|
4152 | |
---|
4153 | <p> |
---|
4154 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00085">85</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4155 | </tr> |
---|
4156 | </table> |
---|
4157 | <a class="anchor" name="Ogre_1_1Texturep25" doxytag="Ogre::Mesh::mLoader" ></a><p> |
---|
4158 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4159 | <tr> |
---|
4160 | <td class="mdRow"> |
---|
4161 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4162 | <tr> |
---|
4163 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a>* <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep25">Ogre::Resource::mLoader</a><code> [protected, inherited]</code> |
---|
4164 | </table> |
---|
4165 | </td> |
---|
4166 | </tr> |
---|
4167 | </table> |
---|
4168 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4169 | <tr> |
---|
4170 | <td> |
---|
4171 | |
---|
4172 | </td> |
---|
4173 | <td> |
---|
4174 | |
---|
4175 | <p> |
---|
4176 | Optional manual loader; if provided, data is loaded from here instead of a file. |
---|
4177 | <p> |
---|
4178 | |
---|
4179 | <p> |
---|
4180 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00089">89</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4181 | </tr> |
---|
4182 | </table> |
---|
4183 | <a class="anchor" name="Ogre_1_1PatchMeshp12" doxytag="Ogre::Mesh::mMeshLodUsageList" ></a><p> |
---|
4184 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4185 | <tr> |
---|
4186 | <td class="mdRow"> |
---|
4187 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4188 | <tr> |
---|
4189 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshx0">MeshLodUsageList</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp12">Ogre::Mesh::mMeshLodUsageList</a><code> [protected]</code> |
---|
4190 | </table> |
---|
4191 | </td> |
---|
4192 | </tr> |
---|
4193 | </table> |
---|
4194 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4195 | <tr> |
---|
4196 | <td> |
---|
4197 | |
---|
4198 | </td> |
---|
4199 | <td> |
---|
4200 | |
---|
4201 | <p> |
---|
4202 | |
---|
4203 | <p> |
---|
4204 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00141">141</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4205 | </tr> |
---|
4206 | </table> |
---|
4207 | <a class="anchor" name="Ogre_1_1Texturep18" doxytag="Ogre::Mesh::mName" ></a><p> |
---|
4208 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4209 | <tr> |
---|
4210 | <td class="mdRow"> |
---|
4211 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4212 | <tr> |
---|
4213 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep18">Ogre::Resource::mName</a><code> [protected, inherited]</code> |
---|
4214 | </table> |
---|
4215 | </td> |
---|
4216 | </tr> |
---|
4217 | </table> |
---|
4218 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4219 | <tr> |
---|
4220 | <td> |
---|
4221 | |
---|
4222 | </td> |
---|
4223 | <td> |
---|
4224 | |
---|
4225 | <p> |
---|
4226 | Unique name of the resource. |
---|
4227 | <p> |
---|
4228 | |
---|
4229 | <p> |
---|
4230 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00075">75</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4231 | </tr> |
---|
4232 | </table> |
---|
4233 | <a class="anchor" name="Ogre_1_1PatchMeshp11" doxytag="Ogre::Mesh::mNumLods" ></a><p> |
---|
4234 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4235 | <tr> |
---|
4236 | <td class="mdRow"> |
---|
4237 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4238 | <tr> |
---|
4239 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a422">ushort</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp11">Ogre::Mesh::mNumLods</a><code> [protected]</code> |
---|
4240 | </table> |
---|
4241 | </td> |
---|
4242 | </tr> |
---|
4243 | </table> |
---|
4244 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4245 | <tr> |
---|
4246 | <td> |
---|
4247 | |
---|
4248 | </td> |
---|
4249 | <td> |
---|
4250 | |
---|
4251 | <p> |
---|
4252 | |
---|
4253 | <p> |
---|
4254 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00139">139</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4255 | </tr> |
---|
4256 | </table> |
---|
4257 | <a class="anchor" name="Ogre_1_1Texturep24" doxytag="Ogre::Mesh::mOrigin" ></a><p> |
---|
4258 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4259 | <tr> |
---|
4260 | <td class="mdRow"> |
---|
4261 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4262 | <tr> |
---|
4263 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep24">Ogre::Resource::mOrigin</a><code> [protected, inherited]</code> |
---|
4264 | </table> |
---|
4265 | </td> |
---|
4266 | </tr> |
---|
4267 | </table> |
---|
4268 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4269 | <tr> |
---|
4270 | <td> |
---|
4271 | |
---|
4272 | </td> |
---|
4273 | <td> |
---|
4274 | |
---|
4275 | <p> |
---|
4276 | Origin of this resource (e.g. script name) - optional. |
---|
4277 | <p> |
---|
4278 | |
---|
4279 | <p> |
---|
4280 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00087">87</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4281 | </tr> |
---|
4282 | </table> |
---|
4283 | <a class="anchor" name="Ogre_1_1Texturep26" doxytag="Ogre::Mesh::mParamDictName" ></a><p> |
---|
4284 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4285 | <tr> |
---|
4286 | <td class="mdRow"> |
---|
4287 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4288 | <tr> |
---|
4289 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturep26">Ogre::StringInterface::mParamDictName</a><code> [protected, inherited]</code> |
---|
4290 | </table> |
---|
4291 | </td> |
---|
4292 | </tr> |
---|
4293 | </table> |
---|
4294 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4295 | <tr> |
---|
4296 | <td> |
---|
4297 | |
---|
4298 | </td> |
---|
4299 | <td> |
---|
4300 | |
---|
4301 | <p> |
---|
4302 | Class name for this instance to be used as a lookup (must be initialised by subclasses). |
---|
4303 | <p> |
---|
4304 | |
---|
4305 | <p> |
---|
4306 | Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00160">160</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>. </td> |
---|
4307 | </tr> |
---|
4308 | </table> |
---|
4309 | <a class="anchor" name="Ogre_1_1PatchMeshp17" doxytag="Ogre::Mesh::mPreparedForShadowVolumes" ></a><p> |
---|
4310 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4311 | <tr> |
---|
4312 | <td class="mdRow"> |
---|
4313 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4314 | <tr> |
---|
4315 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp17">Ogre::Mesh::mPreparedForShadowVolumes</a><code> [protected]</code> |
---|
4316 | </table> |
---|
4317 | </td> |
---|
4318 | </tr> |
---|
4319 | </table> |
---|
4320 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4321 | <tr> |
---|
4322 | <td> |
---|
4323 | |
---|
4324 | </td> |
---|
4325 | <td> |
---|
4326 | |
---|
4327 | <p> |
---|
4328 | |
---|
4329 | <p> |
---|
4330 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00149">149</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4331 | </tr> |
---|
4332 | </table> |
---|
4333 | <a class="anchor" name="Ogre_1_1Texturet0" doxytag="Ogre::Mesh::msDictionary" ></a><p> |
---|
4334 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4335 | <tr> |
---|
4336 | <td class="mdRow"> |
---|
4337 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4338 | <tr> |
---|
4339 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a520">ParamDictionaryMap</a> <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturet0">Ogre::StringInterface::msDictionary</a><code> [static, protected, inherited]</code> |
---|
4340 | </table> |
---|
4341 | </td> |
---|
4342 | </tr> |
---|
4343 | </table> |
---|
4344 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4345 | <tr> |
---|
4346 | <td> |
---|
4347 | |
---|
4348 | </td> |
---|
4349 | <td> |
---|
4350 | |
---|
4351 | <p> |
---|
4352 | Dictionary of parameters. |
---|
4353 | <p> |
---|
4354 | |
---|
4355 | <p> |
---|
4356 | Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00157">157</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>. </td> |
---|
4357 | </tr> |
---|
4358 | </table> |
---|
4359 | <a class="anchor" name="Ogre_1_1Texturep22" doxytag="Ogre::Mesh::mSize" ></a><p> |
---|
4360 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4361 | <tr> |
---|
4362 | <td class="mdRow"> |
---|
4363 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4364 | <tr> |
---|
4365 | <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep22">Ogre::Resource::mSize</a><code> [protected, inherited]</code> |
---|
4366 | </table> |
---|
4367 | </td> |
---|
4368 | </tr> |
---|
4369 | </table> |
---|
4370 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4371 | <tr> |
---|
4372 | <td> |
---|
4373 | |
---|
4374 | </td> |
---|
4375 | <td> |
---|
4376 | |
---|
4377 | <p> |
---|
4378 | The size of the resource in bytes. |
---|
4379 | <p> |
---|
4380 | |
---|
4381 | <p> |
---|
4382 | Definition at line <a class="el" href="OgreResource_8h-source.html#l00083">83</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>. </td> |
---|
4383 | </tr> |
---|
4384 | </table> |
---|
4385 | <a class="anchor" name="Ogre_1_1PatchMeshp7" doxytag="Ogre::Mesh::mSkeleton" ></a><p> |
---|
4386 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4387 | <tr> |
---|
4388 | <td class="mdRow"> |
---|
4389 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4390 | <tr> |
---|
4391 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SkeletonPtr.html">SkeletonPtr</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp7">Ogre::Mesh::mSkeleton</a><code> [protected]</code> |
---|
4392 | </table> |
---|
4393 | </td> |
---|
4394 | </tr> |
---|
4395 | </table> |
---|
4396 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4397 | <tr> |
---|
4398 | <td> |
---|
4399 | |
---|
4400 | </td> |
---|
4401 | <td> |
---|
4402 | |
---|
4403 | <p> |
---|
4404 | |
---|
4405 | <p> |
---|
4406 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00121">121</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4407 | </tr> |
---|
4408 | </table> |
---|
4409 | <a class="anchor" name="Ogre_1_1PatchMeshp6" doxytag="Ogre::Mesh::mSkeletonName" ></a><p> |
---|
4410 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4411 | <tr> |
---|
4412 | <td class="mdRow"> |
---|
4413 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4414 | <tr> |
---|
4415 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp6">Ogre::Mesh::mSkeletonName</a><code> [protected]</code> |
---|
4416 | </table> |
---|
4417 | </td> |
---|
4418 | </tr> |
---|
4419 | </table> |
---|
4420 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4421 | <tr> |
---|
4422 | <td> |
---|
4423 | |
---|
4424 | </td> |
---|
4425 | <td> |
---|
4426 | |
---|
4427 | <p> |
---|
4428 | Optional linked skeleton. |
---|
4429 | <p> |
---|
4430 | |
---|
4431 | <p> |
---|
4432 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00120">120</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4433 | </tr> |
---|
4434 | </table> |
---|
4435 | <a class="anchor" name="Ogre_1_1PatchMeshp2" doxytag="Ogre::Mesh::mSubMeshList" ></a><p> |
---|
4436 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4437 | <tr> |
---|
4438 | <td class="mdRow"> |
---|
4439 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4440 | <tr> |
---|
4441 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw3">SubMeshList</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp2">Ogre::Mesh::mSubMeshList</a><code> [protected]</code> |
---|
4442 | </table> |
---|
4443 | </td> |
---|
4444 | </tr> |
---|
4445 | </table> |
---|
4446 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4447 | <tr> |
---|
4448 | <td> |
---|
4449 | |
---|
4450 | </td> |
---|
4451 | <td> |
---|
4452 | |
---|
4453 | <p> |
---|
4454 | A list of submeshes which make up this mesh. |
---|
4455 | <p> |
---|
4456 | Each mesh is made up of 1 or more submeshes, which are each based on a single material and can have their own vertex data (they may not - they can share vertex data from the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>, depending on preference). |
---|
4457 | <p> |
---|
4458 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00101">101</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4459 | </tr> |
---|
4460 | </table> |
---|
4461 | <a class="anchor" name="Ogre_1_1PatchMeshp3" doxytag="Ogre::Mesh::mSubMeshNameMap" ></a><p> |
---|
4462 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4463 | <tr> |
---|
4464 | <td class="mdRow"> |
---|
4465 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4466 | <tr> |
---|
4467 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshw4">SubMeshNameMap</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp3">Ogre::Mesh::mSubMeshNameMap</a><code> [protected]</code> |
---|
4468 | </table> |
---|
4469 | </td> |
---|
4470 | </tr> |
---|
4471 | </table> |
---|
4472 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4473 | <tr> |
---|
4474 | <td> |
---|
4475 | |
---|
4476 | </td> |
---|
4477 | <td> |
---|
4478 | |
---|
4479 | <p> |
---|
4480 | |
---|
4481 | <p> |
---|
4482 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00112">112</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4483 | </tr> |
---|
4484 | </table> |
---|
4485 | <a class="anchor" name="Ogre_1_1PatchMeshp15" doxytag="Ogre::Mesh::mVertexBufferShadowBuffer" ></a><p> |
---|
4486 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4487 | <tr> |
---|
4488 | <td class="mdRow"> |
---|
4489 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4490 | <tr> |
---|
4491 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp15">Ogre::Mesh::mVertexBufferShadowBuffer</a><code> [protected]</code> |
---|
4492 | </table> |
---|
4493 | </td> |
---|
4494 | </tr> |
---|
4495 | </table> |
---|
4496 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4497 | <tr> |
---|
4498 | <td> |
---|
4499 | |
---|
4500 | </td> |
---|
4501 | <td> |
---|
4502 | |
---|
4503 | <p> |
---|
4504 | |
---|
4505 | <p> |
---|
4506 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00145">145</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4507 | </tr> |
---|
4508 | </table> |
---|
4509 | <a class="anchor" name="Ogre_1_1PatchMeshp13" doxytag="Ogre::Mesh::mVertexBufferUsage" ></a><p> |
---|
4510 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4511 | <tr> |
---|
4512 | <td class="mdRow"> |
---|
4513 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4514 | <tr> |
---|
4515 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMeshp13">Ogre::Mesh::mVertexBufferUsage</a><code> [protected]</code> |
---|
4516 | </table> |
---|
4517 | </td> |
---|
4518 | </tr> |
---|
4519 | </table> |
---|
4520 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4521 | <tr> |
---|
4522 | <td> |
---|
4523 | |
---|
4524 | </td> |
---|
4525 | <td> |
---|
4526 | |
---|
4527 | <p> |
---|
4528 | |
---|
4529 | <p> |
---|
4530 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00143">143</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4531 | </tr> |
---|
4532 | </table> |
---|
4533 | <a class="anchor" name="Ogre_1_1PatchMesho0" doxytag="Ogre::Mesh::sharedVertexData" ></a><p> |
---|
4534 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4535 | <tr> |
---|
4536 | <td class="mdRow"> |
---|
4537 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4538 | <tr> |
---|
4539 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VertexData.html">VertexData</a>* <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesho0">Ogre::Mesh::sharedVertexData</a> |
---|
4540 | </table> |
---|
4541 | </td> |
---|
4542 | </tr> |
---|
4543 | </table> |
---|
4544 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4545 | <tr> |
---|
4546 | <td> |
---|
4547 | |
---|
4548 | </td> |
---|
4549 | <td> |
---|
4550 | |
---|
4551 | <p> |
---|
4552 | Shared vertex data. |
---|
4553 | <p> |
---|
4554 | <dl compact><dt><b>Remarks:</b></dt><dd>This vertex data can be shared among multiple submeshes. SubMeshes may not have their own <a class="el" href="classOgre_1_1VertexData.html">VertexData</a>, they may share this one. </dd></dl> |
---|
4555 | <dl compact><dt><b></b></dt><dd>The use of shared or non-shared buffers is determined when model data is converted to the OGRE .mesh format. </dd></dl> |
---|
4556 | |
---|
4557 | <p> |
---|
4558 | Definition at line <a class="el" href="OgreMesh_8h-source.html#l00223">223</a> of file <a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a>. </td> |
---|
4559 | </tr> |
---|
4560 | </table> |
---|
4561 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
4562 | <li><a class="el" href="OgreMesh_8h-source.html">OgreMesh.h</a></ul> |
---|
4563 | <hr> |
---|
4564 | <p> |
---|
4565 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
4566 | <!--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/> |
---|
4567 | This 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/> |
---|
4568 | <!--/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#"> |
---|
4569 | <Work rdf:about=""> |
---|
4570 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
4571 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
4572 | </Work> |
---|
4573 | <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> --> |
---|
4574 | |
---|
4575 | Last modified Sun Feb 12 13:01:09 2006 |
---|
4576 | </p> |
---|
4577 | </body> |
---|
4578 | </html> |
---|