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::vector< unsigned <br> |
---|
19 | short > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">IndexMap</a></td></tr> |
---|
20 | |
---|
21 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Dedicated index map for translate blend index to bone index (only valid if useSharedVertices = false). <a href="#Ogre_1_1SubMeshw0"></a><br><br></td></tr> |
---|
22 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::multimap< size_t,<br> |
---|
23 | <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_1SubMeshw1">VertexBoneAssignmentList</a></td></tr> |
---|
24 | |
---|
25 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multimap of verex bone assignments (orders by vertex index). <a href="#Ogre_1_1SubMeshw1"></a><br><br></td></tr> |
---|
26 | <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_1SubMeshw1">VertexBoneAssignmentList</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw2">BoneAssignmentIterator</a></td></tr> |
---|
27 | |
---|
28 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1ConstMapIterator.html">ConstMapIterator</a><<br> |
---|
29 | <a class="el" href="namespaceOgre.html#a77">AliasTextureNamePairList</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw3">AliasTextureIterator</a></td></tr> |
---|
30 | |
---|
31 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
32 | <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> |
---|
33 | |
---|
34 | <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> |
---|
35 | |
---|
36 | <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#a471">String</a> &matName)</td></tr> |
---|
37 | |
---|
38 | <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> |
---|
39 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">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> |
---|
40 | |
---|
41 | <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> |
---|
42 | |
---|
43 | <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> |
---|
44 | <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#a467">ushort</a> lodIndex=0)</td></tr> |
---|
45 | |
---|
46 | <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> |
---|
47 | <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> |
---|
48 | |
---|
49 | <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> |
---|
50 | <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> |
---|
51 | |
---|
52 | <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> |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw2">BoneAssignmentIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha8">getBoneAssignmentIterator</a> (void)</td></tr> |
---|
54 | |
---|
55 | <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> |
---|
56 | <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> |
---|
57 | |
---|
58 | <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> |
---|
59 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ConstMapIterator.html">AliasTextureIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha10">getAliasTextureIterator</a> (void) const </td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an constant iterator to access all texture alias names assigned to this submesh. <a href="#Ogre_1_1SubMesha10"></a><br><br></td></tr> |
---|
62 | <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_1SubMesha11">addTextureAlias</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &aliasName, const <a class="el" href="namespaceOgre.html#a471">String</a> &textureName)</td></tr> |
---|
63 | |
---|
64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds the alias or replaces an existing one and associates the texture name to it. <a href="#Ogre_1_1SubMesha11"></a><br><br></td></tr> |
---|
65 | <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_1SubMesha12">removeTextureAlias</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &aliasName)</td></tr> |
---|
66 | |
---|
67 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a specific texture alias name from the sub mesh. <a href="#Ogre_1_1SubMesha12"></a><br><br></td></tr> |
---|
68 | <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_1SubMesha13">removeAllTextureAliases</a> (void)</td></tr> |
---|
69 | |
---|
70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">removes all texture aliases from the sub mesh <a href="#Ogre_1_1SubMesha13"></a><br><br></td></tr> |
---|
71 | <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_1SubMesha14">hasTextureAliases</a> (void) const </td></tr> |
---|
72 | |
---|
73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if the sub mesh has texture aliases <a href="#Ogre_1_1SubMesha14"></a><br><br></td></tr> |
---|
74 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha15">getTextureAliasCount</a> (void) const </td></tr> |
---|
75 | |
---|
76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of texture aliases assigned to the sub mesh. <a href="#Ogre_1_1SubMesha15"></a><br><br></td></tr> |
---|
77 | <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_1SubMesha16">updateMaterialUsingTextureAliases</a> (void)</td></tr> |
---|
78 | |
---|
79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The current material used by the submesh is copied into a new material and the submesh's texture aliases are applied if the current texture alias names match those found in the original material. <a href="#Ogre_1_1SubMesha16"></a><br><br></td></tr> |
---|
80 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a630">VertexAnimationType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha17">getVertexAnimationType</a> (void) const </td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of any vertex animation used by dedicated geometry. <a href="#Ogre_1_1SubMesha17"></a><br><br></td></tr> |
---|
83 | <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> |
---|
84 | <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> |
---|
85 | |
---|
86 | <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> |
---|
87 | <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> |
---|
88 | |
---|
89 | <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> |
---|
90 | <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> |
---|
91 | |
---|
92 | <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> |
---|
93 | <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> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Face index data. <a href="#Ogre_1_1SubMesho3"></a><br><br></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">IndexMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho4">blendIndexToBoneIndexMap</a></td></tr> |
---|
97 | |
---|
98 | <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_1SubMesho5">mLodFaceList</a></td></tr> |
---|
99 | |
---|
100 | <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_1SubMesho6">parent</a></td></tr> |
---|
101 | |
---|
102 | <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_1SubMesho6"></a><br><br></td></tr> |
---|
103 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></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_1SubMesh.html#Ogre_1_1SubMeshb0">removeLodLevels</a> (void)</td></tr> |
---|
105 | |
---|
106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for removing LOD data. <a href="#Ogre_1_1SubMeshb0"></a><br><br></td></tr> |
---|
107 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
108 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp0">mMaterialName</a></td></tr> |
---|
109 | |
---|
110 | <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> |
---|
111 | <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> |
---|
112 | |
---|
113 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Is there a material yet? <a href="#Ogre_1_1SubMeshp1"></a><br><br></td></tr> |
---|
114 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a77">AliasTextureNamePairList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp2">mTextureAliases</a></td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">paired list of texture aliases and texture names <a href="#Ogre_1_1SubMeshp2"></a><br><br></td></tr> |
---|
117 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw1">VertexBoneAssignmentList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp3">mBoneAssignments</a></td></tr> |
---|
118 | |
---|
119 | <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_1SubMeshp4">mBoneAssignmentsOutOfDate</a></td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Flag indicating that bone assignments need to be recompiled. <a href="#Ogre_1_1SubMeshp4"></a><br><br></td></tr> |
---|
122 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a630">VertexAnimationType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp5">mVertexAnimationType</a></td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Type of vertex animation for dedicated vertex data (populated by <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>). <a href="#Ogre_1_1SubMeshp5"></a><br><br></td></tr> |
---|
125 | <tr><td colspan=2><br><h2>Friends</h2></td></tr> |
---|
126 | <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> |
---|
127 | |
---|
128 | <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> |
---|
129 | |
---|
130 | <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> |
---|
131 | |
---|
132 | <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> |
---|
133 | |
---|
134 | </table> |
---|
135 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
136 | Defines a part of a complete mesh. |
---|
137 | <p> |
---|
138 | <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> |
---|
139 | <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> |
---|
140 | |
---|
141 | <p> |
---|
142 | |
---|
143 | <p> |
---|
144 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00052">52</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
145 | <a class="anchor" name="Ogre_1_1SubMeshw3" doxytag="Ogre::SubMesh::AliasTextureIterator" ></a><p> |
---|
146 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
147 | <tr> |
---|
148 | <td class="mdRow"> |
---|
149 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
150 | <tr> |
---|
151 | <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1ConstMapIterator.html">ConstMapIterator</a><<a class="el" href="namespaceOgre.html#a77">AliasTextureNamePairList</a>> <a class="el" href="classOgre_1_1ConstMapIterator.html">Ogre::SubMesh::AliasTextureIterator</a> |
---|
152 | </table> |
---|
153 | </td> |
---|
154 | </tr> |
---|
155 | </table> |
---|
156 | <table cellspacing=5 cellpadding=0 border=0> |
---|
157 | <tr> |
---|
158 | <td> |
---|
159 | |
---|
160 | </td> |
---|
161 | <td> |
---|
162 | |
---|
163 | <p> |
---|
164 | |
---|
165 | <p> |
---|
166 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00158">158</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
167 | </tr> |
---|
168 | </table> |
---|
169 | <a class="anchor" name="Ogre_1_1SubMeshw2" doxytag="Ogre::SubMesh::BoneAssignmentIterator" ></a><p> |
---|
170 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
171 | <tr> |
---|
172 | <td class="mdRow"> |
---|
173 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
174 | <tr> |
---|
175 | <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_1SubMeshw1">VertexBoneAssignmentList</a>> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw2">Ogre::SubMesh::BoneAssignmentIterator</a> |
---|
176 | </table> |
---|
177 | </td> |
---|
178 | </tr> |
---|
179 | </table> |
---|
180 | <table cellspacing=5 cellpadding=0 border=0> |
---|
181 | <tr> |
---|
182 | <td> |
---|
183 | |
---|
184 | </td> |
---|
185 | <td> |
---|
186 | |
---|
187 | <p> |
---|
188 | |
---|
189 | <p> |
---|
190 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00147">147</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
191 | </tr> |
---|
192 | </table> |
---|
193 | <a class="anchor" name="Ogre_1_1SubMeshw0" doxytag="Ogre::SubMesh::IndexMap" ></a><p> |
---|
194 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
195 | <tr> |
---|
196 | <td class="mdRow"> |
---|
197 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
198 | <tr> |
---|
199 | <td class="md" nowrap valign="top"> typedef std::vector<unsigned short> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">Ogre::SubMesh::IndexMap</a> |
---|
200 | </table> |
---|
201 | </td> |
---|
202 | </tr> |
---|
203 | </table> |
---|
204 | <table cellspacing=5 cellpadding=0 border=0> |
---|
205 | <tr> |
---|
206 | <td> |
---|
207 | |
---|
208 | </td> |
---|
209 | <td> |
---|
210 | |
---|
211 | <p> |
---|
212 | Dedicated index map for translate blend index to bone index (only valid if useSharedVertices = false). |
---|
213 | <p> |
---|
214 | <dl compact><dt><b>Remarks:</b></dt><dd>This data is completely owned by this submesh. </dd></dl> |
---|
215 | <dl compact><dt><b></b></dt><dd>We collect actually used bones of all bone assignments, and build the blend index in 'packed' form, then the range of the blend index in vertex data VES_BLEND_INDICES element is continuous, with no gaps. Thus, by minimising the world matrix array constants passing to GPU, we can support more bones for a mesh when hardware skinning is used. The hardware skinning support limit is applied to each set of vertex data in the mesh, in other words, the hardware skinning support limit is applied only to the actually used bones of each SubMeshes, not all bones across the entire <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>. </dd></dl> |
---|
216 | <dl compact><dt><b></b></dt><dd>Because the blend index is different to the bone index, therefore, we use the index map to translate the blend index to bone index. </dd></dl> |
---|
217 | <dl compact><dt><b></b></dt><dd>The use of shared or non-shared index map is determined when model data is converted to the OGRE .mesh format. </dd></dl> |
---|
218 | |
---|
219 | <p> |
---|
220 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00100">100</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
221 | </tr> |
---|
222 | </table> |
---|
223 | <a class="anchor" name="Ogre_1_1SubMeshw1" doxytag="Ogre::SubMesh::VertexBoneAssignmentList" ></a><p> |
---|
224 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
225 | <tr> |
---|
226 | <td class="mdRow"> |
---|
227 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
228 | <tr> |
---|
229 | <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_1SubMeshw1">Ogre::SubMesh::VertexBoneAssignmentList</a> |
---|
230 | </table> |
---|
231 | </td> |
---|
232 | </tr> |
---|
233 | </table> |
---|
234 | <table cellspacing=5 cellpadding=0 border=0> |
---|
235 | <tr> |
---|
236 | <td> |
---|
237 | |
---|
238 | </td> |
---|
239 | <td> |
---|
240 | |
---|
241 | <p> |
---|
242 | Multimap of verex bone assignments (orders by vertex index). |
---|
243 | <p> |
---|
244 | |
---|
245 | <p> |
---|
246 | 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> |
---|
247 | </tr> |
---|
248 | </table> |
---|
249 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
250 | <a class="anchor" name="Ogre_1_1SubMesha0" doxytag="Ogre::SubMesh::SubMesh" ></a><p> |
---|
251 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
252 | <tr> |
---|
253 | <td class="mdRow"> |
---|
254 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
255 | <tr> |
---|
256 | <td class="md" nowrap valign="top"> Ogre::SubMesh::SubMesh </td> |
---|
257 | <td class="md" valign="top">( </td> |
---|
258 | <td class="mdname1" valign="top" nowrap> </td> |
---|
259 | <td class="md" valign="top"> ) </td> |
---|
260 | <td class="md" nowrap></td> |
---|
261 | </tr> |
---|
262 | |
---|
263 | </table> |
---|
264 | </td> |
---|
265 | </tr> |
---|
266 | </table> |
---|
267 | <table cellspacing=5 cellpadding=0 border=0> |
---|
268 | <tr> |
---|
269 | <td> |
---|
270 | |
---|
271 | </td> |
---|
272 | <td> |
---|
273 | |
---|
274 | <p> |
---|
275 | </td> |
---|
276 | </tr> |
---|
277 | </table> |
---|
278 | <a class="anchor" name="Ogre_1_1SubMesha1" doxytag="Ogre::SubMesh::~SubMesh" ></a><p> |
---|
279 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
280 | <tr> |
---|
281 | <td class="mdRow"> |
---|
282 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
283 | <tr> |
---|
284 | <td class="md" nowrap valign="top"> Ogre::SubMesh::~<a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> </td> |
---|
285 | <td class="md" valign="top">( </td> |
---|
286 | <td class="mdname1" valign="top" nowrap> </td> |
---|
287 | <td class="md" valign="top"> ) </td> |
---|
288 | <td class="md" nowrap></td> |
---|
289 | </tr> |
---|
290 | |
---|
291 | </table> |
---|
292 | </td> |
---|
293 | </tr> |
---|
294 | </table> |
---|
295 | <table cellspacing=5 cellpadding=0 border=0> |
---|
296 | <tr> |
---|
297 | <td> |
---|
298 | |
---|
299 | </td> |
---|
300 | <td> |
---|
301 | |
---|
302 | <p> |
---|
303 | </td> |
---|
304 | </tr> |
---|
305 | </table> |
---|
306 | <hr><h2>Member Function Documentation</h2> |
---|
307 | <a class="anchor" name="Ogre_1_1SubMesha9" doxytag="Ogre::SubMesh::_compileBoneAssignments" ></a><p> |
---|
308 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
309 | <tr> |
---|
310 | <td class="mdRow"> |
---|
311 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
312 | <tr> |
---|
313 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::_compileBoneAssignments </td> |
---|
314 | <td class="md" valign="top">( </td> |
---|
315 | <td class="md" nowrap valign="top">void </td> |
---|
316 | <td class="mdname1" valign="top" nowrap> </td> |
---|
317 | <td class="md" valign="top"> ) </td> |
---|
318 | <td class="md" nowrap></td> |
---|
319 | </tr> |
---|
320 | |
---|
321 | </table> |
---|
322 | </td> |
---|
323 | </tr> |
---|
324 | </table> |
---|
325 | <table cellspacing=5 cellpadding=0 border=0> |
---|
326 | <tr> |
---|
327 | <td> |
---|
328 | |
---|
329 | </td> |
---|
330 | <td> |
---|
331 | |
---|
332 | <p> |
---|
333 | Must be called once to compile bone assignments into geometry buffer. |
---|
334 | <p> |
---|
335 | </td> |
---|
336 | </tr> |
---|
337 | </table> |
---|
338 | <a class="anchor" name="Ogre_1_1SubMesha5" doxytag="Ogre::SubMesh::_getRenderOperation" ></a><p> |
---|
339 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
340 | <tr> |
---|
341 | <td class="mdRow"> |
---|
342 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
343 | <tr> |
---|
344 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::_getRenderOperation </td> |
---|
345 | <td class="md" valign="top">( </td> |
---|
346 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> & </td> |
---|
347 | <td class="mdname" nowrap> <em>rend</em>, </td> |
---|
348 | </tr> |
---|
349 | <tr> |
---|
350 | <td class="md" nowrap align="right"></td> |
---|
351 | <td></td> |
---|
352 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a467">ushort</a> </td> |
---|
353 | <td class="mdname" nowrap> <em>lodIndex</em> = 0</td> |
---|
354 | </tr> |
---|
355 | <tr> |
---|
356 | <td></td> |
---|
357 | <td class="md">) </td> |
---|
358 | <td class="md" colspan="2"></td> |
---|
359 | </tr> |
---|
360 | |
---|
361 | </table> |
---|
362 | </td> |
---|
363 | </tr> |
---|
364 | </table> |
---|
365 | <table cellspacing=5 cellpadding=0 border=0> |
---|
366 | <tr> |
---|
367 | <td> |
---|
368 | |
---|
369 | </td> |
---|
370 | <td> |
---|
371 | |
---|
372 | <p> |
---|
373 | Returns a <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure required to render this mesh. |
---|
374 | <p> |
---|
375 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
376 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
377 | <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> |
---|
378 | <tr><td valign=top><em>lodIndex</em> </td><td>The index of the LOD to use. </td></tr> |
---|
379 | </table> |
---|
380 | </dl> |
---|
381 | </td> |
---|
382 | </tr> |
---|
383 | </table> |
---|
384 | <a class="anchor" name="Ogre_1_1SubMesha6" doxytag="Ogre::SubMesh::addBoneAssignment" ></a><p> |
---|
385 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
386 | <tr> |
---|
387 | <td class="mdRow"> |
---|
388 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
389 | <tr> |
---|
390 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::addBoneAssignment </td> |
---|
391 | <td class="md" valign="top">( </td> |
---|
392 | <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1VertexBoneAssignment__s.html">VertexBoneAssignment</a> & </td> |
---|
393 | <td class="mdname1" valign="top" nowrap> <em>vertBoneAssign</em> </td> |
---|
394 | <td class="md" valign="top"> ) </td> |
---|
395 | <td class="md" nowrap></td> |
---|
396 | </tr> |
---|
397 | |
---|
398 | </table> |
---|
399 | </td> |
---|
400 | </tr> |
---|
401 | </table> |
---|
402 | <table cellspacing=5 cellpadding=0 border=0> |
---|
403 | <tr> |
---|
404 | <td> |
---|
405 | |
---|
406 | </td> |
---|
407 | <td> |
---|
408 | |
---|
409 | <p> |
---|
410 | Assigns a vertex to a bone with a given weight, for skeletal animation. |
---|
411 | <p> |
---|
412 | <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> |
---|
413 | <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> |
---|
414 | </td> |
---|
415 | </tr> |
---|
416 | </table> |
---|
417 | <a class="anchor" name="Ogre_1_1SubMesha11" doxytag="Ogre::SubMesh::addTextureAlias" ></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"> void Ogre::SubMesh::addTextureAlias </td> |
---|
424 | <td class="md" valign="top">( </td> |
---|
425 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
426 | <td class="mdname" nowrap> <em>aliasName</em>, </td> |
---|
427 | </tr> |
---|
428 | <tr> |
---|
429 | <td class="md" nowrap align="right"></td> |
---|
430 | <td></td> |
---|
431 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
432 | <td class="mdname" nowrap> <em>textureName</em></td> |
---|
433 | </tr> |
---|
434 | <tr> |
---|
435 | <td></td> |
---|
436 | <td class="md">) </td> |
---|
437 | <td class="md" colspan="2"></td> |
---|
438 | </tr> |
---|
439 | |
---|
440 | </table> |
---|
441 | </td> |
---|
442 | </tr> |
---|
443 | </table> |
---|
444 | <table cellspacing=5 cellpadding=0 border=0> |
---|
445 | <tr> |
---|
446 | <td> |
---|
447 | |
---|
448 | </td> |
---|
449 | <td> |
---|
450 | |
---|
451 | <p> |
---|
452 | Adds the alias or replaces an existing one and associates the texture name to it. |
---|
453 | <p> |
---|
454 | <dl compact><dt><b>Remarks:</b></dt><dd>The submesh uses the texture alias to replace textures used in the material applied to the submesh. </dd></dl> |
---|
455 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
456 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
457 | <tr><td valign=top><em>aliasName</em> </td><td>is the name of the alias. </td></tr> |
---|
458 | <tr><td valign=top><em>textureName</em> </td><td>is the name of the texture to be associated with the alias </td></tr> |
---|
459 | </table> |
---|
460 | </dl> |
---|
461 | </td> |
---|
462 | </tr> |
---|
463 | </table> |
---|
464 | <a class="anchor" name="Ogre_1_1SubMesha7" doxytag="Ogre::SubMesh::clearBoneAssignments" ></a><p> |
---|
465 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
466 | <tr> |
---|
467 | <td class="mdRow"> |
---|
468 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
469 | <tr> |
---|
470 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::clearBoneAssignments </td> |
---|
471 | <td class="md" valign="top">( </td> |
---|
472 | <td class="md" nowrap valign="top">void </td> |
---|
473 | <td class="mdname1" valign="top" nowrap> </td> |
---|
474 | <td class="md" valign="top"> ) </td> |
---|
475 | <td class="md" nowrap></td> |
---|
476 | </tr> |
---|
477 | |
---|
478 | </table> |
---|
479 | </td> |
---|
480 | </tr> |
---|
481 | </table> |
---|
482 | <table cellspacing=5 cellpadding=0 border=0> |
---|
483 | <tr> |
---|
484 | <td> |
---|
485 | |
---|
486 | </td> |
---|
487 | <td> |
---|
488 | |
---|
489 | <p> |
---|
490 | Removes all bone assignments for this mesh. |
---|
491 | <p> |
---|
492 | <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> |
---|
493 | </td> |
---|
494 | </tr> |
---|
495 | </table> |
---|
496 | <a class="anchor" name="Ogre_1_1SubMesha10" doxytag="Ogre::SubMesh::getAliasTextureIterator" ></a><p> |
---|
497 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
498 | <tr> |
---|
499 | <td class="mdRow"> |
---|
500 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
501 | <tr> |
---|
502 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ConstMapIterator.html">AliasTextureIterator</a> Ogre::SubMesh::getAliasTextureIterator </td> |
---|
503 | <td class="md" valign="top">( </td> |
---|
504 | <td class="md" nowrap valign="top">void </td> |
---|
505 | <td class="mdname1" valign="top" nowrap> </td> |
---|
506 | <td class="md" valign="top"> ) </td> |
---|
507 | <td class="md" nowrap> const</td> |
---|
508 | </tr> |
---|
509 | |
---|
510 | </table> |
---|
511 | </td> |
---|
512 | </tr> |
---|
513 | </table> |
---|
514 | <table cellspacing=5 cellpadding=0 border=0> |
---|
515 | <tr> |
---|
516 | <td> |
---|
517 | |
---|
518 | </td> |
---|
519 | <td> |
---|
520 | |
---|
521 | <p> |
---|
522 | Gets an constant iterator to access all texture alias names assigned to this submesh. |
---|
523 | <p> |
---|
524 | </td> |
---|
525 | </tr> |
---|
526 | </table> |
---|
527 | <a class="anchor" name="Ogre_1_1SubMesha8" doxytag="Ogre::SubMesh::getBoneAssignmentIterator" ></a><p> |
---|
528 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
529 | <tr> |
---|
530 | <td class="mdRow"> |
---|
531 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
532 | <tr> |
---|
533 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw2">BoneAssignmentIterator</a> Ogre::SubMesh::getBoneAssignmentIterator </td> |
---|
534 | <td class="md" valign="top">( </td> |
---|
535 | <td class="md" nowrap valign="top">void </td> |
---|
536 | <td class="mdname1" valign="top" nowrap> </td> |
---|
537 | <td class="md" valign="top"> ) </td> |
---|
538 | <td class="md" nowrap></td> |
---|
539 | </tr> |
---|
540 | |
---|
541 | </table> |
---|
542 | </td> |
---|
543 | </tr> |
---|
544 | </table> |
---|
545 | <table cellspacing=5 cellpadding=0 border=0> |
---|
546 | <tr> |
---|
547 | <td> |
---|
548 | |
---|
549 | </td> |
---|
550 | <td> |
---|
551 | |
---|
552 | <p> |
---|
553 | Gets an iterator for access all bone assignments. |
---|
554 | <p> |
---|
555 | <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> |
---|
556 | </td> |
---|
557 | </tr> |
---|
558 | </table> |
---|
559 | <a class="anchor" name="Ogre_1_1SubMesha3" doxytag="Ogre::SubMesh::getMaterialName" ></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"> const <a class="el" href="namespaceOgre.html#a471">String</a>& Ogre::SubMesh::getMaterialName </td> |
---|
566 | <td class="md" valign="top">( </td> |
---|
567 | <td class="md" nowrap valign="top">void </td> |
---|
568 | <td class="mdname1" valign="top" nowrap> </td> |
---|
569 | <td class="md" valign="top"> ) </td> |
---|
570 | <td class="md" nowrap> const</td> |
---|
571 | </tr> |
---|
572 | |
---|
573 | </table> |
---|
574 | </td> |
---|
575 | </tr> |
---|
576 | </table> |
---|
577 | <table cellspacing=5 cellpadding=0 border=0> |
---|
578 | <tr> |
---|
579 | <td> |
---|
580 | |
---|
581 | </td> |
---|
582 | <td> |
---|
583 | |
---|
584 | <p> |
---|
585 | </td> |
---|
586 | </tr> |
---|
587 | </table> |
---|
588 | <a class="anchor" name="Ogre_1_1SubMesha15" doxytag="Ogre::SubMesh::getTextureAliasCount" ></a><p> |
---|
589 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
590 | <tr> |
---|
591 | <td class="mdRow"> |
---|
592 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
593 | <tr> |
---|
594 | <td class="md" nowrap valign="top"> size_t Ogre::SubMesh::getTextureAliasCount </td> |
---|
595 | <td class="md" valign="top">( </td> |
---|
596 | <td class="md" nowrap valign="top">void </td> |
---|
597 | <td class="mdname1" valign="top" nowrap> </td> |
---|
598 | <td class="md" valign="top"> ) </td> |
---|
599 | <td class="md" nowrap> const</td> |
---|
600 | </tr> |
---|
601 | |
---|
602 | </table> |
---|
603 | </td> |
---|
604 | </tr> |
---|
605 | </table> |
---|
606 | <table cellspacing=5 cellpadding=0 border=0> |
---|
607 | <tr> |
---|
608 | <td> |
---|
609 | |
---|
610 | </td> |
---|
611 | <td> |
---|
612 | |
---|
613 | <p> |
---|
614 | Gets the number of texture aliases assigned to the sub mesh. |
---|
615 | <p> |
---|
616 | |
---|
617 | <p> |
---|
618 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00188">188</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
619 | </tr> |
---|
620 | </table> |
---|
621 | <a class="anchor" name="Ogre_1_1SubMesha17" doxytag="Ogre::SubMesh::getVertexAnimationType" ></a><p> |
---|
622 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
623 | <tr> |
---|
624 | <td class="mdRow"> |
---|
625 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
626 | <tr> |
---|
627 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a630">VertexAnimationType</a> Ogre::SubMesh::getVertexAnimationType </td> |
---|
628 | <td class="md" valign="top">( </td> |
---|
629 | <td class="md" nowrap valign="top">void </td> |
---|
630 | <td class="mdname1" valign="top" nowrap> </td> |
---|
631 | <td class="md" valign="top"> ) </td> |
---|
632 | <td class="md" nowrap> const</td> |
---|
633 | </tr> |
---|
634 | |
---|
635 | </table> |
---|
636 | </td> |
---|
637 | </tr> |
---|
638 | </table> |
---|
639 | <table cellspacing=5 cellpadding=0 border=0> |
---|
640 | <tr> |
---|
641 | <td> |
---|
642 | |
---|
643 | </td> |
---|
644 | <td> |
---|
645 | |
---|
646 | <p> |
---|
647 | Get the type of any vertex animation used by dedicated geometry. |
---|
648 | <p> |
---|
649 | </td> |
---|
650 | </tr> |
---|
651 | </table> |
---|
652 | <a class="anchor" name="Ogre_1_1SubMesha14" doxytag="Ogre::SubMesh::hasTextureAliases" ></a><p> |
---|
653 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
654 | <tr> |
---|
655 | <td class="mdRow"> |
---|
656 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
657 | <tr> |
---|
658 | <td class="md" nowrap valign="top"> bool Ogre::SubMesh::hasTextureAliases </td> |
---|
659 | <td class="md" valign="top">( </td> |
---|
660 | <td class="md" nowrap valign="top">void </td> |
---|
661 | <td class="mdname1" valign="top" nowrap> </td> |
---|
662 | <td class="md" valign="top"> ) </td> |
---|
663 | <td class="md" nowrap> const</td> |
---|
664 | </tr> |
---|
665 | |
---|
666 | </table> |
---|
667 | </td> |
---|
668 | </tr> |
---|
669 | </table> |
---|
670 | <table cellspacing=5 cellpadding=0 border=0> |
---|
671 | <tr> |
---|
672 | <td> |
---|
673 | |
---|
674 | </td> |
---|
675 | <td> |
---|
676 | |
---|
677 | <p> |
---|
678 | returns true if the sub mesh has texture aliases |
---|
679 | <p> |
---|
680 | |
---|
681 | <p> |
---|
682 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00185">185</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
683 | </tr> |
---|
684 | </table> |
---|
685 | <a class="anchor" name="Ogre_1_1SubMesha4" doxytag="Ogre::SubMesh::isMatInitialised" ></a><p> |
---|
686 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
687 | <tr> |
---|
688 | <td class="mdRow"> |
---|
689 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
690 | <tr> |
---|
691 | <td class="md" nowrap valign="top"> bool Ogre::SubMesh::isMatInitialised </td> |
---|
692 | <td class="md" valign="top">( </td> |
---|
693 | <td class="md" nowrap valign="top">void </td> |
---|
694 | <td class="mdname1" valign="top" nowrap> </td> |
---|
695 | <td class="md" valign="top"> ) </td> |
---|
696 | <td class="md" nowrap> const</td> |
---|
697 | </tr> |
---|
698 | |
---|
699 | </table> |
---|
700 | </td> |
---|
701 | </tr> |
---|
702 | </table> |
---|
703 | <table cellspacing=5 cellpadding=0 border=0> |
---|
704 | <tr> |
---|
705 | <td> |
---|
706 | |
---|
707 | </td> |
---|
708 | <td> |
---|
709 | |
---|
710 | <p> |
---|
711 | Returns true if a material has been assigned to the submesh, otherwise returns false. |
---|
712 | <p> |
---|
713 | </td> |
---|
714 | </tr> |
---|
715 | </table> |
---|
716 | <a class="anchor" name="Ogre_1_1SubMesha13" doxytag="Ogre::SubMesh::removeAllTextureAliases" ></a><p> |
---|
717 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
718 | <tr> |
---|
719 | <td class="mdRow"> |
---|
720 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
721 | <tr> |
---|
722 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::removeAllTextureAliases </td> |
---|
723 | <td class="md" valign="top">( </td> |
---|
724 | <td class="md" nowrap valign="top">void </td> |
---|
725 | <td class="mdname1" valign="top" nowrap> </td> |
---|
726 | <td class="md" valign="top"> ) </td> |
---|
727 | <td class="md" nowrap></td> |
---|
728 | </tr> |
---|
729 | |
---|
730 | </table> |
---|
731 | </td> |
---|
732 | </tr> |
---|
733 | </table> |
---|
734 | <table cellspacing=5 cellpadding=0 border=0> |
---|
735 | <tr> |
---|
736 | <td> |
---|
737 | |
---|
738 | </td> |
---|
739 | <td> |
---|
740 | |
---|
741 | <p> |
---|
742 | removes all texture aliases from the sub mesh |
---|
743 | <p> |
---|
744 | </td> |
---|
745 | </tr> |
---|
746 | </table> |
---|
747 | <a class="anchor" name="Ogre_1_1SubMeshb0" doxytag="Ogre::SubMesh::removeLodLevels" ></a><p> |
---|
748 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
749 | <tr> |
---|
750 | <td class="mdRow"> |
---|
751 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
752 | <tr> |
---|
753 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::removeLodLevels </td> |
---|
754 | <td class="md" valign="top">( </td> |
---|
755 | <td class="md" nowrap valign="top">void </td> |
---|
756 | <td class="mdname1" valign="top" nowrap> </td> |
---|
757 | <td class="md" valign="top"> ) </td> |
---|
758 | <td class="md" nowrap><code> [protected]</code></td> |
---|
759 | </tr> |
---|
760 | |
---|
761 | </table> |
---|
762 | </td> |
---|
763 | </tr> |
---|
764 | </table> |
---|
765 | <table cellspacing=5 cellpadding=0 border=0> |
---|
766 | <tr> |
---|
767 | <td> |
---|
768 | |
---|
769 | </td> |
---|
770 | <td> |
---|
771 | |
---|
772 | <p> |
---|
773 | Internal method for removing LOD data. |
---|
774 | <p> |
---|
775 | </td> |
---|
776 | </tr> |
---|
777 | </table> |
---|
778 | <a class="anchor" name="Ogre_1_1SubMesha12" doxytag="Ogre::SubMesh::removeTextureAlias" ></a><p> |
---|
779 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
780 | <tr> |
---|
781 | <td class="mdRow"> |
---|
782 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
783 | <tr> |
---|
784 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::removeTextureAlias </td> |
---|
785 | <td class="md" valign="top">( </td> |
---|
786 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
787 | <td class="mdname1" valign="top" nowrap> <em>aliasName</em> </td> |
---|
788 | <td class="md" valign="top"> ) </td> |
---|
789 | <td class="md" nowrap></td> |
---|
790 | </tr> |
---|
791 | |
---|
792 | </table> |
---|
793 | </td> |
---|
794 | </tr> |
---|
795 | </table> |
---|
796 | <table cellspacing=5 cellpadding=0 border=0> |
---|
797 | <tr> |
---|
798 | <td> |
---|
799 | |
---|
800 | </td> |
---|
801 | <td> |
---|
802 | |
---|
803 | <p> |
---|
804 | Remove a specific texture alias name from the sub mesh. |
---|
805 | <p> |
---|
806 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
807 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
808 | <tr><td valign=top><em>aliasName</em> </td><td>is the name of the alias to be removed. If it is not found then it is ignored. </td></tr> |
---|
809 | </table> |
---|
810 | </dl> |
---|
811 | </td> |
---|
812 | </tr> |
---|
813 | </table> |
---|
814 | <a class="anchor" name="Ogre_1_1SubMesha2" doxytag="Ogre::SubMesh::setMaterialName" ></a><p> |
---|
815 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
816 | <tr> |
---|
817 | <td class="mdRow"> |
---|
818 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
819 | <tr> |
---|
820 | <td class="md" nowrap valign="top"> void Ogre::SubMesh::setMaterialName </td> |
---|
821 | <td class="md" valign="top">( </td> |
---|
822 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
823 | <td class="mdname1" valign="top" nowrap> <em>matName</em> </td> |
---|
824 | <td class="md" valign="top"> ) </td> |
---|
825 | <td class="md" nowrap></td> |
---|
826 | </tr> |
---|
827 | |
---|
828 | </table> |
---|
829 | </td> |
---|
830 | </tr> |
---|
831 | </table> |
---|
832 | <table cellspacing=5 cellpadding=0 border=0> |
---|
833 | <tr> |
---|
834 | <td> |
---|
835 | |
---|
836 | </td> |
---|
837 | <td> |
---|
838 | |
---|
839 | <p> |
---|
840 | 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. |
---|
841 | <p> |
---|
842 | </td> |
---|
843 | </tr> |
---|
844 | </table> |
---|
845 | <a class="anchor" name="Ogre_1_1SubMesha16" doxytag="Ogre::SubMesh::updateMaterialUsingTextureAliases" ></a><p> |
---|
846 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
847 | <tr> |
---|
848 | <td class="mdRow"> |
---|
849 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
850 | <tr> |
---|
851 | <td class="md" nowrap valign="top"> bool Ogre::SubMesh::updateMaterialUsingTextureAliases </td> |
---|
852 | <td class="md" valign="top">( </td> |
---|
853 | <td class="md" nowrap valign="top">void </td> |
---|
854 | <td class="mdname1" valign="top" nowrap> </td> |
---|
855 | <td class="md" valign="top"> ) </td> |
---|
856 | <td class="md" nowrap></td> |
---|
857 | </tr> |
---|
858 | |
---|
859 | </table> |
---|
860 | </td> |
---|
861 | </tr> |
---|
862 | </table> |
---|
863 | <table cellspacing=5 cellpadding=0 border=0> |
---|
864 | <tr> |
---|
865 | <td> |
---|
866 | |
---|
867 | </td> |
---|
868 | <td> |
---|
869 | |
---|
870 | <p> |
---|
871 | The current material used by the submesh is copied into a new material and the submesh's texture aliases are applied if the current texture alias names match those found in the original material. |
---|
872 | <p> |
---|
873 | <dl compact><dt><b>Remarks:</b></dt><dd>The submesh's texture aliases must be setup prior to calling this method. If a new material has to be created, the subMesh autogenerates the new name. The new name is the old name + "_" + number. </dd></dl> |
---|
874 | <dl compact><dt><b>Returns:</b></dt><dd>True if texture aliases were applied and a new material was created. </dd></dl> |
---|
875 | </td> |
---|
876 | </tr> |
---|
877 | </table> |
---|
878 | <hr><h2>Friends And Related Function Documentation</h2> |
---|
879 | <a class="anchor" name="Ogre_1_1SubMeshn0" doxytag="Ogre::SubMesh::Mesh" ></a><p> |
---|
880 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
881 | <tr> |
---|
882 | <td class="mdRow"> |
---|
883 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
884 | <tr> |
---|
885 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1Mesh.html">Mesh</a><code> [friend]</code> |
---|
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 | |
---|
899 | <p> |
---|
900 | 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> |
---|
901 | </tr> |
---|
902 | </table> |
---|
903 | <a class="anchor" name="Ogre_1_1SubMeshn1" doxytag="Ogre::SubMesh::MeshSerializerImpl" ></a><p> |
---|
904 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
905 | <tr> |
---|
906 | <td class="mdRow"> |
---|
907 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
908 | <tr> |
---|
909 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1MeshSerializerImpl.html">MeshSerializerImpl</a><code> [friend]</code> |
---|
910 | </table> |
---|
911 | </td> |
---|
912 | </tr> |
---|
913 | </table> |
---|
914 | <table cellspacing=5 cellpadding=0 border=0> |
---|
915 | <tr> |
---|
916 | <td> |
---|
917 | |
---|
918 | </td> |
---|
919 | <td> |
---|
920 | |
---|
921 | <p> |
---|
922 | |
---|
923 | <p> |
---|
924 | 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> |
---|
925 | </tr> |
---|
926 | </table> |
---|
927 | <a class="anchor" name="Ogre_1_1SubMeshn3" doxytag="Ogre::SubMesh::MeshSerializerImpl_v1_1" ></a><p> |
---|
928 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
929 | <tr> |
---|
930 | <td class="mdRow"> |
---|
931 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
932 | <tr> |
---|
933 | <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> |
---|
934 | </table> |
---|
935 | </td> |
---|
936 | </tr> |
---|
937 | </table> |
---|
938 | <table cellspacing=5 cellpadding=0 border=0> |
---|
939 | <tr> |
---|
940 | <td> |
---|
941 | |
---|
942 | </td> |
---|
943 | <td> |
---|
944 | |
---|
945 | <p> |
---|
946 | |
---|
947 | <p> |
---|
948 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00057">57</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
949 | </tr> |
---|
950 | </table> |
---|
951 | <a class="anchor" name="Ogre_1_1SubMeshn2" doxytag="Ogre::SubMesh::MeshSerializerImpl_v1_2" ></a><p> |
---|
952 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
953 | <tr> |
---|
954 | <td class="mdRow"> |
---|
955 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
956 | <tr> |
---|
957 | <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> |
---|
958 | </table> |
---|
959 | </td> |
---|
960 | </tr> |
---|
961 | </table> |
---|
962 | <table cellspacing=5 cellpadding=0 border=0> |
---|
963 | <tr> |
---|
964 | <td> |
---|
965 | |
---|
966 | </td> |
---|
967 | <td> |
---|
968 | |
---|
969 | <p> |
---|
970 | |
---|
971 | <p> |
---|
972 | 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> |
---|
973 | </tr> |
---|
974 | </table> |
---|
975 | <hr><h2>Member Data Documentation</h2> |
---|
976 | <a class="anchor" name="Ogre_1_1SubMesho4" doxytag="Ogre::SubMesh::blendIndexToBoneIndexMap" ></a><p> |
---|
977 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
978 | <tr> |
---|
979 | <td class="mdRow"> |
---|
980 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
981 | <tr> |
---|
982 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw0">IndexMap</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho4">Ogre::SubMesh::blendIndexToBoneIndexMap</a> |
---|
983 | </table> |
---|
984 | </td> |
---|
985 | </tr> |
---|
986 | </table> |
---|
987 | <table cellspacing=5 cellpadding=0 border=0> |
---|
988 | <tr> |
---|
989 | <td> |
---|
990 | |
---|
991 | </td> |
---|
992 | <td> |
---|
993 | |
---|
994 | <p> |
---|
995 | |
---|
996 | <p> |
---|
997 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00101">101</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
998 | </tr> |
---|
999 | </table> |
---|
1000 | <a class="anchor" name="Ogre_1_1SubMesho3" doxytag="Ogre::SubMesh::indexData" ></a><p> |
---|
1001 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1002 | <tr> |
---|
1003 | <td class="mdRow"> |
---|
1004 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1005 | <tr> |
---|
1006 | <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> |
---|
1007 | </table> |
---|
1008 | </td> |
---|
1009 | </tr> |
---|
1010 | </table> |
---|
1011 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1012 | <tr> |
---|
1013 | <td> |
---|
1014 | |
---|
1015 | </td> |
---|
1016 | <td> |
---|
1017 | |
---|
1018 | <p> |
---|
1019 | Face index data. |
---|
1020 | <p> |
---|
1021 | |
---|
1022 | <p> |
---|
1023 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00079">79</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1024 | </tr> |
---|
1025 | </table> |
---|
1026 | <a class="anchor" name="Ogre_1_1SubMeshp3" doxytag="Ogre::SubMesh::mBoneAssignments" ></a><p> |
---|
1027 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1028 | <tr> |
---|
1029 | <td class="mdRow"> |
---|
1030 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1031 | <tr> |
---|
1032 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshw1">VertexBoneAssignmentList</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp3">Ogre::SubMesh::mBoneAssignments</a><code> [protected]</code> |
---|
1033 | </table> |
---|
1034 | </td> |
---|
1035 | </tr> |
---|
1036 | </table> |
---|
1037 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1038 | <tr> |
---|
1039 | <td> |
---|
1040 | |
---|
1041 | </td> |
---|
1042 | <td> |
---|
1043 | |
---|
1044 | <p> |
---|
1045 | |
---|
1046 | <p> |
---|
1047 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00217">217</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1048 | </tr> |
---|
1049 | </table> |
---|
1050 | <a class="anchor" name="Ogre_1_1SubMeshp4" doxytag="Ogre::SubMesh::mBoneAssignmentsOutOfDate" ></a><p> |
---|
1051 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1052 | <tr> |
---|
1053 | <td class="mdRow"> |
---|
1054 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1055 | <tr> |
---|
1056 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp4">Ogre::SubMesh::mBoneAssignmentsOutOfDate</a><code> [protected]</code> |
---|
1057 | </table> |
---|
1058 | </td> |
---|
1059 | </tr> |
---|
1060 | </table> |
---|
1061 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1062 | <tr> |
---|
1063 | <td> |
---|
1064 | |
---|
1065 | </td> |
---|
1066 | <td> |
---|
1067 | |
---|
1068 | <p> |
---|
1069 | Flag indicating that bone assignments need to be recompiled. |
---|
1070 | <p> |
---|
1071 | |
---|
1072 | <p> |
---|
1073 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00220">220</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1074 | </tr> |
---|
1075 | </table> |
---|
1076 | <a class="anchor" name="Ogre_1_1SubMesho5" doxytag="Ogre::SubMesh::mLodFaceList" ></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"> <a class="el" href="classOgre_1_1ProgressiveMesh.html#Ogre_1_1ProgressiveMeshw0">ProgressiveMesh::LODFaceList</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho5">Ogre::SubMesh::mLodFaceList</a> |
---|
1083 | </table> |
---|
1084 | </td> |
---|
1085 | </tr> |
---|
1086 | </table> |
---|
1087 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1088 | <tr> |
---|
1089 | <td> |
---|
1090 | |
---|
1091 | </td> |
---|
1092 | <td> |
---|
1093 | |
---|
1094 | <p> |
---|
1095 | |
---|
1096 | <p> |
---|
1097 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00103">103</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1098 | </tr> |
---|
1099 | </table> |
---|
1100 | <a class="anchor" name="Ogre_1_1SubMeshp0" doxytag="Ogre::SubMesh::mMaterialName" ></a><p> |
---|
1101 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1102 | <tr> |
---|
1103 | <td class="mdRow"> |
---|
1104 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1105 | <tr> |
---|
1106 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp0">Ogre::SubMesh::mMaterialName</a><code> [protected]</code> |
---|
1107 | </table> |
---|
1108 | </td> |
---|
1109 | </tr> |
---|
1110 | </table> |
---|
1111 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1112 | <tr> |
---|
1113 | <td> |
---|
1114 | |
---|
1115 | </td> |
---|
1116 | <td> |
---|
1117 | |
---|
1118 | <p> |
---|
1119 | Name of the material this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> uses. |
---|
1120 | <p> |
---|
1121 | |
---|
1122 | <p> |
---|
1123 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00209">209</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1124 | </tr> |
---|
1125 | </table> |
---|
1126 | <a class="anchor" name="Ogre_1_1SubMeshp1" doxytag="Ogre::SubMesh::mMatInitialised" ></a><p> |
---|
1127 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1128 | <tr> |
---|
1129 | <td class="mdRow"> |
---|
1130 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1131 | <tr> |
---|
1132 | <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> |
---|
1133 | </table> |
---|
1134 | </td> |
---|
1135 | </tr> |
---|
1136 | </table> |
---|
1137 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1138 | <tr> |
---|
1139 | <td> |
---|
1140 | |
---|
1141 | </td> |
---|
1142 | <td> |
---|
1143 | |
---|
1144 | <p> |
---|
1145 | Is there a material yet? |
---|
1146 | <p> |
---|
1147 | |
---|
1148 | <p> |
---|
1149 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00212">212</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1150 | </tr> |
---|
1151 | </table> |
---|
1152 | <a class="anchor" name="Ogre_1_1SubMeshp2" doxytag="Ogre::SubMesh::mTextureAliases" ></a><p> |
---|
1153 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1154 | <tr> |
---|
1155 | <td class="mdRow"> |
---|
1156 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1157 | <tr> |
---|
1158 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a77">AliasTextureNamePairList</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp2">Ogre::SubMesh::mTextureAliases</a><code> [protected]</code> |
---|
1159 | </table> |
---|
1160 | </td> |
---|
1161 | </tr> |
---|
1162 | </table> |
---|
1163 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1164 | <tr> |
---|
1165 | <td> |
---|
1166 | |
---|
1167 | </td> |
---|
1168 | <td> |
---|
1169 | |
---|
1170 | <p> |
---|
1171 | paired list of texture aliases and texture names |
---|
1172 | <p> |
---|
1173 | |
---|
1174 | <p> |
---|
1175 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00215">215</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1176 | </tr> |
---|
1177 | </table> |
---|
1178 | <a class="anchor" name="Ogre_1_1SubMeshp5" doxytag="Ogre::SubMesh::mVertexAnimationType" ></a><p> |
---|
1179 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1180 | <tr> |
---|
1181 | <td class="mdRow"> |
---|
1182 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1183 | <tr> |
---|
1184 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a630">VertexAnimationType</a> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshp5">Ogre::SubMesh::mVertexAnimationType</a><code> [mutable, protected]</code> |
---|
1185 | </table> |
---|
1186 | </td> |
---|
1187 | </tr> |
---|
1188 | </table> |
---|
1189 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1190 | <tr> |
---|
1191 | <td> |
---|
1192 | |
---|
1193 | </td> |
---|
1194 | <td> |
---|
1195 | |
---|
1196 | <p> |
---|
1197 | Type of vertex animation for dedicated vertex data (populated by <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>). |
---|
1198 | <p> |
---|
1199 | |
---|
1200 | <p> |
---|
1201 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00223">223</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1202 | </tr> |
---|
1203 | </table> |
---|
1204 | <a class="anchor" name="Ogre_1_1SubMesho1" doxytag="Ogre::SubMesh::operationType" ></a><p> |
---|
1205 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1206 | <tr> |
---|
1207 | <td class="mdRow"> |
---|
1208 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1209 | <tr> |
---|
1210 | <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> |
---|
1211 | </table> |
---|
1212 | </td> |
---|
1213 | </tr> |
---|
1214 | </table> |
---|
1215 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1216 | <tr> |
---|
1217 | <td> |
---|
1218 | |
---|
1219 | </td> |
---|
1220 | <td> |
---|
1221 | |
---|
1222 | <p> |
---|
1223 | The render operation type used to render this submesh. |
---|
1224 | <p> |
---|
1225 | |
---|
1226 | <p> |
---|
1227 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00067">67</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1228 | </tr> |
---|
1229 | </table> |
---|
1230 | <a class="anchor" name="Ogre_1_1SubMesho6" doxytag="Ogre::SubMesh::parent" ></a><p> |
---|
1231 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1232 | <tr> |
---|
1233 | <td class="mdRow"> |
---|
1234 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1235 | <tr> |
---|
1236 | <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_1SubMesho6">Ogre::SubMesh::parent</a> |
---|
1237 | </table> |
---|
1238 | </td> |
---|
1239 | </tr> |
---|
1240 | </table> |
---|
1241 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1242 | <tr> |
---|
1243 | <td> |
---|
1244 | |
---|
1245 | </td> |
---|
1246 | <td> |
---|
1247 | |
---|
1248 | <p> |
---|
1249 | Reference to parent <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> (not a smart pointer so child does not keep parent alive). |
---|
1250 | <p> |
---|
1251 | |
---|
1252 | <p> |
---|
1253 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00106">106</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1254 | </tr> |
---|
1255 | </table> |
---|
1256 | <a class="anchor" name="Ogre_1_1SubMesho0" doxytag="Ogre::SubMesh::useSharedVertices" ></a><p> |
---|
1257 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1258 | <tr> |
---|
1259 | <td class="mdRow"> |
---|
1260 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1261 | <tr> |
---|
1262 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesho0">Ogre::SubMesh::useSharedVertices</a> |
---|
1263 | </table> |
---|
1264 | </td> |
---|
1265 | </tr> |
---|
1266 | </table> |
---|
1267 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1268 | <tr> |
---|
1269 | <td> |
---|
1270 | |
---|
1271 | </td> |
---|
1272 | <td> |
---|
1273 | |
---|
1274 | <p> |
---|
1275 | Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices. |
---|
1276 | <p> |
---|
1277 | |
---|
1278 | <p> |
---|
1279 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00064">64</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1280 | </tr> |
---|
1281 | </table> |
---|
1282 | <a class="anchor" name="Ogre_1_1SubMesho2" doxytag="Ogre::SubMesh::vertexData" ></a><p> |
---|
1283 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1284 | <tr> |
---|
1285 | <td class="mdRow"> |
---|
1286 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1287 | <tr> |
---|
1288 | <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> |
---|
1289 | </table> |
---|
1290 | </td> |
---|
1291 | </tr> |
---|
1292 | </table> |
---|
1293 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1294 | <tr> |
---|
1295 | <td> |
---|
1296 | |
---|
1297 | </td> |
---|
1298 | <td> |
---|
1299 | |
---|
1300 | <p> |
---|
1301 | Dedicated vertex data (only valid if useSharedVertices = false). |
---|
1302 | <p> |
---|
1303 | <dl compact><dt><b>Remarks:</b></dt><dd>This data is completely owned by this submesh. </dd></dl> |
---|
1304 | <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> |
---|
1305 | |
---|
1306 | <p> |
---|
1307 | Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00076">76</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>. </td> |
---|
1308 | </tr> |
---|
1309 | </table> |
---|
1310 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
1311 | <li><a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a></ul> |
---|
1312 | <hr> |
---|
1313 | <p> |
---|
1314 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
1315 | <!--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/> |
---|
1316 | 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/> |
---|
1317 | <!--/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#"> |
---|
1318 | <Work rdf:about=""> |
---|
1319 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
1320 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
1321 | </Work> |
---|
1322 | <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> --> |
---|
1323 | |
---|
1324 | Last modified Sun Mar 12 14:45:06 2006 |
---|
1325 | </p> |
---|
1326 | </body> |
---|
1327 | </html> |
---|