Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 3047

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::SubMesh class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::SubMesh  Class Reference</h1>Defines a part of a complete mesh. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>&gt;</code>
<p>
Collaboration diagram for Ogre::SubMesh:<p><center><img src="classOgre_1_1SubMesh__coll__graph.png" border="0" usemap="#Ogre_1_1SubMesh__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1SubMesh__coll__map">
<area href="classOgre_1_1IndexData.html" shape="rect" coords="300,35,407,16" alt="">
<area href="classOgre_1_1VertexData.html" shape="rect" coords="17,133,132,115" alt="">
<area href="classOgre_1_1Mesh.html" shape="rect" coords="313,153,393,135" alt="">
<area href="classOgre_1_1String.html" shape="rect" coords="35,241,115,223" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1SubMesh-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef std::multimap&lt; size_t,<br>
 <a class="el" href="namespaceOgre.html#a443">VertexBoneAssignment</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs0">VertexBoneAssignmentList</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Multimap of verex bone assignments (orders by vertex index).</em> <a href="#Ogre_1_1SubMeshs0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt; <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs0">VertexBoneAssignmentList</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs1">BoneAssignmentIterator</a></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha0">SubMesh</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha1">~SubMesh</a> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha2">setMaterialName</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;matName)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>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.</em> <a href="#Ogre_1_1SubMesha2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha3">getMaterialName</a> (void) const</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha4">isMatInitialised</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if a material has been assigned to the submesh, otherwise returns false.</em> <a href="#Ogre_1_1SubMesha4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td 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> &amp;rend, <a class="el" href="namespaceOgre.html#a351">ushort</a> lodIndex=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns a <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure required to render this mesh.</em> <a href="#Ogre_1_1SubMesha5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha6">addBoneAssignment</a> (const <a class="el" href="namespaceOgre.html#a443">VertexBoneAssignment</a> &amp;vertBoneAssign)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Assigns a vertex to a bone with a given weight, for skeletal animation.</em> <a href="#Ogre_1_1SubMesha6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha7">clearBoneAssignments</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Removes all bone assignments for this mesh.</em> <a href="#Ogre_1_1SubMesha7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs1">BoneAssignmentIterator</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha8">getBoneAssignmentIterator</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets an iterator for access all bone assignments.</em> <a href="#Ogre_1_1SubMesha8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMesha9">_compileBoneAssignments</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Must be called once to compile bone assignments into geometry buffer.</em> <a href="#Ogre_1_1SubMesha9"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshm0">useSharedVertices</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.</em> <a href="#Ogre_1_1SubMeshm0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderOperation.html#Ogre_1_1RenderOperations6">RenderOperation::OperationType</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshm1">operationType</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The render operation type used to render this submesh.</em> <a href="#Ogre_1_1SubMeshm1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshm2">vertexData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Dedicated vertex data (only valid if useSharedVertices = false).</em> <a href="#Ogre_1_1SubMeshm2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshm3">indexData</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Face index data.</em> <a href="#Ogre_1_1SubMeshm3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1ProgressiveMesh.html#Ogre_1_1ProgressiveMeshs0">ProgressiveMesh::LODFaceList</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshm4">mLodFaceList</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Mesh.html">Mesh</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshm5">parent</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Reference to parent <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>.</em> <a href="#Ogre_1_1SubMeshm5"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshb0">removeLodLevels</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Internal method for removing LOD data.</em> <a href="#Ogre_1_1SubMeshb0"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn0">mMaterialName</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Name of the material this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> uses.</em> <a href="#Ogre_1_1SubMeshn0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn1">mMatInitialised</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Is there a material yet?</em> <a href="#Ogre_1_1SubMeshn1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs0">VertexBoneAssignmentList</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn2">mBoneAssignments</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshn3">mBoneAssignmentsOutOfDate</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Flag indicating that bone assignments need to be recompiled.</em> <a href="#Ogre_1_1SubMeshn3"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Friends</h2></td></tr>
<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshl0">Mesh</a></td></tr>
<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshl1">MeshSerializerImpl</a></td></tr>
<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshl2">MeshSerializerImpl_v1</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Defines a part of a complete mesh.
<p>
<dl compact><dt><b>
Remarks: </b><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. 
<p>
 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. </dl>
<p>

