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

Revision 692, 51.4 KB checked in by mattausch, 18 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>Ogre::D3D9VertexDeclaration 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::D3D9VertexDeclaration Class Reference</h1>Specialisation of <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> for D3D9. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreD3D9VertexDeclaration_8h-source.html">OgreD3D9VertexDeclaration.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::D3D9VertexDeclaration:
16<p><center><img src="classOgre_1_1D3D9VertexDeclaration.png" usemap="#Ogre::D3D9VertexDeclaration_map" border="0" alt=""></center>
17<map name="Ogre::D3D9VertexDeclaration_map">
18<area href="classOgre_1_1VertexDeclaration.html" alt="Ogre::VertexDeclaration" shape="rect" coords="0,0,181,24">
19</map>
20<a href="classOgre_1_1D3D9VertexDeclaration-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
21<tr><td></td></tr>
22<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
23<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">VertexElementList</a></td></tr>
24
25<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Defines the list of vertex elements that makes up this declaration.  <a href="#Ogre_1_1VertexDeclarationw0"></a><br><br></td></tr>
26<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
27<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa0">D3D9VertexDeclaration</a> (LPDIRECT3DDEVICE9 device)</td></tr>
28
29<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa1">~D3D9VertexDeclaration</a> ()</td></tr>
30
31<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa2">addElement</a> (unsigned short source, size_t offset, <a class="el" href="namespaceOgre.html#a660">VertexElementType</a> theType, <a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a> semantic, unsigned short index=0)</td></tr>
32
33<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.  <a href="#Ogre_1_1D3D9VertexDeclarationa2"></a><br><br></td></tr>
34<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa3">insertElement</a> (unsigned short atPosition, unsigned short source, size_t offset, <a class="el" href="namespaceOgre.html#a660">VertexElementType</a> theType, <a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a> semantic, unsigned short index=0)</td></tr>
35
36<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.  <a href="#Ogre_1_1D3D9VertexDeclarationa3"></a><br><br></td></tr>
37<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa4">removeElement</a> (unsigned short elem_index)</td></tr>
38
39<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.  <a href="#Ogre_1_1D3D9VertexDeclarationa4"></a><br><br></td></tr>
40<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa5">removeElement</a> (<a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a> semantic, unsigned short index=0)</td></tr>
41
42<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.  <a href="#Ogre_1_1D3D9VertexDeclarationa5"></a><br><br></td></tr>
43<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa6">removeAllElements</a> (void)</td></tr>
44
45<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.  <a href="#Ogre_1_1D3D9VertexDeclarationa6"></a><br><br></td></tr>
46<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa7">modifyElement</a> (unsigned short elem_index, unsigned short source, size_t offset, <a class="el" href="namespaceOgre.html#a660">VertexElementType</a> theType, <a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a> semantic, unsigned short index=0)</td></tr>
47
48<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.  <a href="#Ogre_1_1D3D9VertexDeclarationa7"></a><br><br></td></tr>
49<tr><td class="memItemLeft" nowrap align=right valign=top>LPDIRECT3DVERTEXDECLARATION9&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationa8">getD3DVertexDeclaration</a> (void)</td></tr>
50
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the D3D9-specific vertex declaration.  <a href="#Ogre_1_1D3D9VertexDeclarationa8"></a><br><br></td></tr>
52<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa2">getElementCount</a> (void)</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of elements in the declaration.  <a href="#Ogre_1_1VertexDeclarationa2"></a><br><br></td></tr>
55<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">VertexElementList</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa3">getElements</a> (void) const </td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets read-only access to the list of vertex elements.  <a href="#Ogre_1_1VertexDeclarationa3"></a><br><br></td></tr>
58<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa4">getElement</a> (unsigned short index)</td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a single element.  <a href="#Ogre_1_1VertexDeclarationa4"></a><br><br></td></tr>
61<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa5">sort</a> (void)</td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sorts the elements in this list to be compatible with the maximum number of rendering APIs / graphics cards.  <a href="#Ogre_1_1VertexDeclarationa5"></a><br><br></td></tr>
64<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa6">closeGapsInSource</a> (void)</td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove any gaps in the source buffer list used by this declaration.  <a href="#Ogre_1_1VertexDeclarationa6"></a><br><br></td></tr>
67<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa7">getAutoOrganisedDeclaration</a> (bool skeletalAnimation, bool vertexAnimation)</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generates a new <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> for optimal usage based on the current vertex declaration, which can be used with <a class="el" href="classOgre_1_1VertexData.html#Ogre_1_1VertexDataa4">VertexData::reorganiseBuffers</a> later if you wish, or simply used as a template.  <a href="#Ogre_1_1VertexDeclarationa7"></a><br><br></td></tr>
70<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa8">getMaxSource</a> (void) const </td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the indeex of the highest source value referenced by this declaration.  <a href="#Ogre_1_1VertexDeclarationa8"></a><br><br></td></tr>
73<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa15">findElementBySemantic</a> (<a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a> sem, unsigned short index=0)</td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Finds a <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> with the given semantic, and index if there is more than one element with the same semantic.  <a href="#Ogre_1_1VertexDeclarationa15"></a><br><br></td></tr>
76<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">VertexElementList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa16">findElementsBySource</a> (unsigned short source)</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a list of elements which use a given source.  <a href="#Ogre_1_1VertexDeclarationa16"></a><br><br></td></tr>
79<tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa17">getVertexSize</a> (unsigned short source)</td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the vertex size defined by this declaration for a given source.  <a href="#Ogre_1_1VertexDeclarationa17"></a><br><br></td></tr>
82<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa18">clone</a> (void)</td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clones this declaration.  <a href="#Ogre_1_1VertexDeclarationa18"></a><br><br></td></tr>
85<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa19">operator==</a> (const <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> &amp;rhs) const </td></tr>
86
87<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa20">operator!=</a> (const <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> &amp;rhs) const </td></tr>
88
89<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
90<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclaratione0">vertexElementLess</a> (const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &amp;e1, const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &amp;e2)</td></tr>
91
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sort routine for vertex elements.  <a href="#Ogre_1_1VertexDeclaratione0"></a><br><br></td></tr>
93<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top>LPDIRECT3DDEVICE9&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationp0">mlpD3DDevice</a></td></tr>
95
96<tr><td class="memItemLeft" nowrap align=right valign=top>LPDIRECT3DVERTEXDECLARATION9&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationp1">mlpD3DDecl</a></td></tr>
97
98<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationp2">mNeedsRebuild</a></td></tr>
99
100<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">VertexElementList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationp0">mElementList</a></td></tr>
101
102</table>
103<hr><a name="_details"></a><h2>Detailed Description</h2>
104Specialisation of <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> for D3D9.
105<p>
106
107<p>
108Definition at line <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html#l00034">34</a> of file <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html">OgreD3D9VertexDeclaration.h</a>.<hr><h2>Member Typedef Documentation</h2>
109<a class="anchor" name="Ogre_1_1VertexDeclarationw0" doxytag="Ogre::D3D9VertexDeclaration::VertexElementList" ></a><p>
110<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
111  <tr>
112    <td class="mdRow">
113      <table cellpadding="0" cellspacing="0" border="0">
114        <tr>
115          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a>&gt; <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">Ogre::VertexDeclaration::VertexElementList</a><code> [inherited]</code>
116      </table>
117    </td>
118  </tr>
119</table>
120<table cellspacing=5 cellpadding=0 border=0>
121  <tr>
122    <td>
123      &nbsp;
124    </td>
125    <td>
126
127<p>
128Defines the list of vertex elements that makes up this declaration.
129<p>
130
131<p>
132Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00291">291</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>.    </td>
133  </tr>
134</table>
135<hr><h2>Constructor &amp; Destructor Documentation</h2>
136<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa0" doxytag="Ogre::D3D9VertexDeclaration::D3D9VertexDeclaration" ></a><p>
137<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
138  <tr>
139    <td class="mdRow">
140      <table cellpadding="0" cellspacing="0" border="0">
141        <tr>
142          <td class="md" nowrap valign="top"> Ogre::D3D9VertexDeclaration::D3D9VertexDeclaration </td>
143          <td class="md" valign="top">(&nbsp;</td>
144          <td class="md" nowrap valign="top">LPDIRECT3DDEVICE9&nbsp;</td>
145          <td class="mdname1" valign="top" nowrap> <em>device</em>          </td>
146          <td class="md" valign="top">&nbsp;)&nbsp;</td>
147          <td class="md" nowrap></td>
148        </tr>
149
150      </table>
151    </td>
152  </tr>
153</table>
154<table cellspacing=5 cellpadding=0 border=0>
155  <tr>
156    <td>
157      &nbsp;
158    </td>
159    <td>
160
161<p>
162    </td>
163  </tr>
164</table>
165<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa1" doxytag="Ogre::D3D9VertexDeclaration::~D3D9VertexDeclaration" ></a><p>
166<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
167  <tr>
168    <td class="mdRow">
169      <table cellpadding="0" cellspacing="0" border="0">
170        <tr>
171          <td class="md" nowrap valign="top"> Ogre::D3D9VertexDeclaration::~<a class="el" href="classOgre_1_1D3D9VertexDeclaration.html">D3D9VertexDeclaration</a> </td>
172          <td class="md" valign="top">(&nbsp;</td>
173          <td class="mdname1" valign="top" nowrap>          </td>
174          <td class="md" valign="top">&nbsp;)&nbsp;</td>
175          <td class="md" nowrap></td>
176        </tr>
177
178      </table>
179    </td>
180  </tr>
181</table>
182<table cellspacing=5 cellpadding=0 border=0>
183  <tr>
184    <td>
185      &nbsp;
186    </td>
187    <td>
188
189<p>
190    </td>
191  </tr>
192</table>
193<hr><h2>Member Function Documentation</h2>
194<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa2" doxytag="Ogre::D3D9VertexDeclaration::addElement" ></a><p>
195<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
196  <tr>
197    <td class="mdRow">
198      <table cellpadding="0" cellspacing="0" border="0">
199        <tr>
200          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a>&amp; Ogre::D3D9VertexDeclaration::addElement </td>
201          <td class="md" valign="top">(&nbsp;</td>
202          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
203          <td class="mdname" nowrap> <em>source</em>, </td>
204        </tr>
205        <tr>
206          <td class="md" nowrap align="right"></td>
207          <td></td>
208          <td class="md" nowrap>size_t&nbsp;</td>
209          <td class="mdname" nowrap> <em>offset</em>, </td>
210        </tr>
211        <tr>
212          <td class="md" nowrap align="right"></td>
213          <td></td>
214          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a660">VertexElementType</a>&nbsp;</td>
215          <td class="mdname" nowrap> <em>theType</em>, </td>
216        </tr>
217        <tr>
218          <td class="md" nowrap align="right"></td>
219          <td></td>
220          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a>&nbsp;</td>
221          <td class="mdname" nowrap> <em>semantic</em>, </td>
222        </tr>
223        <tr>
224          <td class="md" nowrap align="right"></td>
225          <td></td>
226          <td class="md" nowrap>unsigned short&nbsp;</td>
227          <td class="mdname" nowrap> <em>index</em> = 0</td>
228        </tr>
229        <tr>
230          <td></td>
231          <td class="md">)&nbsp;</td>
232          <td class="md" colspan="2"><code> [virtual]</code></td>
233        </tr>
234
235      </table>
236    </td>
237  </tr>
238</table>
239<table cellspacing=5 cellpadding=0 border=0>
240  <tr>
241    <td>
242      &nbsp;
243    </td>
244    <td>
245
246<p>
247See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.
248<p>
249
250<p>
251Reimplemented from <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa9">Ogre::VertexDeclaration</a>.    </td>
252  </tr>
253</table>
254<a class="anchor" name="Ogre_1_1VertexDeclarationa18" doxytag="Ogre::D3D9VertexDeclaration::clone" ></a><p>
255<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
256  <tr>
257    <td class="mdRow">
258      <table cellpadding="0" cellspacing="0" border="0">
259        <tr>
260          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>* Ogre::VertexDeclaration::clone </td>
261          <td class="md" valign="top">(&nbsp;</td>
262          <td class="md" nowrap valign="top">void&nbsp;</td>
263          <td class="mdname1" valign="top" nowrap>          </td>
264          <td class="md" valign="top">&nbsp;)&nbsp;</td>
265          <td class="md" nowrap><code> [virtual, inherited]</code></td>
266        </tr>
267
268      </table>
269    </td>
270  </tr>
271</table>
272<table cellspacing=5 cellpadding=0 border=0>
273  <tr>
274    <td>
275      &nbsp;
276    </td>
277    <td>
278
279<p>
280Clones this declaration.
281<p>
282    </td>
283  </tr>
284</table>
285<a class="anchor" name="Ogre_1_1VertexDeclarationa6" doxytag="Ogre::D3D9VertexDeclaration::closeGapsInSource" ></a><p>
286<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
287  <tr>
288    <td class="mdRow">
289      <table cellpadding="0" cellspacing="0" border="0">
290        <tr>
291          <td class="md" nowrap valign="top"> void Ogre::VertexDeclaration::closeGapsInSource </td>
292          <td class="md" valign="top">(&nbsp;</td>
293          <td class="md" nowrap valign="top">void&nbsp;</td>
294          <td class="mdname1" valign="top" nowrap>          </td>
295          <td class="md" valign="top">&nbsp;)&nbsp;</td>
296          <td class="md" nowrap><code> [inherited]</code></td>
297        </tr>
298
299      </table>
300    </td>
301  </tr>
302</table>
303<table cellspacing=5 cellpadding=0 border=0>
304  <tr>
305    <td>
306      &nbsp;
307    </td>
308    <td>
309
310<p>
311Remove any gaps in the source buffer list used by this declaration.
312<p>
313<dl compact><dt><b>Remarks:</b></dt><dd>This is useful if you've modified a declaration and want to remove any gaps in the list of buffers being used. Note, however, that if this declaration is already being used with a <a class="el" href="classOgre_1_1VertexBufferBinding.html">VertexBufferBinding</a>, you will need to alter that too. This method is mainly useful when reorganising buffers based on an altered declaration. </dd></dl>
314<dl compact><dt><b>Note:</b></dt><dd>This will cause the vertex declaration to be re-sorted. </dd></dl>
315    </td>
316  </tr>
317</table>
318<a class="anchor" name="Ogre_1_1VertexDeclarationa15" doxytag="Ogre::D3D9VertexDeclaration::findElementBySemantic" ></a><p>
319<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
320  <tr>
321    <td class="mdRow">
322      <table cellpadding="0" cellspacing="0" border="0">
323        <tr>
324          <td class="md" nowrap valign="top"> virtual const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a>* Ogre::VertexDeclaration::findElementBySemantic </td>
325          <td class="md" valign="top">(&nbsp;</td>
326          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a>&nbsp;</td>
327          <td class="mdname" nowrap> <em>sem</em>, </td>
328        </tr>
329        <tr>
330          <td class="md" nowrap align="right"></td>
331          <td></td>
332          <td class="md" nowrap>unsigned short&nbsp;</td>
333          <td class="mdname" nowrap> <em>index</em> = 0</td>
334        </tr>
335        <tr>
336          <td></td>
337          <td class="md">)&nbsp;</td>
338          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
339        </tr>
340
341      </table>
342    </td>
343  </tr>
344</table>
345<table cellspacing=5 cellpadding=0 border=0>
346  <tr>
347    <td>
348      &nbsp;
349    </td>
350    <td>
351
352<p>
353Finds a <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> with the given semantic, and index if there is more than one element with the same semantic.
354<p>
355<dl compact><dt><b>Remarks:</b></dt><dd>If the element is not found, this method returns null.</dd></dl>
356    </td>
357  </tr>
358</table>
359<a class="anchor" name="Ogre_1_1VertexDeclarationa16" doxytag="Ogre::D3D9VertexDeclaration::findElementsBySource" ></a><p>
360<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
361  <tr>
362    <td class="mdRow">
363      <table cellpadding="0" cellspacing="0" border="0">
364        <tr>
365          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">VertexElementList</a> Ogre::VertexDeclaration::findElementsBySource </td>
366          <td class="md" valign="top">(&nbsp;</td>
367          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
368          <td class="mdname1" valign="top" nowrap> <em>source</em>          </td>
369          <td class="md" valign="top">&nbsp;)&nbsp;</td>
370          <td class="md" nowrap><code> [virtual, inherited]</code></td>
371        </tr>
372
373      </table>
374    </td>
375  </tr>
376</table>
377<table cellspacing=5 cellpadding=0 border=0>
378  <tr>
379    <td>
380      &nbsp;
381    </td>
382    <td>
383
384<p>
385Gets a list of elements which use a given source.
386<p>
387<dl compact><dt><b>Remarks:</b></dt><dd>Note that the list of elements is returned by value therefore is separate from the declaration as soon as this method returns.</dd></dl>
388    </td>
389  </tr>
390</table>
391<a class="anchor" name="Ogre_1_1VertexDeclarationa7" doxytag="Ogre::D3D9VertexDeclaration::getAutoOrganisedDeclaration" ></a><p>
392<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
393  <tr>
394    <td class="mdRow">
395      <table cellpadding="0" cellspacing="0" border="0">
396        <tr>
397          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>* Ogre::VertexDeclaration::getAutoOrganisedDeclaration </td>
398          <td class="md" valign="top">(&nbsp;</td>
399          <td class="md" nowrap valign="top">bool&nbsp;</td>
400          <td class="mdname" nowrap> <em>skeletalAnimation</em>, </td>
401        </tr>
402        <tr>
403          <td class="md" nowrap align="right"></td>
404          <td></td>
405          <td class="md" nowrap>bool&nbsp;</td>
406          <td class="mdname" nowrap> <em>vertexAnimation</em></td>
407        </tr>
408        <tr>
409          <td></td>
410          <td class="md">)&nbsp;</td>
411          <td class="md" colspan="2"><code> [inherited]</code></td>
412        </tr>
413
414      </table>
415    </td>
416  </tr>
417</table>
418<table cellspacing=5 cellpadding=0 border=0>
419  <tr>
420    <td>
421      &nbsp;
422    </td>
423    <td>
424
425<p>
426Generates a new <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> for optimal usage based on the current vertex declaration, which can be used with <a class="el" href="classOgre_1_1VertexData.html#Ogre_1_1VertexDataa4">VertexData::reorganiseBuffers</a> later if you wish, or simply used as a template.
427<p>
428<dl compact><dt><b>Remarks:</b></dt><dd>Different buffer organisations and buffer usages will be returned depending on the parameters passed to this method. </dd></dl>
429<dl compact><dt><b>Parameters:</b></dt><dd>
430  <table border="0" cellspacing="2" cellpadding="0">
431    <tr><td valign=top><em>skeletalAnimation</em>&nbsp;</td><td>Whether this vertex data is going to be skeletally animated </td></tr>
432    <tr><td valign=top><em>vertexAnimation</em>&nbsp;</td><td>Whether this vertex data is going to be vertex animated </td></tr>
433  </table>
434</dl>
435    </td>
436  </tr>
437</table>
438<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa8" doxytag="Ogre::D3D9VertexDeclaration::getD3DVertexDeclaration" ></a><p>
439<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
440  <tr>
441    <td class="mdRow">
442      <table cellpadding="0" cellspacing="0" border="0">
443        <tr>
444          <td class="md" nowrap valign="top"> LPDIRECT3DVERTEXDECLARATION9 Ogre::D3D9VertexDeclaration::getD3DVertexDeclaration </td>
445          <td class="md" valign="top">(&nbsp;</td>
446          <td class="md" nowrap valign="top">void&nbsp;</td>
447          <td class="mdname1" valign="top" nowrap>          </td>
448          <td class="md" valign="top">&nbsp;)&nbsp;</td>
449          <td class="md" nowrap></td>
450        </tr>
451
452      </table>
453    </td>
454  </tr>
455</table>
456<table cellspacing=5 cellpadding=0 border=0>
457  <tr>
458    <td>
459      &nbsp;
460    </td>
461    <td>
462
463<p>
464Gets the D3D9-specific vertex declaration.
465<p>
466    </td>
467  </tr>
468</table>
469<a class="anchor" name="Ogre_1_1VertexDeclarationa4" doxytag="Ogre::D3D9VertexDeclaration::getElement" ></a><p>
470<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
471  <tr>
472    <td class="mdRow">
473      <table cellpadding="0" cellspacing="0" border="0">
474        <tr>
475          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a>* Ogre::VertexDeclaration::getElement </td>
476          <td class="md" valign="top">(&nbsp;</td>
477          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
478          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
479          <td class="md" valign="top">&nbsp;)&nbsp;</td>
480          <td class="md" nowrap><code> [inherited]</code></td>
481        </tr>
482
483      </table>
484    </td>
485  </tr>
486</table>
487<table cellspacing=5 cellpadding=0 border=0>
488  <tr>
489    <td>
490      &nbsp;
491    </td>
492    <td>
493
494<p>
495Get a single element.
496<p>
497    </td>
498  </tr>
499</table>
500<a class="anchor" name="Ogre_1_1VertexDeclarationa2" doxytag="Ogre::D3D9VertexDeclaration::getElementCount" ></a><p>
501<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
502  <tr>
503    <td class="mdRow">
504      <table cellpadding="0" cellspacing="0" border="0">
505        <tr>
506          <td class="md" nowrap valign="top"> size_t Ogre::VertexDeclaration::getElementCount </td>
507          <td class="md" valign="top">(&nbsp;</td>
508          <td class="md" nowrap valign="top">void&nbsp;</td>
509          <td class="mdname1" valign="top" nowrap>          </td>
510          <td class="md" valign="top">&nbsp;)&nbsp;</td>
511          <td class="md" nowrap><code> [inherited]</code></td>
512        </tr>
513
514      </table>
515    </td>
516  </tr>
517</table>
518<table cellspacing=5 cellpadding=0 border=0>
519  <tr>
520    <td>
521      &nbsp;
522    </td>
523    <td>
524
525<p>
526Get the number of elements in the declaration.
527<p>
528
529<p>
530Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00302">302</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>.    </td>
531  </tr>
532</table>
533<a class="anchor" name="Ogre_1_1VertexDeclarationa3" doxytag="Ogre::D3D9VertexDeclaration::getElements" ></a><p>
534<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
535  <tr>
536    <td class="mdRow">
537      <table cellpadding="0" cellspacing="0" border="0">
538        <tr>
539          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">VertexElementList</a>&amp; Ogre::VertexDeclaration::getElements </td>
540          <td class="md" valign="top">(&nbsp;</td>
541          <td class="md" nowrap valign="top">void&nbsp;</td>
542          <td class="mdname1" valign="top" nowrap>          </td>
543          <td class="md" valign="top">&nbsp;)&nbsp;</td>
544          <td class="md" nowrap> const<code> [inherited]</code></td>
545        </tr>
546
547      </table>
548    </td>
549  </tr>
550</table>
551<table cellspacing=5 cellpadding=0 border=0>
552  <tr>
553    <td>
554      &nbsp;
555    </td>
556    <td>
557
558<p>
559Gets read-only access to the list of vertex elements.
560<p>
561    </td>
562  </tr>
563</table>
564<a class="anchor" name="Ogre_1_1VertexDeclarationa8" doxytag="Ogre::D3D9VertexDeclaration::getMaxSource" ></a><p>
565<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
566  <tr>
567    <td class="mdRow">
568      <table cellpadding="0" cellspacing="0" border="0">
569        <tr>
570          <td class="md" nowrap valign="top"> unsigned short Ogre::VertexDeclaration::getMaxSource </td>
571          <td class="md" valign="top">(&nbsp;</td>
572          <td class="md" nowrap valign="top">void&nbsp;</td>
573          <td class="mdname1" valign="top" nowrap>          </td>
574          <td class="md" valign="top">&nbsp;)&nbsp;</td>
575          <td class="md" nowrap> const<code> [inherited]</code></td>
576        </tr>
577
578      </table>
579    </td>
580  </tr>
581</table>
582<table cellspacing=5 cellpadding=0 border=0>
583  <tr>
584    <td>
585      &nbsp;
586    </td>
587    <td>
588
589<p>
590Gets the indeex of the highest source value referenced by this declaration.
591<p>
592    </td>
593  </tr>
594</table>
595<a class="anchor" name="Ogre_1_1VertexDeclarationa17" doxytag="Ogre::D3D9VertexDeclaration::getVertexSize" ></a><p>
596<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
597  <tr>
598    <td class="mdRow">
599      <table cellpadding="0" cellspacing="0" border="0">
600        <tr>
601          <td class="md" nowrap valign="top"> virtual size_t Ogre::VertexDeclaration::getVertexSize </td>
602          <td class="md" valign="top">(&nbsp;</td>
603          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
604          <td class="mdname1" valign="top" nowrap> <em>source</em>          </td>
605          <td class="md" valign="top">&nbsp;)&nbsp;</td>
606          <td class="md" nowrap><code> [virtual, inherited]</code></td>
607        </tr>
608
609      </table>
610    </td>
611  </tr>
612</table>
613<table cellspacing=5 cellpadding=0 border=0>
614  <tr>
615    <td>
616      &nbsp;
617    </td>
618    <td>
619
620<p>
621Gets the vertex size defined by this declaration for a given source.
622<p>
623    </td>
624  </tr>
625</table>
626<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa3" doxytag="Ogre::D3D9VertexDeclaration::insertElement" ></a><p>
627<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
628  <tr>
629    <td class="mdRow">
630      <table cellpadding="0" cellspacing="0" border="0">
631        <tr>
632          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a>&amp; Ogre::D3D9VertexDeclaration::insertElement </td>
633          <td class="md" valign="top">(&nbsp;</td>
634          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
635          <td class="mdname" nowrap> <em>atPosition</em>, </td>
636        </tr>
637        <tr>
638          <td class="md" nowrap align="right"></td>
639          <td></td>
640          <td class="md" nowrap>unsigned short&nbsp;</td>
641          <td class="mdname" nowrap> <em>source</em>, </td>
642        </tr>
643        <tr>
644          <td class="md" nowrap align="right"></td>
645          <td></td>
646          <td class="md" nowrap>size_t&nbsp;</td>
647          <td class="mdname" nowrap> <em>offset</em>, </td>
648        </tr>
649        <tr>
650          <td class="md" nowrap align="right"></td>
651          <td></td>
652          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a660">VertexElementType</a>&nbsp;</td>
653          <td class="mdname" nowrap> <em>theType</em>, </td>
654        </tr>
655        <tr>
656          <td class="md" nowrap align="right"></td>
657          <td></td>
658          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a>&nbsp;</td>
659          <td class="mdname" nowrap> <em>semantic</em>, </td>
660        </tr>
661        <tr>
662          <td class="md" nowrap align="right"></td>
663          <td></td>
664          <td class="md" nowrap>unsigned short&nbsp;</td>
665          <td class="mdname" nowrap> <em>index</em> = 0</td>
666        </tr>
667        <tr>
668          <td></td>
669          <td class="md">)&nbsp;</td>
670          <td class="md" colspan="2"><code> [virtual]</code></td>
671        </tr>
672
673      </table>
674    </td>
675  </tr>
676</table>
677<table cellspacing=5 cellpadding=0 border=0>
678  <tr>
679    <td>
680      &nbsp;
681    </td>
682    <td>
683
684<p>
685See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.
686<p>
687
688<p>
689Reimplemented from <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa10">Ogre::VertexDeclaration</a>.    </td>
690  </tr>
691</table>
692<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa7" doxytag="Ogre::D3D9VertexDeclaration::modifyElement" ></a><p>
693<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
694  <tr>
695    <td class="mdRow">
696      <table cellpadding="0" cellspacing="0" border="0">
697        <tr>
698          <td class="md" nowrap valign="top"> void Ogre::D3D9VertexDeclaration::modifyElement </td>
699          <td class="md" valign="top">(&nbsp;</td>
700          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
701          <td class="mdname" nowrap> <em>elem_index</em>, </td>
702        </tr>
703        <tr>
704          <td class="md" nowrap align="right"></td>
705          <td></td>
706          <td class="md" nowrap>unsigned short&nbsp;</td>
707          <td class="mdname" nowrap> <em>source</em>, </td>
708        </tr>
709        <tr>
710          <td class="md" nowrap align="right"></td>
711          <td></td>
712          <td class="md" nowrap>size_t&nbsp;</td>
713          <td class="mdname" nowrap> <em>offset</em>, </td>
714        </tr>
715        <tr>
716          <td class="md" nowrap align="right"></td>
717          <td></td>
718          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a660">VertexElementType</a>&nbsp;</td>
719          <td class="mdname" nowrap> <em>theType</em>, </td>
720        </tr>
721        <tr>
722          <td class="md" nowrap align="right"></td>
723          <td></td>
724          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a>&nbsp;</td>
725          <td class="mdname" nowrap> <em>semantic</em>, </td>
726        </tr>
727        <tr>
728          <td class="md" nowrap align="right"></td>
729          <td></td>
730          <td class="md" nowrap>unsigned short&nbsp;</td>
731          <td class="mdname" nowrap> <em>index</em> = 0</td>
732        </tr>
733        <tr>
734          <td></td>
735          <td class="md">)&nbsp;</td>
736          <td class="md" colspan="2"><code> [virtual]</code></td>
737        </tr>
738
739      </table>
740    </td>
741  </tr>
742</table>
743<table cellspacing=5 cellpadding=0 border=0>
744  <tr>
745    <td>
746      &nbsp;
747    </td>
748    <td>
749
750<p>
751See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.
752<p>
753
754<p>
755Reimplemented from <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa14">Ogre::VertexDeclaration</a>.    </td>
756  </tr>
757</table>
758<a class="anchor" name="Ogre_1_1VertexDeclarationa20" doxytag="Ogre::D3D9VertexDeclaration::operator!=" ></a><p>
759<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
760  <tr>
761    <td class="mdRow">
762      <table cellpadding="0" cellspacing="0" border="0">
763        <tr>
764          <td class="md" nowrap valign="top"> bool Ogre::VertexDeclaration::operator!= </td>
765          <td class="md" valign="top">(&nbsp;</td>
766          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> &amp;&nbsp;</td>
767          <td class="mdname1" valign="top" nowrap> <em>rhs</em>          </td>
768          <td class="md" valign="top">&nbsp;)&nbsp;</td>
769          <td class="md" nowrap> const<code> [inherited]</code></td>
770        </tr>
771
772      </table>
773    </td>
774  </tr>
775</table>
776<table cellspacing=5 cellpadding=0 border=0>
777  <tr>
778    <td>
779      &nbsp;
780    </td>
781    <td>
782
783<p>
784
785<p>
786Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00442">442</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>.    </td>
787  </tr>
788</table>
789<a class="anchor" name="Ogre_1_1VertexDeclarationa19" doxytag="Ogre::D3D9VertexDeclaration::operator==" ></a><p>
790<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
791  <tr>
792    <td class="mdRow">
793      <table cellpadding="0" cellspacing="0" border="0">
794        <tr>
795          <td class="md" nowrap valign="top"> bool Ogre::VertexDeclaration::operator== </td>
796          <td class="md" valign="top">(&nbsp;</td>
797          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a> &amp;&nbsp;</td>
798          <td class="mdname1" valign="top" nowrap> <em>rhs</em>          </td>
799          <td class="md" valign="top">&nbsp;)&nbsp;</td>
800          <td class="md" nowrap> const<code> [inherited]</code></td>
801        </tr>
802
803      </table>
804    </td>
805  </tr>
806</table>
807<table cellspacing=5 cellpadding=0 border=0>
808  <tr>
809    <td>
810      &nbsp;
811    </td>
812    <td>
813
814<p>
815
816<p>
817Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00425">425</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>.
818<p>
819References <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00295">Ogre::VertexDeclaration::mElementList</a>.    </td>
820  </tr>
821</table>
822<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa6" doxytag="Ogre::D3D9VertexDeclaration::removeAllElements" ></a><p>
823<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
824  <tr>
825    <td class="mdRow">
826      <table cellpadding="0" cellspacing="0" border="0">
827        <tr>
828          <td class="md" nowrap valign="top"> void Ogre::D3D9VertexDeclaration::removeAllElements </td>
829          <td class="md" valign="top">(&nbsp;</td>
830          <td class="md" nowrap valign="top">void&nbsp;</td>
831          <td class="mdname1" valign="top" nowrap>          </td>
832          <td class="md" valign="top">&nbsp;)&nbsp;</td>
833          <td class="md" nowrap><code> [virtual]</code></td>
834        </tr>
835
836      </table>
837    </td>
838  </tr>
839</table>
840<table cellspacing=5 cellpadding=0 border=0>
841  <tr>
842    <td>
843      &nbsp;
844    </td>
845    <td>
846
847<p>
848See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.
849<p>
850
851<p>
852Reimplemented from <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa13">Ogre::VertexDeclaration</a>.    </td>
853  </tr>
854</table>
855<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa5" doxytag="Ogre::D3D9VertexDeclaration::removeElement" ></a><p>
856<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
857  <tr>
858    <td class="mdRow">
859      <table cellpadding="0" cellspacing="0" border="0">
860        <tr>
861          <td class="md" nowrap valign="top"> void Ogre::D3D9VertexDeclaration::removeElement </td>
862          <td class="md" valign="top">(&nbsp;</td>
863          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a659">VertexElementSemantic</a>&nbsp;</td>
864          <td class="mdname" nowrap> <em>semantic</em>, </td>
865        </tr>
866        <tr>
867          <td class="md" nowrap align="right"></td>
868          <td></td>
869          <td class="md" nowrap>unsigned short&nbsp;</td>
870          <td class="mdname" nowrap> <em>index</em> = 0</td>
871        </tr>
872        <tr>
873          <td></td>
874          <td class="md">)&nbsp;</td>
875          <td class="md" colspan="2"><code> [virtual]</code></td>
876        </tr>
877
878      </table>
879    </td>
880  </tr>
881</table>
882<table cellspacing=5 cellpadding=0 border=0>
883  <tr>
884    <td>
885      &nbsp;
886    </td>
887    <td>
888
889<p>
890See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.
891<p>
892
893<p>
894Reimplemented from <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa12">Ogre::VertexDeclaration</a>.    </td>
895  </tr>
896</table>
897<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationa4" doxytag="Ogre::D3D9VertexDeclaration::removeElement" ></a><p>
898<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
899  <tr>
900    <td class="mdRow">
901      <table cellpadding="0" cellspacing="0" border="0">
902        <tr>
903          <td class="md" nowrap valign="top"> void Ogre::D3D9VertexDeclaration::removeElement </td>
904          <td class="md" valign="top">(&nbsp;</td>
905          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
906          <td class="mdname1" valign="top" nowrap> <em>elem_index</em>          </td>
907          <td class="md" valign="top">&nbsp;)&nbsp;</td>
908          <td class="md" nowrap><code> [virtual]</code></td>
909        </tr>
910
911      </table>
912    </td>
913  </tr>
914</table>
915<table cellspacing=5 cellpadding=0 border=0>
916  <tr>
917    <td>
918      &nbsp;
919    </td>
920    <td>
921
922<p>
923See <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>.
924<p>
925
926<p>
927Reimplemented from <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa11">Ogre::VertexDeclaration</a>.    </td>
928  </tr>
929</table>
930<a class="anchor" name="Ogre_1_1VertexDeclarationa5" doxytag="Ogre::D3D9VertexDeclaration::sort" ></a><p>
931<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
932  <tr>
933    <td class="mdRow">
934      <table cellpadding="0" cellspacing="0" border="0">
935        <tr>
936          <td class="md" nowrap valign="top"> void Ogre::VertexDeclaration::sort </td>
937          <td class="md" valign="top">(&nbsp;</td>
938          <td class="md" nowrap valign="top">void&nbsp;</td>
939          <td class="mdname1" valign="top" nowrap>          </td>
940          <td class="md" valign="top">&nbsp;)&nbsp;</td>
941          <td class="md" nowrap><code> [inherited]</code></td>
942        </tr>
943
944      </table>
945    </td>
946  </tr>
947</table>
948<table cellspacing=5 cellpadding=0 border=0>
949  <tr>
950    <td>
951      &nbsp;
952    </td>
953    <td>
954
955<p>
956Sorts the elements in this list to be compatible with the maximum number of rendering APIs / graphics cards.
957<p>
958<dl compact><dt><b>Remarks:</b></dt><dd>Older graphics cards require vertex data to be presented in a more rigid way, as defined in the main documentation for this class. As well as the ordering being important, where shared source buffers are used, the declaration must list all the elements for each source in turn. </dd></dl>
959    </td>
960  </tr>
961</table>
962<a class="anchor" name="Ogre_1_1VertexDeclaratione0" doxytag="Ogre::D3D9VertexDeclaration::vertexElementLess" ></a><p>
963<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
964  <tr>
965    <td class="mdRow">
966      <table cellpadding="0" cellspacing="0" border="0">
967        <tr>
968          <td class="md" nowrap valign="top"> bool Ogre::VertexDeclaration::vertexElementLess </td>
969          <td class="md" valign="top">(&nbsp;</td>
970          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &amp;&nbsp;</td>
971          <td class="mdname" nowrap> <em>e1</em>, </td>
972        </tr>
973        <tr>
974          <td class="md" nowrap align="right"></td>
975          <td></td>
976          <td class="md" nowrap>const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &amp;&nbsp;</td>
977          <td class="mdname" nowrap> <em>e2</em></td>
978        </tr>
979        <tr>
980          <td></td>
981          <td class="md">)&nbsp;</td>
982          <td class="md" colspan="2"><code> [static, inherited]</code></td>
983        </tr>
984
985      </table>
986    </td>
987  </tr>
988</table>
989<table cellspacing=5 cellpadding=0 border=0>
990  <tr>
991    <td>
992      &nbsp;
993    </td>
994    <td>
995
996<p>
997Sort routine for vertex elements.
998<p>
999    </td>
1000  </tr>
1001</table>
1002<hr><h2>Member Data Documentation</h2>
1003<a class="anchor" name="Ogre_1_1VertexDeclarationp0" doxytag="Ogre::D3D9VertexDeclaration::mElementList" ></a><p>
1004<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1005  <tr>
1006    <td class="mdRow">
1007      <table cellpadding="0" cellspacing="0" border="0">
1008        <tr>
1009          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationw0">VertexElementList</a> <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationp0">Ogre::VertexDeclaration::mElementList</a><code> [protected, inherited]</code>
1010      </table>
1011    </td>
1012  </tr>
1013</table>
1014<table cellspacing=5 cellpadding=0 border=0>
1015  <tr>
1016    <td>
1017      &nbsp;
1018    </td>
1019    <td>
1020
1021<p>
1022
1023<p>
1024Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00295">295</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>.
1025<p>
1026Referenced by <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00425">Ogre::VertexDeclaration::operator==()</a>.    </td>
1027  </tr>
1028</table>
1029<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationp1" doxytag="Ogre::D3D9VertexDeclaration::mlpD3DDecl" ></a><p>
1030<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1031  <tr>
1032    <td class="mdRow">
1033      <table cellpadding="0" cellspacing="0" border="0">
1034        <tr>
1035          <td class="md" nowrap valign="top"> LPDIRECT3DVERTEXDECLARATION9 <a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationp1">Ogre::D3D9VertexDeclaration::mlpD3DDecl</a><code> [protected]</code>
1036      </table>
1037    </td>
1038  </tr>
1039</table>
1040<table cellspacing=5 cellpadding=0 border=0>
1041  <tr>
1042    <td>
1043      &nbsp;
1044    </td>
1045    <td>
1046
1047<p>
1048
1049<p>
1050Definition at line <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html#l00038">38</a> of file <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html">OgreD3D9VertexDeclaration.h</a>.    </td>
1051  </tr>
1052</table>
1053<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationp0" doxytag="Ogre::D3D9VertexDeclaration::mlpD3DDevice" ></a><p>
1054<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1055  <tr>
1056    <td class="mdRow">
1057      <table cellpadding="0" cellspacing="0" border="0">
1058        <tr>
1059          <td class="md" nowrap valign="top"> LPDIRECT3DDEVICE9 <a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationp0">Ogre::D3D9VertexDeclaration::mlpD3DDevice</a><code> [protected]</code>
1060      </table>
1061    </td>
1062  </tr>
1063</table>
1064<table cellspacing=5 cellpadding=0 border=0>
1065  <tr>
1066    <td>
1067      &nbsp;
1068    </td>
1069    <td>
1070
1071<p>
1072
1073<p>
1074Definition at line <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html#l00037">37</a> of file <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html">OgreD3D9VertexDeclaration.h</a>.    </td>
1075  </tr>
1076</table>
1077<a class="anchor" name="Ogre_1_1D3D9VertexDeclarationp2" doxytag="Ogre::D3D9VertexDeclaration::mNeedsRebuild" ></a><p>
1078<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1079  <tr>
1080    <td class="mdRow">
1081      <table cellpadding="0" cellspacing="0" border="0">
1082        <tr>
1083          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1D3D9VertexDeclaration.html#Ogre_1_1D3D9VertexDeclarationp2">Ogre::D3D9VertexDeclaration::mNeedsRebuild</a><code> [protected]</code>
1084      </table>
1085    </td>
1086  </tr>
1087</table>
1088<table cellspacing=5 cellpadding=0 border=0>
1089  <tr>
1090    <td>
1091      &nbsp;
1092    </td>
1093    <td>
1094
1095<p>
1096
1097<p>
1098Definition at line <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html#l00039">39</a> of file <a class="el" href="OgreD3D9VertexDeclaration_8h-source.html">OgreD3D9VertexDeclaration.h</a>.    </td>
1099  </tr>
1100</table>
1101<hr>The documentation for this class was generated from the following file:<ul>
1102<li><a class="el" href="OgreD3D9VertexDeclaration_8h-source.html">OgreD3D9VertexDeclaration.h</a></ul>
1103<hr>
1104<p>
1105Copyright &copy; 2000-2005 by The OGRE Team<br />
1106<!--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/>
1107This 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/>
1108                <!--/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#">
1109                <Work rdf:about="">
1110                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
1111        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
1112                </Work>
1113                <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> -->
1114
1115Last modified Sun Mar 12 14:51:29 2006
1116</p>
1117</body>
1118</html>
Note: See TracBrowser for help on using the repository browser.