source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html @ 692

Revision 692, 9.4 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>Ogre::StaticGeometry::OptimisedSubMeshGeometry class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::StaticGeometry::OptimisedSubMeshGeometry Class Reference</h1>Struct holding geometry optimised per <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> / lod level, ready for copying to instances. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>&gt;</code>
14<p>
15<a href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry-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 Member Functions</h2></td></tr>
18<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html#Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometrya0">OptimisedSubMeshGeometry</a> ()</td></tr>
19
20<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html#Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometrya1">~OptimisedSubMeshGeometry</a> ()</td></tr>
21
22<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
23<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html#Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometryo0">vertexData</a></td></tr>
24
25<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html#Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometryo1">indexData</a></td></tr>
26
27</table>
28<hr><a name="_details"></a><h2>Detailed Description</h2>
29Struct holding geometry optimised per <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> / lod level, ready for copying to instances.
30<p>
31<dl compact><dt><b>Remarks:</b></dt><dd>Since we're going to be duplicating geometry lots of times, it's far more important that we don't have redundant vertex data. If a <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> uses shared geometry, or we're looking at a lower LOD, not all the vertices are being referenced by faces on that submesh. Therefore to duplicate them, potentially hundreds or even thousands of times, would be extremely wasteful. Therefore, if a <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> at a given LOD has wastage, we create an optimised version of it's geometry which is ready for copying with no wastage.</dd></dl>
32
33<p>
34
35<p>
36Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00121">121</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
37<a class="anchor" name="Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometrya0" doxytag="Ogre::StaticGeometry::OptimisedSubMeshGeometry::OptimisedSubMeshGeometry" ></a><p>
38<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
39  <tr>
40    <td class="mdRow">
41      <table cellpadding="0" cellspacing="0" border="0">
42        <tr>
43          <td class="md" nowrap valign="top"> Ogre::StaticGeometry::OptimisedSubMeshGeometry::OptimisedSubMeshGeometry </td>
44          <td class="md" valign="top">(&nbsp;</td>
45          <td class="mdname1" valign="top" nowrap>          </td>
46          <td class="md" valign="top">&nbsp;)&nbsp;</td>
47          <td class="md" nowrap></td>
48        </tr>
49
50      </table>
51    </td>
52  </tr>
53</table>
54<table cellspacing=5 cellpadding=0 border=0>
55  <tr>
56    <td>
57      &nbsp;
58    </td>
59    <td>
60
61<p>
62
63<p>
64Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00124">124</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
65  </tr>
66</table>
67<a class="anchor" name="Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometrya1" doxytag="Ogre::StaticGeometry::OptimisedSubMeshGeometry::~OptimisedSubMeshGeometry" ></a><p>
68<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
69  <tr>
70    <td class="mdRow">
71      <table cellpadding="0" cellspacing="0" border="0">
72        <tr>
73          <td class="md" nowrap valign="top"> Ogre::StaticGeometry::OptimisedSubMeshGeometry::~<a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html">OptimisedSubMeshGeometry</a> </td>
74          <td class="md" valign="top">(&nbsp;</td>
75          <td class="mdname1" valign="top" nowrap>          </td>
76          <td class="md" valign="top">&nbsp;)&nbsp;</td>
77          <td class="md" nowrap></td>
78        </tr>
79
80      </table>
81    </td>
82  </tr>
83</table>
84<table cellspacing=5 cellpadding=0 border=0>
85  <tr>
86    <td>
87      &nbsp;
88    </td>
89    <td>
90
91<p>
92
93<p>
94Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00125">125</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
95  </tr>
96</table>
97<hr><h2>Member Data Documentation</h2>
98<a class="anchor" name="Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometryo1" doxytag="Ogre::StaticGeometry::OptimisedSubMeshGeometry::indexData" ></a><p>
99<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
100  <tr>
101    <td class="mdRow">
102      <table cellpadding="0" cellspacing="0" border="0">
103        <tr>
104          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1IndexData.html">IndexData</a>* <a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html#Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometryo1">Ogre::StaticGeometry::OptimisedSubMeshGeometry::indexData</a>
105      </table>
106    </td>
107  </tr>
108</table>
109<table cellspacing=5 cellpadding=0 border=0>
110  <tr>
111    <td>
112      &nbsp;
113    </td>
114    <td>
115
116<p>
117
118<p>
119Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00131">131</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
120  </tr>
121</table>
122<a class="anchor" name="Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometryo0" doxytag="Ogre::StaticGeometry::OptimisedSubMeshGeometry::vertexData" ></a><p>
123<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
124  <tr>
125    <td class="mdRow">
126      <table cellpadding="0" cellspacing="0" border="0">
127        <tr>
128          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VertexData.html">VertexData</a>* <a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html#Ogre_1_1StaticGeometry_1_1OptimisedSubMeshGeometryo0">Ogre::StaticGeometry::OptimisedSubMeshGeometry::vertexData</a>
129      </table>
130    </td>
131  </tr>
132</table>
133<table cellspacing=5 cellpadding=0 border=0>
134  <tr>
135    <td>
136      &nbsp;
137    </td>
138    <td>
139
140<p>
141
142<p>
143Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00130">130</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
144  </tr>
145</table>
146<hr>The documentation for this class was generated from the following file:<ul>
147<li><a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a></ul>
148<hr>
149<p>
150Copyright &copy; 2000-2005 by The OGRE Team<br />
151<!--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/>
152This 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/>
153                <!--/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#">
154                <Work rdf:about="">
155                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
156        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
157                </Work>
158                <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> -->
159
160Last modified Sun Mar 12 14:44:54 2006
161</p>
162</body>
163</html>
Note: See TracBrowser for help on using the repository browser.