1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::VertexElement class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::VertexElement Class Reference</h1>This class declares the usage of a single vertex buffer as a component of a complete <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1VertexElement-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> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa0">VertexElement</a> (unsigned short source, size_t offset, <a class="el" href="namespaceOgre.html#a656">VertexElementType</a> theType, <a class="el" href="namespaceOgre.html#a655">VertexElementSemantic</a> semantic, unsigned short index=0)</td></tr> |
---|
19 | |
---|
20 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor, should not be called directly, call <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa9">VertexDeclaration::addElement</a>. <a href="#Ogre_1_1VertexElementa0"></a><br><br></td></tr> |
---|
21 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa1">getSource</a> (void) const </td></tr> |
---|
22 | |
---|
23 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the vertex buffer index from where this element draws it's values. <a href="#Ogre_1_1VertexElementa1"></a><br><br></td></tr> |
---|
24 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa2">getOffset</a> (void) const </td></tr> |
---|
25 | |
---|
26 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the offset into the buffer where this element starts. <a href="#Ogre_1_1VertexElementa2"></a><br><br></td></tr> |
---|
27 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa3">getType</a> (void) const </td></tr> |
---|
28 | |
---|
29 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the data format of this element. <a href="#Ogre_1_1VertexElementa3"></a><br><br></td></tr> |
---|
30 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a655">VertexElementSemantic</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa4">getSemantic</a> (void) const </td></tr> |
---|
31 | |
---|
32 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the meaning of this element. <a href="#Ogre_1_1VertexElementa4"></a><br><br></td></tr> |
---|
33 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa5">getIndex</a> (void) const </td></tr> |
---|
34 | |
---|
35 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the index of this element, only applicable for repeating elements. <a href="#Ogre_1_1VertexElementa5"></a><br><br></td></tr> |
---|
36 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa6">getSize</a> (void) const </td></tr> |
---|
37 | |
---|
38 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the size of this element in bytes. <a href="#Ogre_1_1VertexElementa6"></a><br><br></td></tr> |
---|
39 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa7">operator==</a> (const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> &rhs) const </td></tr> |
---|
40 | |
---|
41 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa8">baseVertexPointerToElement</a> (void *pBase, void **pElem) const </td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adjusts a pointer to the base of a vertex to point at this element. <a href="#Ogre_1_1VertexElementa8"></a><br><br></td></tr> |
---|
44 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa9">baseVertexPointerToElement</a> (void *pBase, float **pElem) const </td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adjusts a pointer to the base of a vertex to point at this element. <a href="#Ogre_1_1VertexElementa9"></a><br><br></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa10">baseVertexPointerToElement</a> (void *pBase, <a class="el" href="namespaceOgre.html#a55">RGBA</a> **pElem) const </td></tr> |
---|
48 | |
---|
49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adjusts a pointer to the base of a vertex to point at this element. <a href="#Ogre_1_1VertexElementa10"></a><br><br></td></tr> |
---|
50 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa11">baseVertexPointerToElement</a> (void *pBase, unsigned char **pElem) const </td></tr> |
---|
51 | |
---|
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adjusts a pointer to the base of a vertex to point at this element. <a href="#Ogre_1_1VertexElementa11"></a><br><br></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementa12">baseVertexPointerToElement</a> (void *pBase, unsigned short **pElem) const </td></tr> |
---|
54 | |
---|
55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adjusts a pointer to the base of a vertex to point at this element. <a href="#Ogre_1_1VertexElementa12"></a><br><br></td></tr> |
---|
56 | <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> |
---|
57 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElemente0">getTypeSize</a> (<a class="el" href="namespaceOgre.html#a656">VertexElementType</a> etype)</td></tr> |
---|
58 | |
---|
59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Utility method for helping to calculate offsets. <a href="#Ogre_1_1VertexElemente0"></a><br><br></td></tr> |
---|
60 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElemente1">getTypeCount</a> (<a class="el" href="namespaceOgre.html#a656">VertexElementType</a> etype)</td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Utility method which returns the count of values in a given type. <a href="#Ogre_1_1VertexElemente1"></a><br><br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElemente2">multiplyTypeCount</a> (<a class="el" href="namespaceOgre.html#a656">VertexElementType</a> baseType, unsigned short count)</td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Simple converter function which will turn a single-value type into a multi-value type based on a parameter. <a href="#Ogre_1_1VertexElemente2"></a><br><br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElemente3">getBaseType</a> (<a class="el" href="namespaceOgre.html#a656">VertexElementType</a> multiType)</td></tr> |
---|
67 | |
---|
68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Simple converter function which will a type into it's single-value equivalent - makes switches on type easier. <a href="#Ogre_1_1VertexElemente3"></a><br><br></td></tr> |
---|
69 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
70 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp0">mSource</a></td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The source vertex buffer, as bound to an index using <a class="el" href="classOgre_1_1VertexBufferBinding.html">VertexBufferBinding</a>. <a href="#Ogre_1_1VertexElementp0"></a><br><br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp1">mOffset</a></td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The offset in the buffer that this element starts at. <a href="#Ogre_1_1VertexElementp1"></a><br><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp2">mType</a></td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The type of element. <a href="#Ogre_1_1VertexElementp2"></a><br><br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a655">VertexElementSemantic</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp3">mSemantic</a></td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The meaning of the element. <a href="#Ogre_1_1VertexElementp3"></a><br><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp4">mIndex</a></td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Index of the item, only applicable for some elements like texture coords. <a href="#Ogre_1_1VertexElementp4"></a><br><br></td></tr> |
---|
85 | </table> |
---|
86 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
87 | This class declares the usage of a single vertex buffer as a component of a complete <a class="el" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>. |
---|
88 | <p> |
---|
89 | <dl compact><dt><b>Remarks:</b></dt><dd>Several vertex buffers can be used to supply the input geometry for a rendering operation, and in each case a vertex buffer can be used in different ways for different operations; the buffer itself does not define the semantics (position, normal etc), the <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> class does. </dd></dl> |
---|
90 | |
---|
91 | <p> |
---|
92 | |
---|
93 | <p> |
---|
94 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00116">116</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> |
---|
95 | <a class="anchor" name="Ogre_1_1VertexElementa0" doxytag="Ogre::VertexElement::VertexElement" ></a><p> |
---|
96 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
97 | <tr> |
---|
98 | <td class="mdRow"> |
---|
99 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
100 | <tr> |
---|
101 | <td class="md" nowrap valign="top"> Ogre::VertexElement::VertexElement </td> |
---|
102 | <td class="md" valign="top">( </td> |
---|
103 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
104 | <td class="mdname" nowrap> <em>source</em>, </td> |
---|
105 | </tr> |
---|
106 | <tr> |
---|
107 | <td class="md" nowrap align="right"></td> |
---|
108 | <td></td> |
---|
109 | <td class="md" nowrap>size_t </td> |
---|
110 | <td class="mdname" nowrap> <em>offset</em>, </td> |
---|
111 | </tr> |
---|
112 | <tr> |
---|
113 | <td class="md" nowrap align="right"></td> |
---|
114 | <td></td> |
---|
115 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td> |
---|
116 | <td class="mdname" nowrap> <em>theType</em>, </td> |
---|
117 | </tr> |
---|
118 | <tr> |
---|
119 | <td class="md" nowrap align="right"></td> |
---|
120 | <td></td> |
---|
121 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a655">VertexElementSemantic</a> </td> |
---|
122 | <td class="mdname" nowrap> <em>semantic</em>, </td> |
---|
123 | </tr> |
---|
124 | <tr> |
---|
125 | <td class="md" nowrap align="right"></td> |
---|
126 | <td></td> |
---|
127 | <td class="md" nowrap>unsigned short </td> |
---|
128 | <td class="mdname" nowrap> <em>index</em> = 0</td> |
---|
129 | </tr> |
---|
130 | <tr> |
---|
131 | <td></td> |
---|
132 | <td class="md">) </td> |
---|
133 | <td class="md" colspan="2"></td> |
---|
134 | </tr> |
---|
135 | |
---|
136 | </table> |
---|
137 | </td> |
---|
138 | </tr> |
---|
139 | </table> |
---|
140 | <table cellspacing=5 cellpadding=0 border=0> |
---|
141 | <tr> |
---|
142 | <td> |
---|
143 | |
---|
144 | </td> |
---|
145 | <td> |
---|
146 | |
---|
147 | <p> |
---|
148 | Constructor, should not be called directly, call <a class="el" href="classOgre_1_1VertexDeclaration.html#Ogre_1_1VertexDeclarationa9">VertexDeclaration::addElement</a>. |
---|
149 | <p> |
---|
150 | </td> |
---|
151 | </tr> |
---|
152 | </table> |
---|
153 | <hr><h2>Member Function Documentation</h2> |
---|
154 | <a class="anchor" name="Ogre_1_1VertexElementa12" doxytag="Ogre::VertexElement::baseVertexPointerToElement" ></a><p> |
---|
155 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
156 | <tr> |
---|
157 | <td class="mdRow"> |
---|
158 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
159 | <tr> |
---|
160 | <td class="md" nowrap valign="top"> void Ogre::VertexElement::baseVertexPointerToElement </td> |
---|
161 | <td class="md" valign="top">( </td> |
---|
162 | <td class="md" nowrap valign="top">void * </td> |
---|
163 | <td class="mdname" nowrap> <em>pBase</em>, </td> |
---|
164 | </tr> |
---|
165 | <tr> |
---|
166 | <td class="md" nowrap align="right"></td> |
---|
167 | <td></td> |
---|
168 | <td class="md" nowrap>unsigned short ** </td> |
---|
169 | <td class="mdname" nowrap> <em>pElem</em></td> |
---|
170 | </tr> |
---|
171 | <tr> |
---|
172 | <td></td> |
---|
173 | <td class="md">) </td> |
---|
174 | <td class="md" colspan="2"> const</td> |
---|
175 | </tr> |
---|
176 | |
---|
177 | </table> |
---|
178 | </td> |
---|
179 | </tr> |
---|
180 | </table> |
---|
181 | <table cellspacing=5 cellpadding=0 border=0> |
---|
182 | <tr> |
---|
183 | <td> |
---|
184 | |
---|
185 | </td> |
---|
186 | <td> |
---|
187 | |
---|
188 | <p> |
---|
189 | Adjusts a pointer to the base of a vertex to point at this element. |
---|
190 | <p> |
---|
191 | <dl compact><dt><b>Remarks:</b></dt><dd>This variant is for ushort pointers, passed as a parameter because we can't rely on covariant return types. </dd></dl> |
---|
192 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
193 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
194 | <tr><td valign=top><em>pBase</em> </td><td>Pointer to the start of a vertex in this buffer. </td></tr> |
---|
195 | <tr><td valign=top><em>pElem</em> </td><td>Pointer to a pointer which will be set to the start of this element. </td></tr> |
---|
196 | </table> |
---|
197 | </dl> |
---|
198 | |
---|
199 | <p> |
---|
200 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00233">233</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. </td> |
---|
201 | </tr> |
---|
202 | </table> |
---|
203 | <a class="anchor" name="Ogre_1_1VertexElementa11" doxytag="Ogre::VertexElement::baseVertexPointerToElement" ></a><p> |
---|
204 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
205 | <tr> |
---|
206 | <td class="mdRow"> |
---|
207 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
208 | <tr> |
---|
209 | <td class="md" nowrap valign="top"> void Ogre::VertexElement::baseVertexPointerToElement </td> |
---|
210 | <td class="md" valign="top">( </td> |
---|
211 | <td class="md" nowrap valign="top">void * </td> |
---|
212 | <td class="mdname" nowrap> <em>pBase</em>, </td> |
---|
213 | </tr> |
---|
214 | <tr> |
---|
215 | <td class="md" nowrap align="right"></td> |
---|
216 | <td></td> |
---|
217 | <td class="md" nowrap>unsigned char ** </td> |
---|
218 | <td class="mdname" nowrap> <em>pElem</em></td> |
---|
219 | </tr> |
---|
220 | <tr> |
---|
221 | <td></td> |
---|
222 | <td class="md">) </td> |
---|
223 | <td class="md" colspan="2"> const</td> |
---|
224 | </tr> |
---|
225 | |
---|
226 | </table> |
---|
227 | </td> |
---|
228 | </tr> |
---|
229 | </table> |
---|
230 | <table cellspacing=5 cellpadding=0 border=0> |
---|
231 | <tr> |
---|
232 | <td> |
---|
233 | |
---|
234 | </td> |
---|
235 | <td> |
---|
236 | |
---|
237 | <p> |
---|
238 | Adjusts a pointer to the base of a vertex to point at this element. |
---|
239 | <p> |
---|
240 | <dl compact><dt><b>Remarks:</b></dt><dd>This variant is for char pointers, passed as a parameter because we can't rely on covariant return types. </dd></dl> |
---|
241 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
242 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
243 | <tr><td valign=top><em>pBase</em> </td><td>Pointer to the start of a vertex in this buffer. </td></tr> |
---|
244 | <tr><td valign=top><em>pElem</em> </td><td>Pointer to a pointer which will be set to the start of this element. </td></tr> |
---|
245 | </table> |
---|
246 | </dl> |
---|
247 | |
---|
248 | <p> |
---|
249 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00221">221</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. </td> |
---|
250 | </tr> |
---|
251 | </table> |
---|
252 | <a class="anchor" name="Ogre_1_1VertexElementa10" doxytag="Ogre::VertexElement::baseVertexPointerToElement" ></a><p> |
---|
253 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
254 | <tr> |
---|
255 | <td class="mdRow"> |
---|
256 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
257 | <tr> |
---|
258 | <td class="md" nowrap valign="top"> void Ogre::VertexElement::baseVertexPointerToElement </td> |
---|
259 | <td class="md" valign="top">( </td> |
---|
260 | <td class="md" nowrap valign="top">void * </td> |
---|
261 | <td class="mdname" nowrap> <em>pBase</em>, </td> |
---|
262 | </tr> |
---|
263 | <tr> |
---|
264 | <td class="md" nowrap align="right"></td> |
---|
265 | <td></td> |
---|
266 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a55">RGBA</a> ** </td> |
---|
267 | <td class="mdname" nowrap> <em>pElem</em></td> |
---|
268 | </tr> |
---|
269 | <tr> |
---|
270 | <td></td> |
---|
271 | <td class="md">) </td> |
---|
272 | <td class="md" colspan="2"> const</td> |
---|
273 | </tr> |
---|
274 | |
---|
275 | </table> |
---|
276 | </td> |
---|
277 | </tr> |
---|
278 | </table> |
---|
279 | <table cellspacing=5 cellpadding=0 border=0> |
---|
280 | <tr> |
---|
281 | <td> |
---|
282 | |
---|
283 | </td> |
---|
284 | <td> |
---|
285 | |
---|
286 | <p> |
---|
287 | Adjusts a pointer to the base of a vertex to point at this element. |
---|
288 | <p> |
---|
289 | <dl compact><dt><b>Remarks:</b></dt><dd>This variant is for RGBA pointers, passed as a parameter because we can't rely on covariant return types. </dd></dl> |
---|
290 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
291 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
292 | <tr><td valign=top><em>pBase</em> </td><td>Pointer to the start of a vertex in this buffer. </td></tr> |
---|
293 | <tr><td valign=top><em>pElem</em> </td><td>Pointer to a pointer which will be set to the start of this element. </td></tr> |
---|
294 | </table> |
---|
295 | </dl> |
---|
296 | |
---|
297 | <p> |
---|
298 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00208">208</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
299 | <p> |
---|
300 | References <a class="el" href="OgreColourValue_8h-source.html#l00032">Ogre::RGBA</a>. </td> |
---|
301 | </tr> |
---|
302 | </table> |
---|
303 | <a class="anchor" name="Ogre_1_1VertexElementa9" doxytag="Ogre::VertexElement::baseVertexPointerToElement" ></a><p> |
---|
304 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
305 | <tr> |
---|
306 | <td class="mdRow"> |
---|
307 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
308 | <tr> |
---|
309 | <td class="md" nowrap valign="top"> void Ogre::VertexElement::baseVertexPointerToElement </td> |
---|
310 | <td class="md" valign="top">( </td> |
---|
311 | <td class="md" nowrap valign="top">void * </td> |
---|
312 | <td class="mdname" nowrap> <em>pBase</em>, </td> |
---|
313 | </tr> |
---|
314 | <tr> |
---|
315 | <td class="md" nowrap align="right"></td> |
---|
316 | <td></td> |
---|
317 | <td class="md" nowrap>float ** </td> |
---|
318 | <td class="mdname" nowrap> <em>pElem</em></td> |
---|
319 | </tr> |
---|
320 | <tr> |
---|
321 | <td></td> |
---|
322 | <td class="md">) </td> |
---|
323 | <td class="md" colspan="2"> const</td> |
---|
324 | </tr> |
---|
325 | |
---|
326 | </table> |
---|
327 | </td> |
---|
328 | </tr> |
---|
329 | </table> |
---|
330 | <table cellspacing=5 cellpadding=0 border=0> |
---|
331 | <tr> |
---|
332 | <td> |
---|
333 | |
---|
334 | </td> |
---|
335 | <td> |
---|
336 | |
---|
337 | <p> |
---|
338 | Adjusts a pointer to the base of a vertex to point at this element. |
---|
339 | <p> |
---|
340 | <dl compact><dt><b>Remarks:</b></dt><dd>This variant is for float pointers, passed as a parameter because we can't rely on covariant return types. </dd></dl> |
---|
341 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
342 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
343 | <tr><td valign=top><em>pBase</em> </td><td>Pointer to the start of a vertex in this buffer. </td></tr> |
---|
344 | <tr><td valign=top><em>pElem</em> </td><td>Pointer to a pointer which will be set to the start of this element. </td></tr> |
---|
345 | </table> |
---|
346 | </dl> |
---|
347 | |
---|
348 | <p> |
---|
349 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00191">191</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. </td> |
---|
350 | </tr> |
---|
351 | </table> |
---|
352 | <a class="anchor" name="Ogre_1_1VertexElementa8" doxytag="Ogre::VertexElement::baseVertexPointerToElement" ></a><p> |
---|
353 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
354 | <tr> |
---|
355 | <td class="mdRow"> |
---|
356 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
357 | <tr> |
---|
358 | <td class="md" nowrap valign="top"> void Ogre::VertexElement::baseVertexPointerToElement </td> |
---|
359 | <td class="md" valign="top">( </td> |
---|
360 | <td class="md" nowrap valign="top">void * </td> |
---|
361 | <td class="mdname" nowrap> <em>pBase</em>, </td> |
---|
362 | </tr> |
---|
363 | <tr> |
---|
364 | <td class="md" nowrap align="right"></td> |
---|
365 | <td></td> |
---|
366 | <td class="md" nowrap>void ** </td> |
---|
367 | <td class="mdname" nowrap> <em>pElem</em></td> |
---|
368 | </tr> |
---|
369 | <tr> |
---|
370 | <td></td> |
---|
371 | <td class="md">) </td> |
---|
372 | <td class="md" colspan="2"> const</td> |
---|
373 | </tr> |
---|
374 | |
---|
375 | </table> |
---|
376 | </td> |
---|
377 | </tr> |
---|
378 | </table> |
---|
379 | <table cellspacing=5 cellpadding=0 border=0> |
---|
380 | <tr> |
---|
381 | <td> |
---|
382 | |
---|
383 | </td> |
---|
384 | <td> |
---|
385 | |
---|
386 | <p> |
---|
387 | Adjusts a pointer to the base of a vertex to point at this element. |
---|
388 | <p> |
---|
389 | <dl compact><dt><b>Remarks:</b></dt><dd>This variant is for void pointers, passed as a parameter because we can't rely on covariant return types. </dd></dl> |
---|
390 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
391 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
392 | <tr><td valign=top><em>pBase</em> </td><td>Pointer to the start of a vertex in this buffer. </td></tr> |
---|
393 | <tr><td valign=top><em>pElem</em> </td><td>Pointer to a pointer which will be set to the start of this element. </td></tr> |
---|
394 | </table> |
---|
395 | </dl> |
---|
396 | |
---|
397 | <p> |
---|
398 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00177">177</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. </td> |
---|
399 | </tr> |
---|
400 | </table> |
---|
401 | <a class="anchor" name="Ogre_1_1VertexElemente3" doxytag="Ogre::VertexElement::getBaseType" ></a><p> |
---|
402 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
403 | <tr> |
---|
404 | <td class="mdRow"> |
---|
405 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
406 | <tr> |
---|
407 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a656">VertexElementType</a> Ogre::VertexElement::getBaseType </td> |
---|
408 | <td class="md" valign="top">( </td> |
---|
409 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td> |
---|
410 | <td class="mdname1" valign="top" nowrap> <em>multiType</em> </td> |
---|
411 | <td class="md" valign="top"> ) </td> |
---|
412 | <td class="md" nowrap><code> [static]</code></td> |
---|
413 | </tr> |
---|
414 | |
---|
415 | </table> |
---|
416 | </td> |
---|
417 | </tr> |
---|
418 | </table> |
---|
419 | <table cellspacing=5 cellpadding=0 border=0> |
---|
420 | <tr> |
---|
421 | <td> |
---|
422 | |
---|
423 | </td> |
---|
424 | <td> |
---|
425 | |
---|
426 | <p> |
---|
427 | Simple converter function which will a type into it's single-value equivalent - makes switches on type easier. |
---|
428 | <p> |
---|
429 | </td> |
---|
430 | </tr> |
---|
431 | </table> |
---|
432 | <a class="anchor" name="Ogre_1_1VertexElementa5" doxytag="Ogre::VertexElement::getIndex" ></a><p> |
---|
433 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
434 | <tr> |
---|
435 | <td class="mdRow"> |
---|
436 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
437 | <tr> |
---|
438 | <td class="md" nowrap valign="top"> unsigned short Ogre::VertexElement::getIndex </td> |
---|
439 | <td class="md" valign="top">( </td> |
---|
440 | <td class="md" nowrap valign="top">void </td> |
---|
441 | <td class="mdname1" valign="top" nowrap> </td> |
---|
442 | <td class="md" valign="top"> ) </td> |
---|
443 | <td class="md" nowrap> const</td> |
---|
444 | </tr> |
---|
445 | |
---|
446 | </table> |
---|
447 | </td> |
---|
448 | </tr> |
---|
449 | </table> |
---|
450 | <table cellspacing=5 cellpadding=0 border=0> |
---|
451 | <tr> |
---|
452 | <td> |
---|
453 | |
---|
454 | </td> |
---|
455 | <td> |
---|
456 | |
---|
457 | <p> |
---|
458 | Gets the index of this element, only applicable for repeating elements. |
---|
459 | <p> |
---|
460 | |
---|
461 | <p> |
---|
462 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00142">142</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. </td> |
---|
463 | </tr> |
---|
464 | </table> |
---|
465 | <a class="anchor" name="Ogre_1_1VertexElementa2" doxytag="Ogre::VertexElement::getOffset" ></a><p> |
---|
466 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
467 | <tr> |
---|
468 | <td class="mdRow"> |
---|
469 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
470 | <tr> |
---|
471 | <td class="md" nowrap valign="top"> size_t Ogre::VertexElement::getOffset </td> |
---|
472 | <td class="md" valign="top">( </td> |
---|
473 | <td class="md" nowrap valign="top">void </td> |
---|
474 | <td class="mdname1" valign="top" nowrap> </td> |
---|
475 | <td class="md" valign="top"> ) </td> |
---|
476 | <td class="md" nowrap> const</td> |
---|
477 | </tr> |
---|
478 | |
---|
479 | </table> |
---|
480 | </td> |
---|
481 | </tr> |
---|
482 | </table> |
---|
483 | <table cellspacing=5 cellpadding=0 border=0> |
---|
484 | <tr> |
---|
485 | <td> |
---|
486 | |
---|
487 | </td> |
---|
488 | <td> |
---|
489 | |
---|
490 | <p> |
---|
491 | Gets the offset into the buffer where this element starts. |
---|
492 | <p> |
---|
493 | |
---|
494 | <p> |
---|
495 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00136">136</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. </td> |
---|
496 | </tr> |
---|
497 | </table> |
---|
498 | <a class="anchor" name="Ogre_1_1VertexElementa4" doxytag="Ogre::VertexElement::getSemantic" ></a><p> |
---|
499 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
500 | <tr> |
---|
501 | <td class="mdRow"> |
---|
502 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
503 | <tr> |
---|
504 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a655">VertexElementSemantic</a> Ogre::VertexElement::getSemantic </td> |
---|
505 | <td class="md" valign="top">( </td> |
---|
506 | <td class="md" nowrap valign="top">void </td> |
---|
507 | <td class="mdname1" valign="top" nowrap> </td> |
---|
508 | <td class="md" valign="top"> ) </td> |
---|
509 | <td class="md" nowrap> const</td> |
---|
510 | </tr> |
---|
511 | |
---|
512 | </table> |
---|
513 | </td> |
---|
514 | </tr> |
---|
515 | </table> |
---|
516 | <table cellspacing=5 cellpadding=0 border=0> |
---|
517 | <tr> |
---|
518 | <td> |
---|
519 | |
---|
520 | </td> |
---|
521 | <td> |
---|
522 | |
---|
523 | <p> |
---|
524 | Gets the meaning of this element. |
---|
525 | <p> |
---|
526 | |
---|
527 | <p> |
---|
528 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00140">140</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
529 | <p> |
---|
530 | References <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00070">Ogre::VertexElementSemantic</a>. </td> |
---|
531 | </tr> |
---|
532 | </table> |
---|
533 | <a class="anchor" name="Ogre_1_1VertexElementa6" doxytag="Ogre::VertexElement::getSize" ></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"> size_t Ogre::VertexElement::getSize </td> |
---|
540 | <td class="md" valign="top">( </td> |
---|
541 | <td class="md" nowrap valign="top">void </td> |
---|
542 | <td class="mdname1" valign="top" nowrap> </td> |
---|
543 | <td class="md" valign="top"> ) </td> |
---|
544 | <td class="md" nowrap> const</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 | |
---|
555 | </td> |
---|
556 | <td> |
---|
557 | |
---|
558 | <p> |
---|
559 | Gets the size of this element in bytes. |
---|
560 | <p> |
---|
561 | </td> |
---|
562 | </tr> |
---|
563 | </table> |
---|
564 | <a class="anchor" name="Ogre_1_1VertexElementa1" doxytag="Ogre::VertexElement::getSource" ></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::VertexElement::getSource </td> |
---|
571 | <td class="md" valign="top">( </td> |
---|
572 | <td class="md" nowrap valign="top">void </td> |
---|
573 | <td class="mdname1" valign="top" nowrap> </td> |
---|
574 | <td class="md" valign="top"> ) </td> |
---|
575 | <td class="md" nowrap> const</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 | |
---|
586 | </td> |
---|
587 | <td> |
---|
588 | |
---|
589 | <p> |
---|
590 | Gets the vertex buffer index from where this element draws it's values. |
---|
591 | <p> |
---|
592 | |
---|
593 | <p> |
---|
594 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00134">134</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. </td> |
---|
595 | </tr> |
---|
596 | </table> |
---|
597 | <a class="anchor" name="Ogre_1_1VertexElementa3" doxytag="Ogre::VertexElement::getType" ></a><p> |
---|
598 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
599 | <tr> |
---|
600 | <td class="mdRow"> |
---|
601 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
602 | <tr> |
---|
603 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a656">VertexElementType</a> Ogre::VertexElement::getType </td> |
---|
604 | <td class="md" valign="top">( </td> |
---|
605 | <td class="md" nowrap valign="top">void </td> |
---|
606 | <td class="mdname1" valign="top" nowrap> </td> |
---|
607 | <td class="md" valign="top"> ) </td> |
---|
608 | <td class="md" nowrap> const</td> |
---|
609 | </tr> |
---|
610 | |
---|
611 | </table> |
---|
612 | </td> |
---|
613 | </tr> |
---|
614 | </table> |
---|
615 | <table cellspacing=5 cellpadding=0 border=0> |
---|
616 | <tr> |
---|
617 | <td> |
---|
618 | |
---|
619 | </td> |
---|
620 | <td> |
---|
621 | |
---|
622 | <p> |
---|
623 | Gets the data format of this element. |
---|
624 | <p> |
---|
625 | |
---|
626 | <p> |
---|
627 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00138">138</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
628 | <p> |
---|
629 | References <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00093">Ogre::VertexElementType</a>. </td> |
---|
630 | </tr> |
---|
631 | </table> |
---|
632 | <a class="anchor" name="Ogre_1_1VertexElemente1" doxytag="Ogre::VertexElement::getTypeCount" ></a><p> |
---|
633 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
634 | <tr> |
---|
635 | <td class="mdRow"> |
---|
636 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
637 | <tr> |
---|
638 | <td class="md" nowrap valign="top"> unsigned short Ogre::VertexElement::getTypeCount </td> |
---|
639 | <td class="md" valign="top">( </td> |
---|
640 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td> |
---|
641 | <td class="mdname1" valign="top" nowrap> <em>etype</em> </td> |
---|
642 | <td class="md" valign="top"> ) </td> |
---|
643 | <td class="md" nowrap><code> [static]</code></td> |
---|
644 | </tr> |
---|
645 | |
---|
646 | </table> |
---|
647 | </td> |
---|
648 | </tr> |
---|
649 | </table> |
---|
650 | <table cellspacing=5 cellpadding=0 border=0> |
---|
651 | <tr> |
---|
652 | <td> |
---|
653 | |
---|
654 | </td> |
---|
655 | <td> |
---|
656 | |
---|
657 | <p> |
---|
658 | Utility method which returns the count of values in a given type. |
---|
659 | <p> |
---|
660 | </td> |
---|
661 | </tr> |
---|
662 | </table> |
---|
663 | <a class="anchor" name="Ogre_1_1VertexElemente0" doxytag="Ogre::VertexElement::getTypeSize" ></a><p> |
---|
664 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
665 | <tr> |
---|
666 | <td class="mdRow"> |
---|
667 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
668 | <tr> |
---|
669 | <td class="md" nowrap valign="top"> size_t Ogre::VertexElement::getTypeSize </td> |
---|
670 | <td class="md" valign="top">( </td> |
---|
671 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td> |
---|
672 | <td class="mdname1" valign="top" nowrap> <em>etype</em> </td> |
---|
673 | <td class="md" valign="top"> ) </td> |
---|
674 | <td class="md" nowrap><code> [static]</code></td> |
---|
675 | </tr> |
---|
676 | |
---|
677 | </table> |
---|
678 | </td> |
---|
679 | </tr> |
---|
680 | </table> |
---|
681 | <table cellspacing=5 cellpadding=0 border=0> |
---|
682 | <tr> |
---|
683 | <td> |
---|
684 | |
---|
685 | </td> |
---|
686 | <td> |
---|
687 | |
---|
688 | <p> |
---|
689 | Utility method for helping to calculate offsets. |
---|
690 | <p> |
---|
691 | </td> |
---|
692 | </tr> |
---|
693 | </table> |
---|
694 | <a class="anchor" name="Ogre_1_1VertexElemente2" doxytag="Ogre::VertexElement::multiplyTypeCount" ></a><p> |
---|
695 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
696 | <tr> |
---|
697 | <td class="mdRow"> |
---|
698 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
699 | <tr> |
---|
700 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a656">VertexElementType</a> Ogre::VertexElement::multiplyTypeCount </td> |
---|
701 | <td class="md" valign="top">( </td> |
---|
702 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a656">VertexElementType</a> </td> |
---|
703 | <td class="mdname" nowrap> <em>baseType</em>, </td> |
---|
704 | </tr> |
---|
705 | <tr> |
---|
706 | <td class="md" nowrap align="right"></td> |
---|
707 | <td></td> |
---|
708 | <td class="md" nowrap>unsigned short </td> |
---|
709 | <td class="mdname" nowrap> <em>count</em></td> |
---|
710 | </tr> |
---|
711 | <tr> |
---|
712 | <td></td> |
---|
713 | <td class="md">) </td> |
---|
714 | <td class="md" colspan="2"><code> [static]</code></td> |
---|
715 | </tr> |
---|
716 | |
---|
717 | </table> |
---|
718 | </td> |
---|
719 | </tr> |
---|
720 | </table> |
---|
721 | <table cellspacing=5 cellpadding=0 border=0> |
---|
722 | <tr> |
---|
723 | <td> |
---|
724 | |
---|
725 | </td> |
---|
726 | <td> |
---|
727 | |
---|
728 | <p> |
---|
729 | Simple converter function which will turn a single-value type into a multi-value type based on a parameter. |
---|
730 | <p> |
---|
731 | </td> |
---|
732 | </tr> |
---|
733 | </table> |
---|
734 | <a class="anchor" name="Ogre_1_1VertexElementa7" doxytag="Ogre::VertexElement::operator==" ></a><p> |
---|
735 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
736 | <tr> |
---|
737 | <td class="mdRow"> |
---|
738 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
739 | <tr> |
---|
740 | <td class="md" nowrap valign="top"> bool Ogre::VertexElement::operator== </td> |
---|
741 | <td class="md" valign="top">( </td> |
---|
742 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1VertexElement.html">VertexElement</a> & </td> |
---|
743 | <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> |
---|
744 | <td class="md" valign="top"> ) </td> |
---|
745 | <td class="md" nowrap> const</td> |
---|
746 | </tr> |
---|
747 | |
---|
748 | </table> |
---|
749 | </td> |
---|
750 | </tr> |
---|
751 | </table> |
---|
752 | <table cellspacing=5 cellpadding=0 border=0> |
---|
753 | <tr> |
---|
754 | <td> |
---|
755 | |
---|
756 | </td> |
---|
757 | <td> |
---|
758 | |
---|
759 | <p> |
---|
760 | |
---|
761 | <p> |
---|
762 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00158">158</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
763 | <p> |
---|
764 | References <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00128">mIndex</a>, <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00122">mOffset</a>, <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00126">mSemantic</a>, <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00120">mSource</a>, and <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00124">mType</a>. </td> |
---|
765 | </tr> |
---|
766 | </table> |
---|
767 | <hr><h2>Member Data Documentation</h2> |
---|
768 | <a class="anchor" name="Ogre_1_1VertexElementp4" doxytag="Ogre::VertexElement::mIndex" ></a><p> |
---|
769 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
770 | <tr> |
---|
771 | <td class="mdRow"> |
---|
772 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
773 | <tr> |
---|
774 | <td class="md" nowrap valign="top"> unsigned short <a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp4">Ogre::VertexElement::mIndex</a><code> [protected]</code> |
---|
775 | </table> |
---|
776 | </td> |
---|
777 | </tr> |
---|
778 | </table> |
---|
779 | <table cellspacing=5 cellpadding=0 border=0> |
---|
780 | <tr> |
---|
781 | <td> |
---|
782 | |
---|
783 | </td> |
---|
784 | <td> |
---|
785 | |
---|
786 | <p> |
---|
787 | Index of the item, only applicable for some elements like texture coords. |
---|
788 | <p> |
---|
789 | |
---|
790 | <p> |
---|
791 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00128">128</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
792 | <p> |
---|
793 | Referenced by <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00158">operator==()</a>. </td> |
---|
794 | </tr> |
---|
795 | </table> |
---|
796 | <a class="anchor" name="Ogre_1_1VertexElementp1" doxytag="Ogre::VertexElement::mOffset" ></a><p> |
---|
797 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
798 | <tr> |
---|
799 | <td class="mdRow"> |
---|
800 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
801 | <tr> |
---|
802 | <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp1">Ogre::VertexElement::mOffset</a><code> [protected]</code> |
---|
803 | </table> |
---|
804 | </td> |
---|
805 | </tr> |
---|
806 | </table> |
---|
807 | <table cellspacing=5 cellpadding=0 border=0> |
---|
808 | <tr> |
---|
809 | <td> |
---|
810 | |
---|
811 | </td> |
---|
812 | <td> |
---|
813 | |
---|
814 | <p> |
---|
815 | The offset in the buffer that this element starts at. |
---|
816 | <p> |
---|
817 | |
---|
818 | <p> |
---|
819 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00122">122</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
820 | <p> |
---|
821 | Referenced by <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00158">operator==()</a>. </td> |
---|
822 | </tr> |
---|
823 | </table> |
---|
824 | <a class="anchor" name="Ogre_1_1VertexElementp3" doxytag="Ogre::VertexElement::mSemantic" ></a><p> |
---|
825 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
826 | <tr> |
---|
827 | <td class="mdRow"> |
---|
828 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
829 | <tr> |
---|
830 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a655">VertexElementSemantic</a> <a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp3">Ogre::VertexElement::mSemantic</a><code> [protected]</code> |
---|
831 | </table> |
---|
832 | </td> |
---|
833 | </tr> |
---|
834 | </table> |
---|
835 | <table cellspacing=5 cellpadding=0 border=0> |
---|
836 | <tr> |
---|
837 | <td> |
---|
838 | |
---|
839 | </td> |
---|
840 | <td> |
---|
841 | |
---|
842 | <p> |
---|
843 | The meaning of the element. |
---|
844 | <p> |
---|
845 | |
---|
846 | <p> |
---|
847 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00126">126</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
848 | <p> |
---|
849 | Referenced by <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00158">operator==()</a>. </td> |
---|
850 | </tr> |
---|
851 | </table> |
---|
852 | <a class="anchor" name="Ogre_1_1VertexElementp0" doxytag="Ogre::VertexElement::mSource" ></a><p> |
---|
853 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
854 | <tr> |
---|
855 | <td class="mdRow"> |
---|
856 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
857 | <tr> |
---|
858 | <td class="md" nowrap valign="top"> unsigned short <a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp0">Ogre::VertexElement::mSource</a><code> [protected]</code> |
---|
859 | </table> |
---|
860 | </td> |
---|
861 | </tr> |
---|
862 | </table> |
---|
863 | <table cellspacing=5 cellpadding=0 border=0> |
---|
864 | <tr> |
---|
865 | <td> |
---|
866 | |
---|
867 | </td> |
---|
868 | <td> |
---|
869 | |
---|
870 | <p> |
---|
871 | The source vertex buffer, as bound to an index using <a class="el" href="classOgre_1_1VertexBufferBinding.html">VertexBufferBinding</a>. |
---|
872 | <p> |
---|
873 | |
---|
874 | <p> |
---|
875 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00120">120</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
876 | <p> |
---|
877 | Referenced by <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00158">operator==()</a>. </td> |
---|
878 | </tr> |
---|
879 | </table> |
---|
880 | <a class="anchor" name="Ogre_1_1VertexElementp2" doxytag="Ogre::VertexElement::mType" ></a><p> |
---|
881 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
882 | <tr> |
---|
883 | <td class="mdRow"> |
---|
884 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
885 | <tr> |
---|
886 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a656">VertexElementType</a> <a class="el" href="classOgre_1_1VertexElement.html#Ogre_1_1VertexElementp2">Ogre::VertexElement::mType</a><code> [protected]</code> |
---|
887 | </table> |
---|
888 | </td> |
---|
889 | </tr> |
---|
890 | </table> |
---|
891 | <table cellspacing=5 cellpadding=0 border=0> |
---|
892 | <tr> |
---|
893 | <td> |
---|
894 | |
---|
895 | </td> |
---|
896 | <td> |
---|
897 | |
---|
898 | <p> |
---|
899 | The type of element. |
---|
900 | <p> |
---|
901 | |
---|
902 | <p> |
---|
903 | Definition at line <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00124">124</a> of file <a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a>. |
---|
904 | <p> |
---|
905 | Referenced by <a class="el" href="OgreHardwareVertexBuffer_8h-source.html#l00158">operator==()</a>. </td> |
---|
906 | </tr> |
---|
907 | </table> |
---|
908 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
909 | <li><a class="el" href="OgreHardwareVertexBuffer_8h-source.html">OgreHardwareVertexBuffer.h</a></ul> |
---|
910 | <hr> |
---|
911 | <p> |
---|
912 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
913 | <!--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/> |
---|
914 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
915 | <!--/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#"> |
---|
916 | <Work rdf:about=""> |
---|
917 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
918 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
919 | </Work> |
---|
920 | <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> --> |
---|
921 | |
---|
922 | Last modified Sun Feb 12 13:00:44 2006 |
---|
923 | </p> |
---|
924 | </body> |
---|
925 | </html> |
---|