<p>
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>
<a name="Ogre_1_1SubMeshs1" doxytag="Ogre::SubMesh::BoneAssignmentIterator"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt;<a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs0">VertexBoneAssignmentList</a>&gt; Ogre::SubMesh::BoneAssignmentIterator
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00135">getBoneAssignmentIterator</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshs0" doxytag="Ogre::SubMesh::VertexBoneAssignmentList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::multimap&lt;size_t, <a class="el" href="namespaceOgre.html#a443">VertexBoneAssignment</a>&gt; Ogre::SubMesh::VertexBoneAssignmentList
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Multimap of verex bone assignments (orders by vertex index).
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00122">122</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1SubMesha0" doxytag="Ogre::SubMesh::SubMesh"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::SubMesh::SubMesh </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00034">34</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00077">indexData</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00145">mBoneAssignmentsOutOfDate</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00139">mMatInitialised</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00065">operationType</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00062">useSharedVertices</a>, and <a class="el" href="OgreSubMesh_8h-source.html#l00074">vertexData</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha1" doxytag="Ogre::SubMesh::~SubMesh"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::SubMesh::~SubMesh </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00045">45</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00077">indexData</a>, <a class="el" href="OgreSubMesh_8cpp-source.html#l00141">removeLodLevels</a>(), and <a class="el" href="OgreSubMesh_8h-source.html#l00074">vertexData</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1SubMesha9" doxytag="Ogre::SubMesh::_compileBoneAssignments"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SubMesh::_compileBoneAssignments </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Must be called once to compile bone assignments into geometry buffer.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00112">112</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreMesh_8cpp-source.html#l00419">Ogre::Mesh::_rationaliseBoneAssignments</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00575">Ogre::Mesh::compileBoneAssignmentsHardware</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00528">Ogre::Mesh::compileBoneAssignmentsSoftware</a>(), <a class="el" href="OgreSubMesh_8h-source.html#l00142">mBoneAssignments</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00145">mBoneAssignmentsOutOfDate</a>, <a class="el" href="OgreMesh_8h-source.html#l00150">Ogre::Mesh::mUseSoftwareBlending</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00082">parent</a>, <a class="el" href="OgreVertexIndexData_8h-source.html#l00052">Ogre::VertexData::vertexCount</a>, and <a class="el" href="OgreSubMesh_8h-source.html#l00074">vertexData</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha5" doxytag="Ogre::SubMesh::_getRenderOperation"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SubMesh::_getRenderOperation </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>rend</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a351">ushort</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>lodIndex</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure required to render this mesh.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rend</em>&nbsp;</td><td>
Reference to a <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure to populate. </td></tr>
<tr><td valign=top><em>lodIndex</em>&nbsp;</td><td>
The index of the LOD to use. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00074">74</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00077">indexData</a>, <a class="el" href="OgreRenderOperation_8h-source.html#l00066">Ogre::RenderOperation::indexData</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00079">mLodFaceList</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00065">operationType</a>, <a class="el" href="OgreRenderOperation_8h-source.html#l00057">Ogre::RenderOperation::operationType</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00082">parent</a>, <a class="el" href="OgreMesh_8h-source.html#l00224">Ogre::Mesh::sharedVertexData</a>, <a class="el" href="OgreRenderOperation_8h-source.html#l00063">Ogre::RenderOperation::useIndexes</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00062">useSharedVertices</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00115">Ogre::ushort</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00074">vertexData</a>, and <a class="el" href="OgreRenderOperation_8h-source.html#l00054">Ogre::RenderOperation::vertexData</a>.
<p>
Referenced by <a class="el" href="OgreSubEntity_8cpp-source.html#l00087">Ogre::SubEntity::getRenderOperation</a>(), and <a class="el" href="OgreNode_8cpp-source.html#l00548">Ogre::Node::getRenderOperation</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha6" doxytag="Ogre::SubMesh::addBoneAssignment"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SubMesh::addBoneAssignment </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a443">VertexBoneAssignment</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>vertBoneAssign</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Assigns a vertex to a bone with a given weight, for skeletal animation.
<p>
<dl compact><dt><b>
Remarks: </b><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. 
<p>
 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>. </dl>
<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00093">93</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00142">mBoneAssignments</a>, <a class="el" href="OgreSubMesh_8h-source.html#l00145">mBoneAssignmentsOutOfDate</a>, and <a class="el" href="OgreVertexBoneAssignment_8h-source.html#l00043">Ogre::VertexBoneAssignment_s::vertexIndex</a>.
<p>
Referenced by <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01649">Ogre::MeshSerializerImpl_v1::readSubMeshBoneAssignment</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00847">Ogre::MeshSerializerImpl::readSubMeshBoneAssignment</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha7" doxytag="Ogre::SubMesh::clearBoneAssignments"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SubMesh::clearBoneAssignments </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes all bone assignments for this mesh.
<p>

<p>
 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>. 
