1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::SubMesh 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::SubMesh Class Reference</h1>Defines a part of a complete mesh. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1SubMesh-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::multimap< size_t,<br> |
---|
19 | <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">VertexBoneAssignmentList</a></td></tr> |
---|
20 | |
---|
21 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multimap of verex bone assignments (orders by vertex index). <a href="#Ogre_1_1SubMeshw0"></a><br><br></td></tr> |
---|
22 | <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_1SubMesh.html#Ogre_1_1SubMeshw0">VertexBoneAssignmentList</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw1">BoneAssignmentIterator</a></td></tr> |
---|
23 | |
---|
24 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
25 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha0">SubMesh</a> ()</td></tr> |
---|
26 | |
---|
27 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha1">~SubMesh</a> ()</td></tr> |
---|
28 | |
---|
29 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha2">setMaterialName</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &matName)</td></tr> |
---|
30 | |
---|
31 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of the <a class="el" href="classOgre_1_1Material.html">Material</a> which this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> will use. <a href="#Ogre_1_1SubMesha2"></a><br><br></td></tr> |
---|
32 | <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_1SubMesh.html#Ogre_1_1SubMesha3">getMaterialName</a> (void) const </td></tr> |
---|
33 | |
---|
34 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha4">isMatInitialised</a> (void) const </td></tr> |
---|
35 | |
---|
36 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a material has been assigned to the submesh, otherwise returns false. <a href="#Ogre_1_1SubMesha4"></a><br><br></td></tr> |
---|
37 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha5">_getRenderOperation</a> (<a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> &rend, <a class="el" href="namespaceOgre.html#a422">ushort</a> lodIndex=0)</td></tr> |
---|
38 | |
---|
39 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure required to render this mesh. <a href="#Ogre_1_1SubMesha5"></a><br><br></td></tr> |
---|
40 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha6">addBoneAssignment</a> (const <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a> &vertBoneAssign)</td></tr> |
---|
41 | |
---|
42 | <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_1SubMesha6"></a><br><br></td></tr> |
---|
43 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha7">clearBoneAssignments</a> (void)</td></tr> |
---|
44 | |
---|
45 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all bone assignments for this mesh. <a href="#Ogre_1_1SubMesha7"></a><br><br></td></tr> |
---|
46 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw1">BoneAssignmentIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha8">getBoneAssignmentIterator</a> (void)</td></tr> |
---|
47 | |
---|
48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator for access all bone assignments. <a href="#Ogre_1_1SubMesha8"></a><br><br></td></tr> |
---|
49 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha9">_compileBoneAssignments</a> (void)</td></tr> |
---|
50 | |
---|
51 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Must be called once to compile bone assignments into geometry buffer. <a href="#Ogre_1_1SubMesha9"></a><br><br></td></tr> |
---|
52 | <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho0">useSharedVertices</a></td></tr> |
---|
54 | |
---|
55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices. <a href="#Ogre_1_1SubMesho0"></a><br><br></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderOperation.html#Ogre_1_1RenderOperationw6">RenderOperation::OperationType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho1">operationType</a></td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The render operation type used to render this submesh. <a href="#Ogre_1_1SubMesho1"></a><br><br></td></tr> |
---|
59 | <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_1SubMesh.html#Ogre_1_1SubMesho2">vertexData</a></td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Dedicated vertex data (only valid if useSharedVertices = false). <a href="#Ogre_1_1SubMesho2"></a><br><br></td></tr> |
---|
62 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1IndexData.html">IndexData</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho3">indexData</a></td></tr> |
---|
63 | |
---|
64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Face index data. <a href="#Ogre_1_1SubMesho3"></a><br><br></td></tr> |
---|
65 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ProgressiveMesh.html#Ogre_1_1ProgressiveMeshw0">ProgressiveMesh::LODFaceList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho4">mLodFaceList</a></td></tr> |
---|
66 | |
---|
67 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Mesh.html">Mesh</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho5">parent</a></td></tr> |
---|
68 | |
---|
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reference to parent <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> (not a smart pointer so child does not keep parent alive). <a href="#Ogre_1_1SubMesho5"></a><br><br></td></tr> |
---|
70 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
71 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshb0">removeLodLevels</a> (void)</td></tr> |
---|
72 | |
---|
73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for removing LOD data. <a href="#Ogre_1_1SubMeshb0"></a><br><br></td></tr> |
---|
74 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
75 | <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_1SubMesh.html#Ogre_1_1SubMeshp0">mMaterialName</a></td></tr> |
---|
76 | |
---|
77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the material this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> uses. <a href="#Ogre_1_1SubMeshp0"></a><br><br></td></tr> |
---|
78 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp1">mMatInitialised</a></td></tr> |
---|
79 | |
---|
80 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Is there a material yet? <a href="#Ogre_1_1SubMeshp1"></a><br><br></td></tr> |
---|
81 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">VertexBoneAssignmentList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp2">mBoneAssignments</a></td></tr> |
---|
82 | |
---|
83 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp3">mBoneAssignmentsOutOfDate</a></td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Flag indicating that bone assignments need to be recompiled. <a href="#Ogre_1_1SubMeshp3"></a><br><br></td></tr> |
---|
86 | <tr><td colspan=2><br><h2>Friends</h2></td></tr> |
---|
87 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn0">Mesh</a></td></tr> |
---|
88 | |
---|
89 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn1">MeshSerializerImpl</a></td></tr> |
---|
90 | |
---|
91 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn2">MeshSerializerImpl_v1_2</a></td></tr> |
---|
92 | |
---|
93 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn3">MeshSerializerImpl_v1_1</a></td></tr> |
---|
94 | |
---|
95 | </table> |
---|
96 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
97 | Defines a part of a complete mesh. |
---|
98 | <p> |
---|
99 | <dl compact><dt><b>Remarks:</b></dt><dd>Meshes which make up the definition of a discrete 3D object are made up of potentially multiple parts. This is because different parts of the mesh may use different materials or use different vertex formats, such that a rendering state change is required between them. </dd></dl> |
---|
100 | <dl compact><dt><b></b></dt><dd>Like the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> class, instatiations of 3D objects in the scene share the <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> instances, and have the option of overriding their material differences on a per-object basis if required. See the <a class="el" href="classOgre_1_1SubEntity.html">SubEntity</a> class for more information. </dd></dl> |
---|
101 | |
---|
102 | <p> |
---|
103 | |
---|
104 | <p> |
---|
105 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00051">51</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
106 | <a class="anchor" name="Ogre_1_1SubMeshw1" doxytag="Ogre::SubMesh::BoneAssignmentIterator" ></a><p> |
---|
107 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
108 | <tr> |
---|
109 | <td class="mdRow"> |
---|
110 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
111 | <tr> |
---|
112 | <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a><<a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">VertexBoneAssignmentList</a>> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw1">Ogre::SubMesh::BoneAssignmentIterator</a> |
---|
113 | </table> |
---|
114 | </td> |
---|
115 | </tr> |
---|
116 | </table> |
---|
117 | <table cellspacing=5 cellpadding=0 border=0> |
---|
118 | <tr> |
---|
119 | <td> |
---|
120 | |
---|
121 | </td> |
---|
122 | <td> |
---|
123 | |
---|
124 | <p> |
---|
125 | |
---|
126 | <p> |
---|
127 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00124">124</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
128 | </tr> |
---|
129 | </table> |
---|
130 | <a class="anchor" name="Ogre_1_1SubMeshw0" doxytag="Ogre::SubMesh::VertexBoneAssignmentList" ></a><p> |
---|
131 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
132 | <tr> |
---|
133 | <td class="mdRow"> |
---|
134 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
135 | <tr> |
---|
136 | <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_1SubMesh.html#Ogre_1_1SubMeshw0">Ogre::SubMesh::VertexBoneAssignmentList</a> |
---|
137 | </table> |
---|
138 | </td> |
---|
139 | </tr> |
---|
140 | </table> |
---|
141 | <table cellspacing=5 cellpadding=0 border=0> |
---|
142 | <tr> |
---|
143 | <td> |
---|
144 | |
---|
145 | </td> |
---|
146 | <td> |
---|
147 | |
---|
148 | <p> |
---|
149 | Multimap of verex bone assignments (orders by vertex index). |
---|
150 | <p> |
---|
151 | |
---|
152 | <p> |
---|
153 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00123">123</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
154 | </tr> |
---|
155 | </table> |
---|
156 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
157 | <a class="anchor" name="Ogre_1_1SubMesha0" doxytag="Ogre::SubMesh::SubMesh" ></a><p> |
---|
158 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
159 | <tr> |
---|
160 | <td class="mdRow"> |
---|
161 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
162 | <tr> |
---|
163 | <td class="md" nowrap valign="top"> Ogre::SubMesh::SubMesh </td> |
---|
164 | <td class="md" valign="top">( </td> |
---|
165 | <td class="mdname1" valign="top" nowrap> </td> |
---|
166 | <td class="md" valign="top"> ) </td> |
---|
167 | <td class="md" nowrap></td> |
---|
168 | </tr> |
---|
169 | |
---|
170 | </table> |
---|
171 | </td> |
---|
172 | </tr> |
---|
173 | </table> |
---|
174 | <table cellspacing=5 cellpadding=0 border=0> |
---|
175 | <tr> |
---|
176 | <td> |
---|
177 | |
---|
178 | </td> |
---|
179 | <td> |
---|
180 | |
---|
181 | <p> |
---|
182 | </td> |
---|
183 | </tr> |
---|
184 | </table> |
---|
185 | <a class="anchor" name="Ogre_1_1SubMesha1" doxytag="Ogre::SubMesh::~SubMesh" ></a><p> |
---|
186 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
187 | <tr> |
---|
188 | <td class="mdRow"> |
---|
189 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
190 | <tr> |
---|
191 | <td class="md" nowrap valign="top"> Ogre::SubMesh::~<a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> </td> |
---|
192 | <td class="md" valign="top">( </td> |
---|
193 | <td class="mdname1" valign="top" nowrap> </td> |
---|
194 | <td class="md" valign="top"> ) </td> |
---|
195 | <td class="md" nowrap></td> |
---|
196 | </tr> |
---|
197 | |
---|
198 | </table> |
---|
199 | </td> |
---|
200 | </tr> |
---|
201 | </table> |
---|
202 | <table cellspacing=5 cellpadding=0 border=0> |
---|
203 | <tr> |
---|
204 | <td> |
---|
205 | |
---|
206 | </td> |
---|
207 | <td> |
---|
208 | |
---|
209 | <p> |
---|
210 | </td> |
---|
211 | </tr> |
---|
212 | </table> |
---|
213 | <hr><h2>Member Function Documentation</h2> |
---|
214 | <a class="anchor" name="Ogre_1_1SubMesha9" doxytag="Ogre::SubMesh::_compileBoneAssignments" ></a><p> |
---|
215 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
216 | <tr> |
---|
217 | <td class="mdRow"> |
---|
218 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
219 | <tr> |
---|
220 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::_compileBoneAssignments </td> |
---|
221 | <td class="md" valign="top">( </td> |
---|
222 | <td class="md" nowrap valign="top">void </td> |
---|
223 | <td class="mdname1" valign="top" nowrap> </td> |
---|
224 | <td class="md" valign="top"> ) </td> |
---|
225 | <td class="md" nowrap></td> |
---|
226 | </tr> |
---|
227 | |
---|
228 | </table> |
---|
229 | </td> |
---|
230 | </tr> |
---|
231 | </table> |
---|
232 | <table cellspacing=5 cellpadding=0 border=0> |
---|
233 | <tr> |
---|
234 | <td> |
---|
235 | |
---|
236 | </td> |
---|
237 | <td> |
---|
238 | |
---|
239 | <p> |
---|
240 | Must be called once to compile bone assignments into geometry buffer. |
---|
241 | <p> |
---|
242 | </td> |
---|
243 | </tr> |
---|
244 | </table> |
---|
245 | <a class="anchor" name="Ogre_1_1SubMesha5" doxytag="Ogre::SubMesh::_getRenderOperation" ></a><p> |
---|
246 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
247 | <tr> |
---|
248 | <td class="mdRow"> |
---|
249 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
250 | <tr> |
---|
251 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::_getRenderOperation </td> |
---|
252 | <td class="md" valign="top">( </td> |
---|
253 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> & </td> |
---|
254 | <td class="mdname" nowrap> <em>rend</em>, </td> |
---|
255 | </tr> |
---|
256 | <tr> |
---|
257 | <td class="md" nowrap align="right"></td> |
---|
258 | <td></td> |
---|
259 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a> </td> |
---|
260 | <td class="mdname" nowrap> <em>lodIndex</em> = 0</td> |
---|
261 | </tr> |
---|
262 | <tr> |
---|
263 | <td></td> |
---|
264 | <td class="md">) </td> |
---|
265 | <td class="md" colspan="2"></td> |
---|
266 | </tr> |
---|
267 | |
---|
268 | </table> |
---|
269 | </td> |
---|
270 | </tr> |
---|
271 | </table> |
---|
272 | <table cellspacing=5 cellpadding=0 border=0> |
---|
273 | <tr> |
---|
274 | <td> |
---|
275 | |
---|
276 | </td> |
---|
277 | <td> |
---|
278 | |
---|
279 | <p> |
---|
280 | Returns a <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure required to render this mesh. |
---|
281 | <p> |
---|
282 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
283 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
284 | <tr><td valign=top><em>rend</em> </td><td>Reference to a <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure to populate. </td></tr> |
---|
285 | <tr><td valign=top><em>lodIndex</em> </td><td>The index of the LOD to use. </td></tr> |
---|
286 | </table> |
---|
287 | </dl> |
---|
288 | </td> |
---|
289 | </tr> |
---|
290 | </table> |
---|
291 | <a class="anchor" name="Ogre_1_1SubMesha6" doxytag="Ogre::SubMesh::addBoneAssignment" ></a><p> |
---|
292 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
293 | <tr> |
---|
294 | <td class="mdRow"> |
---|
295 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
296 | <tr> |
---|
297 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::addBoneAssignment </td> |
---|
298 | <td class="md" valign="top">( </td> |
---|
299 | <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a> & </td> |
---|
300 | <td class="mdname1" valign="top" nowrap> <em>vertBoneAssign</em> </td> |
---|
301 | <td class="md" valign="top"> ) </td> |
---|
302 | <td class="md" nowrap></td> |
---|
303 | </tr> |
---|
304 | |
---|
305 | </table> |
---|
306 | </td> |
---|
307 | </tr> |
---|
308 | </table> |
---|
309 | <table cellspacing=5 cellpadding=0 border=0> |
---|
310 | <tr> |
---|
311 | <td> |
---|
312 | |
---|
313 | </td> |
---|
314 | <td> |
---|
315 | |
---|
316 | <p> |
---|
317 | Assigns a vertex to a bone with a given weight, for skeletal animation. |
---|
318 | <p> |
---|
319 | <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> |
---|
320 | <dl compact><dt><b></b></dt><dd>This method is for assigning weights to the dedicated geometry of the <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. To assign weights to the shared <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> geometry, see the equivalent methods on <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. </dd></dl> |
---|
321 | </td> |
---|
322 | </tr> |
---|
323 | </table> |
---|
324 | <a class="anchor" name="Ogre_1_1SubMesha7" doxytag="Ogre::SubMesh::clearBoneAssignments" ></a><p> |
---|
325 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
326 | <tr> |
---|
327 | <td class="mdRow"> |
---|
328 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
329 | <tr> |
---|
330 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::clearBoneAssignments </td> |
---|
331 | <td class="md" valign="top">( </td> |
---|
332 | <td class="md" nowrap valign="top">void </td> |
---|
333 | <td class="mdname1" valign="top" nowrap> </td> |
---|
334 | <td class="md" valign="top"> ) </td> |
---|
335 | <td class="md" nowrap></td> |
---|
336 | </tr> |
---|
337 | |
---|
338 | </table> |
---|
339 | </td> |
---|
340 | </tr> |
---|
341 | </table> |
---|
342 | <table cellspacing=5 cellpadding=0 border=0> |
---|
343 | <tr> |
---|
344 | <td> |
---|
345 | |
---|
346 | </td> |
---|
347 | <td> |
---|
348 | |
---|
349 | <p> |
---|
350 | Removes all bone assignments for this mesh. |
---|
351 | <p> |
---|
352 | <dl compact><dt><b></b></dt><dd>This method is for assigning weights to the dedicated geometry of the <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>. To assign weights to the shared <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> geometry, see the equivalent methods on <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. </dd></dl> |
---|
353 | </td> |
---|
354 | </tr> |
---|
355 | </table> |
---|
356 | <a class="anchor" name="Ogre_1_1SubMesha8" doxytag="Ogre::SubMesh::getBoneAssignmentIterator" ></a><p> |
---|
357 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
358 | <tr> |
---|
359 | <td class="mdRow"> |
---|
360 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
361 | <tr> |
---|
362 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw1">BoneAssignmentIterator</a> Ogre::SubMesh::getBoneAssignmentIterator </td> |
---|
363 | <td class="md" valign="top">( </td> |
---|
364 | <td class="md" nowrap valign="top">void </td> |
---|
365 | <td class="mdname1" valign="top" nowrap> </td> |
---|
366 | <td class="md" valign="top"> ) </td> |
---|
367 | <td class="md" nowrap></td> |
---|
368 | </tr> |
---|
369 | |
---|
370 | </table> |
---|
371 | </td> |
---|
372 | </tr> |
---|
373 | </table> |
---|
374 | <table cellspacing=5 cellpadding=0 border=0> |
---|
375 | <tr> |
---|
376 | <td> |
---|
377 | |
---|
378 | </td> |
---|
379 | <td> |
---|
380 | |
---|
381 | <p> |
---|
382 | Gets an iterator for access all bone assignments. |
---|
383 | <p> |
---|
384 | <dl compact><dt><b>Remarks:</b></dt><dd>Only valid if this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> has dedicated geometry. </dd></dl> |
---|
385 | </td> |
---|
386 | </tr> |
---|
387 | </table> |
---|
388 | <a class="anchor" name="Ogre_1_1SubMesha3" doxytag="Ogre::SubMesh::getMaterialName" ></a><p> |
---|
389 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
390 | <tr> |
---|
391 | <td class="mdRow"> |
---|
392 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
393 | <tr> |
---|
394 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>& Ogre::SubMesh::getMaterialName </td> |
---|
395 | <td class="md" valign="top">( </td> |
---|
396 | <td class="md" nowrap valign="top">void </td> |
---|
397 | <td class="mdname1" valign="top" nowrap> </td> |
---|
398 | <td class="md" valign="top"> ) </td> |
---|
399 | <td class="md" nowrap> const</td> |
---|
400 | </tr> |
---|
401 | |
---|
402 | </table> |
---|
403 | </td> |
---|
404 | </tr> |
---|
405 | </table> |
---|
406 | <table cellspacing=5 cellpadding=0 border=0> |
---|
407 | <tr> |
---|
408 | <td> |
---|
409 | |
---|
410 | </td> |
---|
411 | <td> |
---|
412 | |
---|
413 | <p> |
---|
414 | </td> |
---|
415 | </tr> |
---|
416 | </table> |
---|
417 | <a class="anchor" name="Ogre_1_1SubMesha4" doxytag="Ogre::SubMesh::isMatInitialised" ></a><p> |
---|
418 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
419 | <tr> |
---|
420 | <td class="mdRow"> |
---|
421 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
422 | <tr> |
---|
423 | <td class="md" nowrap valign="top"> bool Ogre::SubMesh::isMatInitialised </td> |
---|
424 | <td class="md" valign="top">( </td> |
---|
425 | <td class="md" nowrap valign="top">void </td> |
---|
426 | <td class="mdname1" valign="top" nowrap> </td> |
---|
427 | <td class="md" valign="top"> ) </td> |
---|
428 | <td class="md" nowrap> const</td> |
---|
429 | </tr> |
---|
430 | |
---|
431 | </table> |
---|
432 | </td> |
---|
433 | </tr> |
---|
434 | </table> |
---|
435 | <table cellspacing=5 cellpadding=0 border=0> |
---|
436 | <tr> |
---|
437 | <td> |
---|
438 | |
---|
439 | </td> |
---|
440 | <td> |
---|
441 | |
---|
442 | <p> |
---|
443 | Returns true if a material has been assigned to the submesh, otherwise returns false. |
---|
444 | <p> |
---|
445 | </td> |
---|
446 | </tr> |
---|
447 | </table> |
---|
448 | <a class="anchor" name="Ogre_1_1SubMeshb0" doxytag="Ogre::SubMesh::removeLodLevels" ></a><p> |
---|
449 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
450 | <tr> |
---|
451 | <td class="mdRow"> |
---|
452 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
453 | <tr> |
---|
454 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::removeLodLevels </td> |
---|
455 | <td class="md" valign="top">( </td> |
---|
456 | <td class="md" nowrap valign="top">void </td> |
---|
457 | <td class="mdname1" valign="top" nowrap> </td> |
---|
458 | <td class="md" valign="top"> ) </td> |
---|
459 | <td class="md" nowrap><code> [protected]</code></td> |
---|
460 | </tr> |
---|
461 | |
---|
462 | </table> |
---|
463 | </td> |
---|
464 | </tr> |
---|
465 | </table> |
---|
466 | <table cellspacing=5 cellpadding=0 border=0> |
---|
467 | <tr> |
---|
468 | <td> |
---|
469 | |
---|
470 | </td> |
---|
471 | <td> |
---|
472 | |
---|
473 | <p> |
---|
474 | Internal method for removing LOD data. |
---|
475 | <p> |
---|
476 | </td> |
---|
477 | </tr> |
---|
478 | </table> |
---|
479 | <a class="anchor" name="Ogre_1_1SubMesha2" doxytag="Ogre::SubMesh::setMaterialName" ></a><p> |
---|
480 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
481 | <tr> |
---|
482 | <td class="mdRow"> |
---|
483 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
484 | <tr> |
---|
485 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::setMaterialName </td> |
---|
486 | <td class="md" valign="top">( </td> |
---|
487 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
488 | <td class="mdname1" valign="top" nowrap> <em>matName</em> </td> |
---|
489 | <td class="md" valign="top"> ) </td> |
---|
490 | <td class="md" nowrap></td> |
---|
491 | </tr> |
---|
492 | |
---|
493 | </table> |
---|
494 | </td> |
---|
495 | </tr> |
---|
496 | </table> |
---|
497 | <table cellspacing=5 cellpadding=0 border=0> |
---|
498 | <tr> |
---|
499 | <td> |
---|
500 | |
---|
501 | </td> |
---|
502 | <td> |
---|
503 | |
---|
504 | <p> |
---|
505 | Sets the name of the <a class="el" href="classOgre_1_1Material.html">Material</a> which this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> will use. |
---|
506 | <p> |
---|
507 | </td> |
---|
508 | </tr> |
---|
509 | </table> |
---|
510 | <hr><h2>Friends And Related Function Documentation</h2> |
---|
511 | <a class="anchor" name="Ogre_1_1SubMeshn0" doxytag="Ogre::SubMesh::Mesh" ></a><p> |
---|
512 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
513 | <tr> |
---|
514 | <td class="mdRow"> |
---|
515 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
516 | <tr> |
---|
517 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1Mesh.html">Mesh</a><code> [friend]</code> |
---|
518 | </table> |
---|
519 | </td> |
---|
520 | </tr> |
---|
521 | </table> |
---|
522 | <table cellspacing=5 cellpadding=0 border=0> |
---|
523 | <tr> |
---|
524 | <td> |
---|
525 | |
---|
526 | </td> |
---|
527 | <td> |
---|
528 | |
---|
529 | <p> |
---|
530 | |
---|
531 | <p> |
---|
532 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00053">53</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
533 | </tr> |
---|
534 | </table> |
---|
535 | <a class="anchor" name="Ogre_1_1SubMeshn1" doxytag="Ogre::SubMesh::MeshSerializerImpl" ></a><p> |
---|
536 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
537 | <tr> |
---|
538 | <td class="mdRow"> |
---|
539 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
540 | <tr> |
---|
541 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1MeshSerializerImpl.html">MeshSerializerImpl</a><code> [friend]</code> |
---|
542 | </table> |
---|
543 | </td> |
---|
544 | </tr> |
---|
545 | </table> |
---|
546 | <table cellspacing=5 cellpadding=0 border=0> |
---|
547 | <tr> |
---|
548 | <td> |
---|
549 | |
---|
550 | </td> |
---|
551 | <td> |
---|
552 | |
---|
553 | <p> |
---|
554 | |
---|
555 | <p> |
---|
556 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00054">54</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
557 | </tr> |
---|
558 | </table> |
---|
559 | <a class="anchor" name="Ogre_1_1SubMeshn3" doxytag="Ogre::SubMesh::MeshSerializerImpl_v1_1" ></a><p> |
---|
560 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
561 | <tr> |
---|
562 | <td class="mdRow"> |
---|
563 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
564 | <tr> |
---|
565 | <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> |
---|
566 | </table> |
---|
567 | </td> |
---|
568 | </tr> |
---|
569 | </table> |
---|
570 | <table cellspacing=5 cellpadding=0 border=0> |
---|
571 | <tr> |
---|
572 | <td> |
---|
573 | |
---|
574 | </td> |
---|
575 | <td> |
---|
576 | |
---|
577 | <p> |
---|
578 | |
---|
579 | <p> |
---|
580 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00056">56</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
581 | </tr> |
---|
582 | </table> |
---|
583 | <a class="anchor" name="Ogre_1_1SubMeshn2" doxytag="Ogre::SubMesh::MeshSerializerImpl_v1_2" ></a><p> |
---|
584 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
585 | <tr> |
---|
586 | <td class="mdRow"> |
---|
587 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
588 | <tr> |
---|
589 | <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> |
---|
590 | </table> |
---|
591 | </td> |
---|
592 | </tr> |
---|
593 | </table> |
---|
594 | <table cellspacing=5 cellpadding=0 border=0> |
---|
595 | <tr> |
---|
596 | <td> |
---|
597 | |
---|
598 | </td> |
---|
599 | <td> |
---|
600 | |
---|
601 | <p> |
---|
602 | |
---|
603 | <p> |
---|
604 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00055">55</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
605 | </tr> |
---|
606 | </table> |
---|
607 | <hr><h2>Member Data Documentation</h2> |
---|
608 | <a class="anchor" name="Ogre_1_1SubMesho3" doxytag="Ogre::SubMesh::indexData" ></a><p> |
---|
609 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
610 | <tr> |
---|
611 | <td class="mdRow"> |
---|
612 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
613 | <tr> |
---|
614 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1IndexData.html">IndexData</a>* <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho3">Ogre::SubMesh::indexData</a> |
---|
615 | </table> |
---|
616 | </td> |
---|
617 | </tr> |
---|
618 | </table> |
---|
619 | <table cellspacing=5 cellpadding=0 border=0> |
---|
620 | <tr> |
---|
621 | <td> |
---|
622 | |
---|
623 | </td> |
---|
624 | <td> |
---|
625 | |
---|
626 | <p> |
---|
627 | Face index data. |
---|
628 | <p> |
---|
629 | |
---|
630 | <p> |
---|
631 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00078">78</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
632 | </tr> |
---|
633 | </table> |
---|
634 | <a class="anchor" name="Ogre_1_1SubMeshp2" doxytag="Ogre::SubMesh::mBoneAssignments" ></a><p> |
---|
635 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
636 | <tr> |
---|
637 | <td class="mdRow"> |
---|
638 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
639 | <tr> |
---|
640 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">VertexBoneAssignmentList</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp2">Ogre::SubMesh::mBoneAssignments</a><code> [protected]</code> |
---|
641 | </table> |
---|
642 | </td> |
---|
643 | </tr> |
---|
644 | </table> |
---|
645 | <table cellspacing=5 cellpadding=0 border=0> |
---|
646 | <tr> |
---|
647 | <td> |
---|
648 | |
---|
649 | </td> |
---|
650 | <td> |
---|
651 | |
---|
652 | <p> |
---|
653 | |
---|
654 | <p> |
---|
655 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00143">143</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
656 | </tr> |
---|
657 | </table> |
---|
658 | <a class="anchor" name="Ogre_1_1SubMeshp3" doxytag="Ogre::SubMesh::mBoneAssignmentsOutOfDate" ></a><p> |
---|
659 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
660 | <tr> |
---|
661 | <td class="mdRow"> |
---|
662 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
663 | <tr> |
---|
664 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp3">Ogre::SubMesh::mBoneAssignmentsOutOfDate</a><code> [protected]</code> |
---|
665 | </table> |
---|
666 | </td> |
---|
667 | </tr> |
---|
668 | </table> |
---|
669 | <table cellspacing=5 cellpadding=0 border=0> |
---|
670 | <tr> |
---|
671 | <td> |
---|
672 | |
---|
673 | </td> |
---|
674 | <td> |
---|
675 | |
---|
676 | <p> |
---|
677 | Flag indicating that bone assignments need to be recompiled. |
---|
678 | <p> |
---|
679 | |
---|
680 | <p> |
---|
681 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00146">146</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
682 | </tr> |
---|
683 | </table> |
---|
684 | <a class="anchor" name="Ogre_1_1SubMesho4" doxytag="Ogre::SubMesh::mLodFaceList" ></a><p> |
---|
685 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
686 | <tr> |
---|
687 | <td class="mdRow"> |
---|
688 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
689 | <tr> |
---|
690 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ProgressiveMesh.html#Ogre_1_1ProgressiveMeshw0">ProgressiveMesh::LODFaceList</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho4">Ogre::SubMesh::mLodFaceList</a> |
---|
691 | </table> |
---|
692 | </td> |
---|
693 | </tr> |
---|
694 | </table> |
---|
695 | <table cellspacing=5 cellpadding=0 border=0> |
---|
696 | <tr> |
---|
697 | <td> |
---|
698 | |
---|
699 | </td> |
---|
700 | <td> |
---|
701 | |
---|
702 | <p> |
---|
703 | |
---|
704 | <p> |
---|
705 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00080">80</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
706 | </tr> |
---|
707 | </table> |
---|
708 | <a class="anchor" name="Ogre_1_1SubMeshp0" doxytag="Ogre::SubMesh::mMaterialName" ></a><p> |
---|
709 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
710 | <tr> |
---|
711 | <td class="mdRow"> |
---|
712 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
713 | <tr> |
---|
714 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp0">Ogre::SubMesh::mMaterialName</a><code> [protected]</code> |
---|
715 | </table> |
---|
716 | </td> |
---|
717 | </tr> |
---|
718 | </table> |
---|
719 | <table cellspacing=5 cellpadding=0 border=0> |
---|
720 | <tr> |
---|
721 | <td> |
---|
722 | |
---|
723 | </td> |
---|
724 | <td> |
---|
725 | |
---|
726 | <p> |
---|
727 | Name of the material this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> uses. |
---|
728 | <p> |
---|
729 | |
---|
730 | <p> |
---|
731 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00137">137</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
732 | </tr> |
---|
733 | </table> |
---|
734 | <a class="anchor" name="Ogre_1_1SubMeshp1" doxytag="Ogre::SubMesh::mMatInitialised" ></a><p> |
---|
735 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
736 | <tr> |
---|
737 | <td class="mdRow"> |
---|
738 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
739 | <tr> |
---|
740 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp1">Ogre::SubMesh::mMatInitialised</a><code> [protected]</code> |
---|
741 | </table> |
---|
742 | </td> |
---|
743 | </tr> |
---|
744 | </table> |
---|
745 | <table cellspacing=5 cellpadding=0 border=0> |
---|
746 | <tr> |
---|
747 | <td> |
---|
748 | |
---|
749 | </td> |
---|
750 | <td> |
---|
751 | |
---|
752 | <p> |
---|
753 | Is there a material yet? |
---|
754 | <p> |
---|
755 | |
---|
756 | <p> |
---|
757 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00140">140</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
758 | </tr> |
---|
759 | </table> |
---|
760 | <a class="anchor" name="Ogre_1_1SubMesho1" doxytag="Ogre::SubMesh::operationType" ></a><p> |
---|
761 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
762 | <tr> |
---|
763 | <td class="mdRow"> |
---|
764 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
765 | <tr> |
---|
766 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RenderOperation.html#Ogre_1_1RenderOperationw6">RenderOperation::OperationType</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho1">Ogre::SubMesh::operationType</a> |
---|
767 | </table> |
---|
768 | </td> |
---|
769 | </tr> |
---|
770 | </table> |
---|
771 | <table cellspacing=5 cellpadding=0 border=0> |
---|
772 | <tr> |
---|
773 | <td> |
---|
774 | |
---|
775 | </td> |
---|
776 | <td> |
---|
777 | |
---|
778 | <p> |
---|
779 | The render operation type used to render this submesh. |
---|
780 | <p> |
---|
781 | |
---|
782 | <p> |
---|
783 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00066">66</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
784 | </tr> |
---|
785 | </table> |
---|
786 | <a class="anchor" name="Ogre_1_1SubMesho5" doxytag="Ogre::SubMesh::parent" ></a><p> |
---|
787 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
788 | <tr> |
---|
789 | <td class="mdRow"> |
---|
790 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
791 | <tr> |
---|
792 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>* <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho5">Ogre::SubMesh::parent</a> |
---|
793 | </table> |
---|
794 | </td> |
---|
795 | </tr> |
---|
796 | </table> |
---|
797 | <table cellspacing=5 cellpadding=0 border=0> |
---|
798 | <tr> |
---|
799 | <td> |
---|
800 | |
---|
801 | </td> |
---|
802 | <td> |
---|
803 | |
---|
804 | <p> |
---|
805 | Reference to parent <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> (not a smart pointer so child does not keep parent alive). |
---|
806 | <p> |
---|
807 | |
---|
808 | <p> |
---|
809 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00083">83</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
810 | </tr> |
---|
811 | </table> |
---|
812 | <a class="anchor" name="Ogre_1_1SubMesho0" doxytag="Ogre::SubMesh::useSharedVertices" ></a><p> |
---|
813 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
814 | <tr> |
---|
815 | <td class="mdRow"> |
---|
816 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
817 | <tr> |
---|
818 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho0">Ogre::SubMesh::useSharedVertices</a> |
---|
819 | </table> |
---|
820 | </td> |
---|
821 | </tr> |
---|
822 | </table> |
---|
823 | <table cellspacing=5 cellpadding=0 border=0> |
---|
824 | <tr> |
---|
825 | <td> |
---|
826 | |
---|
827 | </td> |
---|
828 | <td> |
---|
829 | |
---|
830 | <p> |
---|
831 | Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices. |
---|
832 | <p> |
---|
833 | |
---|
834 | <p> |
---|
835 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00063">63</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
836 | </tr> |
---|
837 | </table> |
---|
838 | <a class="anchor" name="Ogre_1_1SubMesho2" doxytag="Ogre::SubMesh::vertexData" ></a><p> |
---|
839 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
840 | <tr> |
---|
841 | <td class="mdRow"> |
---|
842 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
843 | <tr> |
---|
844 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VertexData.html">VertexData</a>* <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho2">Ogre::SubMesh::vertexData</a> |
---|
845 | </table> |
---|
846 | </td> |
---|
847 | </tr> |
---|
848 | </table> |
---|
849 | <table cellspacing=5 cellpadding=0 border=0> |
---|
850 | <tr> |
---|
851 | <td> |
---|
852 | |
---|
853 | </td> |
---|
854 | <td> |
---|
855 | |
---|
856 | <p> |
---|
857 | Dedicated vertex data (only valid if useSharedVertices = false). |
---|
858 | <p> |
---|
859 | <dl compact><dt><b>Remarks:</b></dt><dd>This data is completely owned by this submesh. </dd></dl> |
---|
860 | <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> |
---|
861 | |
---|
862 | <p> |
---|
863 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00075">75</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
864 | </tr> |
---|
865 | </table> |
---|
866 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
867 | <li><a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a></ul> |
---|
868 | <hr> |
---|
869 | <p> |
---|
870 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
871 | <!--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/> |
---|
872 | 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/> |
---|
873 | <!--/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#"> |
---|
874 | <Work rdf:about=""> |
---|
875 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
876 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
877 | </Work> |
---|
878 | <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> --> |
---|
879 | |
---|
880 | Last modified Sun Feb 12 13:04:13 2006 |
---|
881 | </p> |
---|
882 | </body> |
---|
883 | </html> |
---|