<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00105">105</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00142">mBoneAssignments</a>, and <a class="el" href="OgreSubMesh_8h-source.html#l00145">mBoneAssignmentsOutOfDate</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha8" doxytag="Ogre::SubMesh::getBoneAssignmentIterator"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs1">SubMesh::BoneAssignmentIterator</a> Ogre::SubMesh::getBoneAssignmentIterator </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets an iterator for access all bone assignments.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 Only valid if this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> has dedicated geometry. </dl>
<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00135">135</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00123">BoneAssignmentIterator</a>, and <a class="el" href="OgreSubMesh_8h-source.html#l00142">mBoneAssignments</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha3" doxytag="Ogre::SubMesh::getMaterialName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1String.html">String</a> &amp; Ogre::SubMesh::getMaterialName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00063">63</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00136">mMaterialName</a>.
<p>
Referenced by <a class="el" href="OgreEntity_8cpp-source.html#l00425">Ogre::Entity::buildSubEntityList</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00359">Ogre::MeshSerializerImpl::calcSubMeshSize</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00167">Ogre::MeshSerializerImpl::writeSubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha4" doxytag="Ogre::SubMesh::isMatInitialised"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::SubMesh::isMatInitialised </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if a material has been assigned to the submesh, otherwise returns false.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00068">68</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00139">mMatInitialised</a>.
<p>
Referenced by <a class="el" href="OgreEntity_8cpp-source.html#l00425">Ogre::Entity::buildSubEntityList</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshb0" doxytag="Ogre::SubMesh::removeLodLevels"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SubMesh::removeLodLevels </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method for removing LOD data.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00141">141</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00079">mLodFaceList</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00045">~SubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMesha2" doxytag="Ogre::SubMesh::setMaterialName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SubMesh::setMaterialName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>matName</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
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.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8cpp-source.html#l00057">57</a> of file <a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a>.
<p>
References <a class="el" href="OgreSubMesh_8h-source.html#l00136">mMaterialName</a>, and <a class="el" href="OgreSubMesh_8h-source.html#l00139">mMatInitialised</a>.
<p>
Referenced by <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01343">Ogre::MeshSerializerImpl_v1::readSubMesh</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00493">Ogre::MeshSerializerImpl::readSubMesh</a>().    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="Ogre_1_1SubMeshl0" doxytag="Ogre::SubMesh::Mesh"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend class Mesh<code> [friend]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>
  </tr>
</table>
<a name="Ogre_1_1SubMeshl1" doxytag="Ogre::SubMesh::MeshSerializerImpl"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend class MeshSerializerImpl<code> [friend]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>
  </tr>
</table>
<a name="Ogre_1_1SubMeshl2" doxytag="Ogre::SubMesh::MeshSerializerImpl_v1"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend class MeshSerializerImpl_v1<code> [friend]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1SubMeshm3" doxytag="Ogre::SubMesh::indexData"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1IndexData.html">IndexData</a>* Ogre::SubMesh::indexData
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Face index data.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00077">77</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00074">_getRenderOperation</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00907">Ogre::Mesh::buildTangentVectors</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00359">Ogre::MeshSerializerImpl::calcSubMeshSize</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), <a class="el" href="OgreMeshManager_8cpp-source.html#l00683">Ogre::MeshManager::createPrefabPlane</a>(), <a class="el" href="OgrePatchMesh_8cpp-source.html#l00064">Ogre::PatchMesh::load</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01343">Ogre::MeshSerializerImpl_v1::readSubMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00493">Ogre::MeshSerializerImpl::readSubMesh</a>(), <a class="el" href="OgrePatchMesh_8cpp-source.html#l00056">Ogre::PatchMesh::setSubdivision</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00034">SubMesh</a>(), <a class="el" href="OgreMeshManager_8cpp-source.html#l00597">Ogre::MeshManager::tesselate2DMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00167">Ogre::MeshSerializerImpl::writeSubMesh</a>(), and <a class="el" href="OgreSubMesh_8cpp-source.html#l00045">~SubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshn2" doxytag="Ogre::SubMesh::mBoneAssignments"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SubMesh.html#Ogre_1_1SubMeshs0">VertexBoneAssignmentList</a> Ogre::SubMesh::mBoneAssignments<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00142">142</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00112">_compileBoneAssignments</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00093">addBoneAssignment</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00105">clearBoneAssignments</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00135">getBoneAssignmentIterator</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00167">Ogre::MeshSerializerImpl::writeSubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshn3" doxytag="Ogre::SubMesh::mBoneAssignmentsOutOfDate"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::SubMesh::mBoneAssignmentsOutOfDate<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Flag indicating that bone assignments need to be recompiled.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00145">145</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00112">_compileBoneAssignments</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00093">addBoneAssignment</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00105">clearBoneAssignments</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), and <a class="el" href="OgreSubMesh_8cpp-source.html#l00034">SubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshm4" doxytag="Ogre::SubMesh::mLodFaceList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ProgressiveMesh.html#Ogre_1_1ProgressiveMeshs0">ProgressiveMesh::LODFaceList</a> Ogre::SubMesh::mLodFaceList
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00074">_getRenderOperation</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00807">Ogre::Mesh::_setSubMeshLodFaceList</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01078">Ogre::MeshSerializerImpl::readMeshLodInfo</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01665">Ogre::MeshSerializerImpl_v1::readMeshLodUsageGenerated</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01145">Ogre::MeshSerializerImpl::readMeshLodUsageGenerated</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00141">removeLodLevels</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00944">Ogre::MeshSerializerImpl::writeLodUsageGenerated</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshn0" doxytag="Ogre::SubMesh::mMaterialName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> Ogre::SubMesh::mMaterialName<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Name of the material this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> uses.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00136">136</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00063">getMaterialName</a>(), and <a class="el" href="OgreSubMesh_8cpp-source.html#l00057">setMaterialName</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshn1" doxytag="Ogre::SubMesh::mMatInitialised"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::SubMesh::mMatInitialised<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Is there a material yet?
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00139">139</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00068">isMatInitialised</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00057">setMaterialName</a>(), and <a class="el" href="OgreSubMesh_8cpp-source.html#l00034">SubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshm1" doxytag="Ogre::SubMesh::operationType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RenderOperation.html#Ogre_1_1RenderOperations6">RenderOperation::OperationType</a> Ogre::SubMesh::operationType
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The render operation type used to render this submesh.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00065">65</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00074">_getRenderOperation</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00594">Ogre::MeshSerializerImpl::readSubMeshOperation</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00034">SubMesh</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00227">Ogre::MeshSerializerImpl::writeSubMeshOperation</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshm5" doxytag="Ogre::SubMesh::parent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>* Ogre::SubMesh::parent
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Reference to parent <a class="el" href="classOgre_1_1Mesh.html">Mesh</a>.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00082">82</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00112">_compileBoneAssignments</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00074">_getRenderOperation</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), and <a class="el" href="OgreMesh_8cpp-source.html#l00082">Ogre::Mesh::createSubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshm0" doxytag="Ogre::SubMesh::useSharedVertices"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::SubMesh::useSharedVertices
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.
<p>

<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00062">62</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00074">_getRenderOperation</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00907">Ogre::Mesh::buildTangentVectors</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00359">Ogre::MeshSerializerImpl::calcSubMeshSize</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), <a class="el" href="OgreMeshManager_8cpp-source.html#l00408">Ogre::MeshManager::createCurvedIllusionPlane</a>(), <a class="el" href="OgreMeshManager_8cpp-source.html#l00097">Ogre::MeshManager::createPlane</a>(), <a class="el" href="OgreMeshManager_8cpp-source.html#l00683">Ogre::MeshManager::createPrefabPlane</a>(), <a class="el" href="OgrePatchMesh_8cpp-source.html#l00064">Ogre::PatchMesh::load</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01343">Ogre::MeshSerializerImpl_v1::readSubMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00493">Ogre::MeshSerializerImpl::readSubMesh</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00034">SubMesh</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00167">Ogre::MeshSerializerImpl::writeSubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SubMeshm2" doxytag="Ogre::SubMesh::vertexData"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VertexData.html">VertexData</a>* Ogre::SubMesh::vertexData
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Dedicated vertex data (only valid if useSharedVertices = false).
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This data is completely owned by this submesh. 
<p>
 The use of shared or non-shared buffers is determined when model data is converted to the OGRE .mesh format. </dl>
<p>
Definition at line <a class="el" href="OgreSubMesh_8h-source.html#l00074">74</a> of file <a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a>.
<p>
Referenced by <a class="el" href="OgreSubMesh_8cpp-source.html#l00112">_compileBoneAssignments</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00074">_getRenderOperation</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00907">Ogre::Mesh::buildTangentVectors</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00359">Ogre::MeshSerializerImpl::calcSubMeshSize</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00193">Ogre::Mesh::clone</a>(), <a class="el" href="OgrePatchMesh_8cpp-source.html#l00064">Ogre::PatchMesh::load</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01343">Ogre::MeshSerializerImpl_v1::readSubMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00493">Ogre::MeshSerializerImpl::readSubMesh</a>(), <a class="el" href="OgreSubMesh_8cpp-source.html#l00034">SubMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00167">Ogre::MeshSerializerImpl::writeSubMesh</a>(), and <a class="el" href="OgreSubMesh_8cpp-source.html#l00045">~SubMesh</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreSubMesh_8h-source.html">OgreSubMesh.h</a><li><a class="el" href="OgreSubMesh_8cpp-source.html">OgreSubMesh.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:20:56 2004
</p>
</body>
</html>