source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1GLHardwareIndexBuffer.html @ 657

Revision 657, 68.7 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::GLHardwareIndexBuffer 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::GLHardwareIndexBuffer Class Reference</h1><code>#include &lt;<a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html">OgreGLHardwareIndexBuffer.h</a>&gt;</code>
11<p>
12<p>Inheritance diagram for Ogre::GLHardwareIndexBuffer:
13<p><center><img src="classOgre_1_1GLHardwareIndexBuffer.png" usemap="#Ogre::GLHardwareIndexBuffer_map" border="0" alt=""></center>
14<map name="Ogre::GLHardwareIndexBuffer_map">
15<area href="classOgre_1_1HardwareIndexBuffer.html" alt="Ogre::HardwareIndexBuffer" shape="rect" coords="0,56,184,80">
16<area href="classOgre_1_1HardwareBuffer.html" alt="Ogre::HardwareBuffer" shape="rect" coords="0,0,184,24">
17</map>
18<a href="classOgre_1_1GLHardwareIndexBuffer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
19<tr><td></td></tr>
20<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
21<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">IndexType</a> { <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2Ogre_1_1HardwareIndexBufferw0">IT_16BIT</a>,
22<a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2Ogre_1_1HardwareIndexBufferw1">IT_32BIT</a>
23 }</td></tr>
24
25<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a> { <br>
26&nbsp;&nbsp;<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw0">HBU_STATIC</a> =  1,
27<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw1">HBU_DYNAMIC</a> =  2,
28<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw2">HBU_WRITE_ONLY</a> =  4,
29<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw3">HBU_DISCARDABLE</a> =  8,
30<br>
31&nbsp;&nbsp;<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw4">HBU_STATIC_WRITE_ONLY</a> =  5,
32<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw5">HBU_DYNAMIC_WRITE_ONLY</a> =  6,
33<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw6">HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE</a> =  14
34<br>
35 }</td></tr>
36
37<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enums describing buffer usage; not mutually exclusive.  <a href="#Ogre_1_1HardwareVertexBufferw11">More...</a><br><br></td></tr>
38<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> { <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw7">HBL_NORMAL</a>,
39<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw8">HBL_DISCARD</a>,
40<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw9">HBL_READ_ONLY</a>,
41<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw10">HBL_NO_OVERWRITE</a>
42 }</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Locking options.  <a href="#Ogre_1_1HardwareVertexBufferw12">More...</a><br><br></td></tr>
45<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
46<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBuffera0">GLHardwareIndexBuffer</a> (<a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">IndexType</a> idxType, size_t numIndexes, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> usage, bool useShadowBuffer)</td></tr>
47
48<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBuffera1">~GLHardwareIndexBuffer</a> ()</td></tr>
49
50<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBuffera2">readData</a> (size_t offset, size_t length, void *pDest)</td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.  <a href="#Ogre_1_1GLHardwareIndexBuffera2"></a><br><br></td></tr>
53<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBuffera3">writeData</a> (size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)</td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.  <a href="#Ogre_1_1GLHardwareIndexBuffera3"></a><br><br></td></tr>
56<tr><td class="memItemLeft" nowrap align=right valign=top>GLuint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBuffera4">getGLBufferId</a> (void) const </td></tr>
57
58<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">IndexType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBuffera2">getType</a> (void) const </td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the type of indexes used in this buffer.  <a href="#Ogre_1_1HardwareIndexBuffera2"></a><br><br></td></tr>
61<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBuffera3">getNumIndexes</a> (void) const </td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of indexes in this buffer.  <a href="#Ogre_1_1HardwareIndexBuffera3"></a><br><br></td></tr>
64<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBuffera4">getIndexSize</a> (void) const </td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the size in bytes of each index.  <a href="#Ogre_1_1HardwareIndexBuffera4"></a><br><br></td></tr>
67<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera4">lock</a> (size_t offset, size_t length, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock the buffer for (potentially) reading / writing.  <a href="#Ogre_1_1HardwareVertexBuffera4"></a><br><br></td></tr>
70<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera5">lock</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock the entire buffer for (potentially) reading / writing.  <a href="#Ogre_1_1HardwareVertexBuffera5"></a><br><br></td></tr>
73<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera6">unlock</a> (void)</td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Releases the lock on this buffer.  <a href="#Ogre_1_1HardwareVertexBuffera6"></a><br><br></td></tr>
76<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera9">copyData</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> &amp;srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy data from another buffer into this one.  <a href="#Ogre_1_1HardwareVertexBuffera9"></a><br><br></td></tr>
79<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera10">_updateFromShadow</a> (void)</td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates the real buffer from the shadow buffer, if required.  <a href="#Ogre_1_1HardwareVertexBuffera10"></a><br><br></td></tr>
82<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera11">getSizeInBytes</a> (void) const </td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the size of this buffer in bytes.  <a href="#Ogre_1_1HardwareVertexBuffera11"></a><br><br></td></tr>
85<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera12">getUsage</a> (void) const </td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the Usage flags with which this buffer was created.  <a href="#Ogre_1_1HardwareVertexBuffera12"></a><br><br></td></tr>
88<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera13">isSystemMemory</a> (void) const </td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether this buffer is held in system memory.  <a href="#Ogre_1_1HardwareVertexBuffera13"></a><br><br></td></tr>
91<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera14">hasShadowBuffer</a> (void) const </td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether this buffer has a system memory shadow for quicker reading.  <a href="#Ogre_1_1HardwareVertexBuffera14"></a><br><br></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera15">isLocked</a> (void) const </td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether or not this buffer is currently locked.  <a href="#Ogre_1_1HardwareVertexBuffera15"></a><br><br></td></tr>
97<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera16">suppressHardwareUpdate</a> (bool suppress)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Pass.html">Pass</a> true to suppress hardware upload of shadow buffer changes.  <a href="#Ogre_1_1HardwareVertexBuffera16"></a><br><br></td></tr>
100<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
101<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBufferb0">lockImpl</a> (size_t offset, size_t length, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.  <a href="#Ogre_1_1GLHardwareIndexBufferb0"></a><br><br></td></tr>
104<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBufferb1">unlockImpl</a> (void)</td></tr>
105
106<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.  <a href="#Ogre_1_1GLHardwareIndexBufferb1"></a><br><br></td></tr>
107<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
108<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">IndexType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferp0">mIndexType</a></td></tr>
109
110<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferp1">mNumIndexes</a></td></tr>
111
112<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferp2">mIndexSize</a></td></tr>
113
114<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp2">mSizeInBytes</a></td></tr>
115
116<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp3">mUsage</a></td></tr>
117
118<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp4">mIsLocked</a></td></tr>
119
120<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp5">mLockStart</a></td></tr>
121
122<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp6">mLockSize</a></td></tr>
123
124<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp7">mSystemMemory</a></td></tr>
125
126<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp8">mUseShadowBuffer</a></td></tr>
127
128<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp9">mpShadowBuffer</a></td></tr>
129
130<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp10">mShadowUpdated</a></td></tr>
131
132<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp11">mSuppressHardwareUpdate</a></td></tr>
133
134<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
135<tr><td class="memItemLeft" nowrap align=right valign=top>GLuint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBufferr0">mBufferId</a></td></tr>
136
137</table>
138<hr><h2>Member Enumeration Documentation</h2>
139<a class="anchor" name="Ogre_1_1HardwareIndexBufferw2" doxytag="Ogre::GLHardwareIndexBuffer::IndexType" ></a><p>
140<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
141  <tr>
142    <td class="mdRow">
143      <table cellpadding="0" cellspacing="0" border="0">
144        <tr>
145          <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">Ogre::HardwareIndexBuffer::IndexType</a><code> [inherited]</code>
146      </table>
147    </td>
148  </tr>
149</table>
150<table cellspacing=5 cellpadding=0 border=0>
151  <tr>
152    <td>
153      &nbsp;
154    </td>
155    <td>
156
157<p>
158<dl compact><dt><b>Enumeration values: </b></dt><dd>
159<table border=0 cellspacing=2 cellpadding=0>
160<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareIndexBufferw2Ogre_1_1HardwareIndexBufferw0" doxytag="IT_16BIT" ></a>IT_16BIT</em>&nbsp;</td><td>
161</td></tr>
162<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareIndexBufferw2Ogre_1_1HardwareIndexBufferw1" doxytag="IT_32BIT" ></a>IT_32BIT</em>&nbsp;</td><td>
163</td></tr>
164</table>
165</dl>
166
167<p>
168Definition at line <a class="el" href="OgreHardwareIndexBuffer_8h-source.html#l00039">39</a> of file <a class="el" href="OgreHardwareIndexBuffer_8h-source.html">OgreHardwareIndexBuffer.h</a>.    </td>
169  </tr>
170</table>
171<a class="anchor" name="Ogre_1_1HardwareVertexBufferw12" doxytag="Ogre::GLHardwareIndexBuffer::LockOptions" ></a><p>
172<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
173  <tr>
174    <td class="mdRow">
175      <table cellpadding="0" cellspacing="0" border="0">
176        <tr>
177          <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">Ogre::HardwareBuffer::LockOptions</a><code> [inherited]</code>
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>
190Locking options.
191<p>
192<dl compact><dt><b>Enumeration values: </b></dt><dd>
193<table border=0 cellspacing=2 cellpadding=0>
194<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw7" doxytag="HBL_NORMAL" ></a>HBL_NORMAL</em>&nbsp;</td><td>
195Normal mode, ie allows read/write and contents are preserved. </td></tr>
196<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw8" doxytag="HBL_DISCARD" ></a>HBL_DISCARD</em>&nbsp;</td><td>
197Discards the <em>entire</em> buffer while locking; this allows optimisation to be performed because synchronisation issues are relaxed.
198<p>
199Only allowed on buffers created with the HBU_DYNAMIC flag.</td></tr>
200<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw9" doxytag="HBL_READ_ONLY" ></a>HBL_READ_ONLY</em>&nbsp;</td><td>
201Lock the buffer for reading only.
202<p>
203Not allowed in buffers which are created with HBU_WRITE_ONLY. Mandatory on statuc buffers, ie those created without the HBU_DYNAMIC flag.</td></tr>
204<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw10" doxytag="HBL_NO_OVERWRITE" ></a>HBL_NO_OVERWRITE</em>&nbsp;</td><td>
205As HBL_NORMAL, except the application guarantees not to overwrite any region of the buffer which has already been used in this frame, can allow some optimisation on some APIs. </td></tr>
206</table>
207</dl>
208
209<p>
210Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00111">111</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
211  </tr>
212</table>
213<a class="anchor" name="Ogre_1_1HardwareVertexBufferw11" doxytag="Ogre::GLHardwareIndexBuffer::Usage" ></a><p>
214<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
215  <tr>
216    <td class="mdRow">
217      <table cellpadding="0" cellspacing="0" border="0">
218        <tr>
219          <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Ogre::HardwareBuffer::Usage</a><code> [inherited]</code>
220      </table>
221    </td>
222  </tr>
223</table>
224<table cellspacing=5 cellpadding=0 border=0>
225  <tr>
226    <td>
227      &nbsp;
228    </td>
229    <td>
230
231<p>
232Enums describing buffer usage; not mutually exclusive.
233<p>
234<dl compact><dt><b>Enumeration values: </b></dt><dd>
235<table border=0 cellspacing=2 cellpadding=0>
236<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw0" doxytag="HBU_STATIC" ></a>HBU_STATIC</em>&nbsp;</td><td>
237Static buffer which the application rarely modifies once created.
238<p>
239Modifying the contents of this buffer will involve a performance hit. </td></tr>
240<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw1" doxytag="HBU_DYNAMIC" ></a>HBU_DYNAMIC</em>&nbsp;</td><td>
241Indicates the application would like to modify this buffer with the CPU fairly often.
242<p>
243Buffers created with this flag will typically end up in AGP memory rather than video memory.</td></tr>
244<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw2" doxytag="HBU_WRITE_ONLY" ></a>HBU_WRITE_ONLY</em>&nbsp;</td><td>
245Indicates the application will never read the contents of the buffer back, it will only ever write data.
246<p>
247Locking a buffer with this flag will ALWAYS return a pointer to new, blank memory rather than the memory associated with the contents of the buffer; this avoids DMA stalls because you can write to a new memory area while the previous one is being used.</td></tr>
248<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw3" doxytag="HBU_DISCARDABLE" ></a>HBU_DISCARDABLE</em>&nbsp;</td><td>
249Indicates that the application will be refilling the contents of the buffer regularly (not just updating, but generating the contents from scratch), and therefore does not mind if the contents of the buffer are lost somehow and need to be recreated.
250<p>
251This allows and additional level of optimisation on the buffer. This option only really makes sense when combined with HBU_DYNAMIC_WRITE_ONLY. </td></tr>
252<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw4" doxytag="HBU_STATIC_WRITE_ONLY" ></a>HBU_STATIC_WRITE_ONLY</em>&nbsp;</td><td>
253Combination of HBU_STATIC and HBU_WRITE_ONLY. </td></tr>
254<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw5" doxytag="HBU_DYNAMIC_WRITE_ONLY" ></a>HBU_DYNAMIC_WRITE_ONLY</em>&nbsp;</td><td>
255Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
256<p>
257If you use this, strongly consider using HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE instead if you update the entire contents of the buffer very regularly. </td></tr>
258<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw6" doxytag="HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE" ></a>HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE</em>&nbsp;</td><td>
259Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE. </td></tr>
260</table>
261</dl>
262
263<p>
264Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00069">69</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
265  </tr>
266</table>
267<hr><h2>Constructor &amp; Destructor Documentation</h2>
268<a class="anchor" name="Ogre_1_1GLHardwareIndexBuffera0" doxytag="Ogre::GLHardwareIndexBuffer::GLHardwareIndexBuffer" ></a><p>
269<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
270  <tr>
271    <td class="mdRow">
272      <table cellpadding="0" cellspacing="0" border="0">
273        <tr>
274          <td class="md" nowrap valign="top"> Ogre::GLHardwareIndexBuffer::GLHardwareIndexBuffer </td>
275          <td class="md" valign="top">(&nbsp;</td>
276          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">IndexType</a>&nbsp;</td>
277          <td class="mdname" nowrap> <em>idxType</em>, </td>
278        </tr>
279        <tr>
280          <td class="md" nowrap align="right"></td>
281          <td></td>
282          <td class="md" nowrap>size_t&nbsp;</td>
283          <td class="mdname" nowrap> <em>numIndexes</em>, </td>
284        </tr>
285        <tr>
286          <td class="md" nowrap align="right"></td>
287          <td></td>
288          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
289          <td class="mdname" nowrap> <em>usage</em>, </td>
290        </tr>
291        <tr>
292          <td class="md" nowrap align="right"></td>
293          <td></td>
294          <td class="md" nowrap>bool&nbsp;</td>
295          <td class="mdname" nowrap> <em>useShadowBuffer</em></td>
296        </tr>
297        <tr>
298          <td></td>
299          <td class="md">)&nbsp;</td>
300          <td class="md" colspan="2"></td>
301        </tr>
302
303      </table>
304    </td>
305  </tr>
306</table>
307<table cellspacing=5 cellpadding=0 border=0>
308  <tr>
309    <td>
310      &nbsp;
311    </td>
312    <td>
313
314<p>
315    </td>
316  </tr>
317</table>
318<a class="anchor" name="Ogre_1_1GLHardwareIndexBuffera1" doxytag="Ogre::GLHardwareIndexBuffer::~GLHardwareIndexBuffer" ></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"> Ogre::GLHardwareIndexBuffer::~<a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html">GLHardwareIndexBuffer</a> </td>
325          <td class="md" valign="top">(&nbsp;</td>
326          <td class="mdname1" valign="top" nowrap>          </td>
327          <td class="md" valign="top">&nbsp;)&nbsp;</td>
328          <td class="md" nowrap></td>
329        </tr>
330
331      </table>
332    </td>
333  </tr>
334</table>
335<table cellspacing=5 cellpadding=0 border=0>
336  <tr>
337    <td>
338      &nbsp;
339    </td>
340    <td>
341
342<p>
343    </td>
344  </tr>
345</table>
346<hr><h2>Member Function Documentation</h2>
347<a class="anchor" name="Ogre_1_1HardwareVertexBuffera10" doxytag="Ogre::GLHardwareIndexBuffer::_updateFromShadow" ></a><p>
348<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
349  <tr>
350    <td class="mdRow">
351      <table cellpadding="0" cellspacing="0" border="0">
352        <tr>
353          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::_updateFromShadow </td>
354          <td class="md" valign="top">(&nbsp;</td>
355          <td class="md" nowrap valign="top">void&nbsp;</td>
356          <td class="mdname1" valign="top" nowrap>          </td>
357          <td class="md" valign="top">&nbsp;)&nbsp;</td>
358          <td class="md" nowrap><code> [virtual, inherited]</code></td>
359        </tr>
360
361      </table>
362    </td>
363  </tr>
364</table>
365<table cellspacing=5 cellpadding=0 border=0>
366  <tr>
367    <td>
368      &nbsp;
369    </td>
370    <td>
371
372<p>
373Updates the real buffer from the shadow buffer, if required.
374<p>
375
376<p>
377Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00275">275</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
378  </tr>
379</table>
380<a class="anchor" name="Ogre_1_1HardwareVertexBuffera9" doxytag="Ogre::GLHardwareIndexBuffer::copyData" ></a><p>
381<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
382  <tr>
383    <td class="mdRow">
384      <table cellpadding="0" cellspacing="0" border="0">
385        <tr>
386          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::copyData </td>
387          <td class="md" valign="top">(&nbsp;</td>
388          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> &amp;&nbsp;</td>
389          <td class="mdname" nowrap> <em>srcBuffer</em>, </td>
390        </tr>
391        <tr>
392          <td class="md" nowrap align="right"></td>
393          <td></td>
394          <td class="md" nowrap>size_t&nbsp;</td>
395          <td class="mdname" nowrap> <em>srcOffset</em>, </td>
396        </tr>
397        <tr>
398          <td class="md" nowrap align="right"></td>
399          <td></td>
400          <td class="md" nowrap>size_t&nbsp;</td>
401          <td class="mdname" nowrap> <em>dstOffset</em>, </td>
402        </tr>
403        <tr>
404          <td class="md" nowrap align="right"></td>
405          <td></td>
406          <td class="md" nowrap>size_t&nbsp;</td>
407          <td class="mdname" nowrap> <em>length</em>, </td>
408        </tr>
409        <tr>
410          <td class="md" nowrap align="right"></td>
411          <td></td>
412          <td class="md" nowrap>bool&nbsp;</td>
413          <td class="mdname" nowrap> <em>discardWholeBuffer</em> = false</td>
414        </tr>
415        <tr>
416          <td></td>
417          <td class="md">)&nbsp;</td>
418          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
419        </tr>
420
421      </table>
422    </td>
423  </tr>
424</table>
425<table cellspacing=5 cellpadding=0 border=0>
426  <tr>
427    <td>
428      &nbsp;
429    </td>
430    <td>
431
432<p>
433Copy data from another buffer into this one.
434<p>
435<dl compact><dt><b>Remarks:</b></dt><dd>Note that the source buffer must not be created with the usage HBU_WRITE_ONLY otherwise this will fail. </dd></dl>
436<dl compact><dt><b>Parameters:</b></dt><dd>
437  <table border="0" cellspacing="2" cellpadding="0">
438    <tr><td valign=top><em>srcBuffer</em>&nbsp;</td><td>The buffer from which to read the copied data </td></tr>
439    <tr><td valign=top><em>srcOffset</em>&nbsp;</td><td>Offset in the source buffer at which to start reading </td></tr>
440    <tr><td valign=top><em>dstOffset</em>&nbsp;</td><td>Offset in the destination buffer to start writing </td></tr>
441    <tr><td valign=top><em>length</em>&nbsp;</td><td>Length of the data to copy, in bytes. </td></tr>
442    <tr><td valign=top><em>discardWholeBuffer</em>&nbsp;</td><td>If true, will discard the entire contents of this buffer before copying</td></tr>
443  </table>
444</dl>
445
446<p>
447Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00265">265</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.
448<p>
449References <a class="el" href="OgreHardwareBuffer_8h-source.html#l00171">Ogre::HardwareBuffer::lock()</a>, and <a class="el" href="OgreHardwareBuffer_8h-source.html#l00217">Ogre::HardwareBuffer::unlock()</a>.    </td>
450  </tr>
451</table>
452<a class="anchor" name="Ogre_1_1GLHardwareIndexBuffera4" doxytag="Ogre::GLHardwareIndexBuffer::getGLBufferId" ></a><p>
453<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
454  <tr>
455    <td class="mdRow">
456      <table cellpadding="0" cellspacing="0" border="0">
457        <tr>
458          <td class="md" nowrap valign="top"> GLuint Ogre::GLHardwareIndexBuffer::getGLBufferId </td>
459          <td class="md" valign="top">(&nbsp;</td>
460          <td class="md" nowrap valign="top">void&nbsp;</td>
461          <td class="mdname1" valign="top" nowrap>          </td>
462          <td class="md" valign="top">&nbsp;)&nbsp;</td>
463          <td class="md" nowrap> const</td>
464        </tr>
465
466      </table>
467    </td>
468  </tr>
469</table>
470<table cellspacing=5 cellpadding=0 border=0>
471  <tr>
472    <td>
473      &nbsp;
474    </td>
475    <td>
476
477<p>
478
479<p>
480Definition at line <a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html#l00053">53</a> of file <a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html">OgreGLHardwareIndexBuffer.h</a>.
481<p>
482References <a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html#l00037">mBufferId</a>.    </td>
483  </tr>
484</table>
485<a class="anchor" name="Ogre_1_1HardwareIndexBuffera4" doxytag="Ogre::GLHardwareIndexBuffer::getIndexSize" ></a><p>
486<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
487  <tr>
488    <td class="mdRow">
489      <table cellpadding="0" cellspacing="0" border="0">
490        <tr>
491          <td class="md" nowrap valign="top"> size_t Ogre::HardwareIndexBuffer::getIndexSize </td>
492          <td class="md" valign="top">(&nbsp;</td>
493          <td class="md" nowrap valign="top">void&nbsp;</td>
494          <td class="mdname1" valign="top" nowrap>          </td>
495          <td class="md" valign="top">&nbsp;)&nbsp;</td>
496          <td class="md" nowrap> const<code> [inherited]</code></td>
497        </tr>
498
499      </table>
500    </td>
501  </tr>
502</table>
503<table cellspacing=5 cellpadding=0 border=0>
504  <tr>
505    <td>
506      &nbsp;
507    </td>
508    <td>
509
510<p>
511Get the size in bytes of each index.
512<p>
513
514<p>
515Definition at line <a class="el" href="OgreHardwareIndexBuffer_8h-source.html#l00059">59</a> of file <a class="el" href="OgreHardwareIndexBuffer_8h-source.html">OgreHardwareIndexBuffer.h</a>.    </td>
516  </tr>
517</table>
518<a class="anchor" name="Ogre_1_1HardwareIndexBuffera3" doxytag="Ogre::GLHardwareIndexBuffer::getNumIndexes" ></a><p>
519<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
520  <tr>
521    <td class="mdRow">
522      <table cellpadding="0" cellspacing="0" border="0">
523        <tr>
524          <td class="md" nowrap valign="top"> size_t Ogre::HardwareIndexBuffer::getNumIndexes </td>
525          <td class="md" valign="top">(&nbsp;</td>
526          <td class="md" nowrap valign="top">void&nbsp;</td>
527          <td class="mdname1" valign="top" nowrap>          </td>
528          <td class="md" valign="top">&nbsp;)&nbsp;</td>
529          <td class="md" nowrap> const<code> [inherited]</code></td>
530        </tr>
531
532      </table>
533    </td>
534  </tr>
535</table>
536<table cellspacing=5 cellpadding=0 border=0>
537  <tr>
538    <td>
539      &nbsp;
540    </td>
541    <td>
542
543<p>
544Get the number of indexes in this buffer.
545<p>
546
547<p>
548Definition at line <a class="el" href="OgreHardwareIndexBuffer_8h-source.html#l00057">57</a> of file <a class="el" href="OgreHardwareIndexBuffer_8h-source.html">OgreHardwareIndexBuffer.h</a>.    </td>
549  </tr>
550</table>
551<a class="anchor" name="Ogre_1_1HardwareVertexBuffera11" doxytag="Ogre::GLHardwareIndexBuffer::getSizeInBytes" ></a><p>
552<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
553  <tr>
554    <td class="mdRow">
555      <table cellpadding="0" cellspacing="0" border="0">
556        <tr>
557          <td class="md" nowrap valign="top"> size_t Ogre::HardwareBuffer::getSizeInBytes </td>
558          <td class="md" valign="top">(&nbsp;</td>
559          <td class="md" nowrap valign="top">void&nbsp;</td>
560          <td class="mdname1" valign="top" nowrap>          </td>
561          <td class="md" valign="top">&nbsp;)&nbsp;</td>
562          <td class="md" nowrap> const<code> [inherited]</code></td>
563        </tr>
564
565      </table>
566    </td>
567  </tr>
568</table>
569<table cellspacing=5 cellpadding=0 border=0>
570  <tr>
571    <td>
572      &nbsp;
573    </td>
574    <td>
575
576<p>
577Returns the size of this buffer in bytes.
578<p>
579
580<p>
581Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00300">300</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
582  </tr>
583</table>
584<a class="anchor" name="Ogre_1_1HardwareIndexBuffera2" doxytag="Ogre::GLHardwareIndexBuffer::getType" ></a><p>
585<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
586  <tr>
587    <td class="mdRow">
588      <table cellpadding="0" cellspacing="0" border="0">
589        <tr>
590          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">IndexType</a> Ogre::HardwareIndexBuffer::getType </td>
591          <td class="md" valign="top">(&nbsp;</td>
592          <td class="md" nowrap valign="top">void&nbsp;</td>
593          <td class="mdname1" valign="top" nowrap>          </td>
594          <td class="md" valign="top">&nbsp;)&nbsp;</td>
595          <td class="md" nowrap> const<code> [inherited]</code></td>
596        </tr>
597
598      </table>
599    </td>
600  </tr>
601</table>
602<table cellspacing=5 cellpadding=0 border=0>
603  <tr>
604    <td>
605      &nbsp;
606    </td>
607    <td>
608
609<p>
610Get the type of indexes used in this buffer.
611<p>
612
613<p>
614Definition at line <a class="el" href="OgreHardwareIndexBuffer_8h-source.html#l00055">55</a> of file <a class="el" href="OgreHardwareIndexBuffer_8h-source.html">OgreHardwareIndexBuffer.h</a>.    </td>
615  </tr>
616</table>
617<a class="anchor" name="Ogre_1_1HardwareVertexBuffera12" doxytag="Ogre::GLHardwareIndexBuffer::getUsage" ></a><p>
618<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
619  <tr>
620    <td class="mdRow">
621      <table cellpadding="0" cellspacing="0" border="0">
622        <tr>
623          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a> Ogre::HardwareBuffer::getUsage </td>
624          <td class="md" valign="top">(&nbsp;</td>
625          <td class="md" nowrap valign="top">void&nbsp;</td>
626          <td class="mdname1" valign="top" nowrap>          </td>
627          <td class="md" valign="top">&nbsp;)&nbsp;</td>
628          <td class="md" nowrap> const<code> [inherited]</code></td>
629        </tr>
630
631      </table>
632    </td>
633  </tr>
634</table>
635<table cellspacing=5 cellpadding=0 border=0>
636  <tr>
637    <td>
638      &nbsp;
639    </td>
640    <td>
641
642<p>
643Returns the Usage flags with which this buffer was created.
644<p>
645
646<p>
647Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00302">302</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
648  </tr>
649</table>
650<a class="anchor" name="Ogre_1_1HardwareVertexBuffera14" doxytag="Ogre::GLHardwareIndexBuffer::hasShadowBuffer" ></a><p>
651<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
652  <tr>
653    <td class="mdRow">
654      <table cellpadding="0" cellspacing="0" border="0">
655        <tr>
656          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::hasShadowBuffer </td>
657          <td class="md" valign="top">(&nbsp;</td>
658          <td class="md" nowrap valign="top">void&nbsp;</td>
659          <td class="mdname1" valign="top" nowrap>          </td>
660          <td class="md" valign="top">&nbsp;)&nbsp;</td>
661          <td class="md" nowrap> const<code> [inherited]</code></td>
662        </tr>
663
664      </table>
665    </td>
666  </tr>
667</table>
668<table cellspacing=5 cellpadding=0 border=0>
669  <tr>
670    <td>
671      &nbsp;
672    </td>
673    <td>
674
675<p>
676Returns whether this buffer has a system memory shadow for quicker reading.
677<p>
678
679<p>
680Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00306">306</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
681  </tr>
682</table>
683<a class="anchor" name="Ogre_1_1HardwareVertexBuffera15" doxytag="Ogre::GLHardwareIndexBuffer::isLocked" ></a><p>
684<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
685  <tr>
686    <td class="mdRow">
687      <table cellpadding="0" cellspacing="0" border="0">
688        <tr>
689          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::isLocked </td>
690          <td class="md" valign="top">(&nbsp;</td>
691          <td class="md" nowrap valign="top">void&nbsp;</td>
692          <td class="mdname1" valign="top" nowrap>          </td>
693          <td class="md" valign="top">&nbsp;)&nbsp;</td>
694          <td class="md" nowrap> const<code> [inherited]</code></td>
695        </tr>
696
697      </table>
698    </td>
699  </tr>
700</table>
701<table cellspacing=5 cellpadding=0 border=0>
702  <tr>
703    <td>
704      &nbsp;
705    </td>
706    <td>
707
708<p>
709Returns whether or not this buffer is currently locked.
710<p>
711
712<p>
713Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00308">308</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
714  </tr>
715</table>
716<a class="anchor" name="Ogre_1_1HardwareVertexBuffera13" doxytag="Ogre::GLHardwareIndexBuffer::isSystemMemory" ></a><p>
717<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
718  <tr>
719    <td class="mdRow">
720      <table cellpadding="0" cellspacing="0" border="0">
721        <tr>
722          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::isSystemMemory </td>
723          <td class="md" valign="top">(&nbsp;</td>
724          <td class="md" nowrap valign="top">void&nbsp;</td>
725          <td class="mdname1" valign="top" nowrap>          </td>
726          <td class="md" valign="top">&nbsp;)&nbsp;</td>
727          <td class="md" nowrap> const<code> [inherited]</code></td>
728        </tr>
729
730      </table>
731    </td>
732  </tr>
733</table>
734<table cellspacing=5 cellpadding=0 border=0>
735  <tr>
736    <td>
737      &nbsp;
738    </td>
739    <td>
740
741<p>
742Returns whether this buffer is held in system memory.
743<p>
744
745<p>
746Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00304">304</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
747  </tr>
748</table>
749<a class="anchor" name="Ogre_1_1HardwareVertexBuffera5" doxytag="Ogre::GLHardwareIndexBuffer::lock" ></a><p>
750<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
751  <tr>
752    <td class="mdRow">
753      <table cellpadding="0" cellspacing="0" border="0">
754        <tr>
755          <td class="md" nowrap valign="top"> void* Ogre::HardwareBuffer::lock </td>
756          <td class="md" valign="top">(&nbsp;</td>
757          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
758          <td class="mdname1" valign="top" nowrap> <em>options</em>          </td>
759          <td class="md" valign="top">&nbsp;)&nbsp;</td>
760          <td class="md" nowrap><code> [inherited]</code></td>
761        </tr>
762
763      </table>
764    </td>
765  </tr>
766</table>
767<table cellspacing=5 cellpadding=0 border=0>
768  <tr>
769    <td>
770      &nbsp;
771    </td>
772    <td>
773
774<p>
775Lock the entire buffer for (potentially) reading / writing.
776<p>
777<dl compact><dt><b>Parameters:</b></dt><dd>
778  <table border="0" cellspacing="2" cellpadding="0">
779    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
780  </table>
781</dl>
782<dl compact><dt><b>Returns:</b></dt><dd>Pointer to the locked memory </dd></dl>
783
784<p>
785Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00201">201</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
786  </tr>
787</table>
788<a class="anchor" name="Ogre_1_1HardwareVertexBuffera4" doxytag="Ogre::GLHardwareIndexBuffer::lock" ></a><p>
789<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
790  <tr>
791    <td class="mdRow">
792      <table cellpadding="0" cellspacing="0" border="0">
793        <tr>
794          <td class="md" nowrap valign="top"> virtual void* Ogre::HardwareBuffer::lock </td>
795          <td class="md" valign="top">(&nbsp;</td>
796          <td class="md" nowrap valign="top">size_t&nbsp;</td>
797          <td class="mdname" nowrap> <em>offset</em>, </td>
798        </tr>
799        <tr>
800          <td class="md" nowrap align="right"></td>
801          <td></td>
802          <td class="md" nowrap>size_t&nbsp;</td>
803          <td class="mdname" nowrap> <em>length</em>, </td>
804        </tr>
805        <tr>
806          <td class="md" nowrap align="right"></td>
807          <td></td>
808          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
809          <td class="mdname" nowrap> <em>options</em></td>
810        </tr>
811        <tr>
812          <td></td>
813          <td class="md">)&nbsp;</td>
814          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
815        </tr>
816
817      </table>
818    </td>
819  </tr>
820</table>
821<table cellspacing=5 cellpadding=0 border=0>
822  <tr>
823    <td>
824      &nbsp;
825    </td>
826    <td>
827
828<p>
829Lock the buffer for (potentially) reading / writing.
830<p>
831<dl compact><dt><b>Parameters:</b></dt><dd>
832  <table border="0" cellspacing="2" cellpadding="0">
833    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to lock </td></tr>
834    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to lock, in bytes </td></tr>
835    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
836  </table>
837</dl>
838<dl compact><dt><b>Returns:</b></dt><dd>Pointer to the locked memory</dd></dl>
839
840<p>
841Reimplemented in <a class="el" href="classOgre_1_1DefaultHardwareVertexBuffer.html#Ogre_1_1DefaultHardwareVertexBuffera4">Ogre::DefaultHardwareVertexBuffer</a>, <a class="el" href="classOgre_1_1DefaultHardwareIndexBuffer.html#Ogre_1_1DefaultHardwareIndexBuffera4">Ogre::DefaultHardwareIndexBuffer</a>, <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera3">Ogre::HardwarePixelBuffer</a>, <a class="el" href="classOgre_1_1GLDefaultHardwareVertexBuffer.html#Ogre_1_1GLDefaultHardwareVertexBuffera4">Ogre::GLDefaultHardwareVertexBuffer</a>, and <a class="el" href="classOgre_1_1GLDefaultHardwareIndexBuffer.html#Ogre_1_1GLDefaultHardwareIndexBuffera4">Ogre::GLDefaultHardwareIndexBuffer</a>.
842<p>
843Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00171">171</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.
844<p>
845Referenced by <a class="el" href="OgreHardwareBuffer_8h-source.html#l00265">Ogre::HardwareBuffer::copyData()</a>.    </td>
846  </tr>
847</table>
848<a class="anchor" name="Ogre_1_1GLHardwareIndexBufferb0" doxytag="Ogre::GLHardwareIndexBuffer::lockImpl" ></a><p>
849<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
850  <tr>
851    <td class="mdRow">
852      <table cellpadding="0" cellspacing="0" border="0">
853        <tr>
854          <td class="md" nowrap valign="top"> void* Ogre::GLHardwareIndexBuffer::lockImpl </td>
855          <td class="md" valign="top">(&nbsp;</td>
856          <td class="md" nowrap valign="top">size_t&nbsp;</td>
857          <td class="mdname" nowrap> <em>offset</em>, </td>
858        </tr>
859        <tr>
860          <td class="md" nowrap align="right"></td>
861          <td></td>
862          <td class="md" nowrap>size_t&nbsp;</td>
863          <td class="mdname" nowrap> <em>length</em>, </td>
864        </tr>
865        <tr>
866          <td class="md" nowrap align="right"></td>
867          <td></td>
868          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
869          <td class="mdname" nowrap> <em>options</em></td>
870        </tr>
871        <tr>
872          <td></td>
873          <td class="md">)&nbsp;</td>
874          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
875        </tr>
876
877      </table>
878    </td>
879  </tr>
880</table>
881<table cellspacing=5 cellpadding=0 border=0>
882  <tr>
883    <td>
884      &nbsp;
885    </td>
886    <td>
887
888<p>
889See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.
890<p>
891
892<p>
893Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferb0">Ogre::HardwareBuffer</a>.    </td>
894  </tr>
895</table>
896<a class="anchor" name="Ogre_1_1GLHardwareIndexBuffera2" doxytag="Ogre::GLHardwareIndexBuffer::readData" ></a><p>
897<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
898  <tr>
899    <td class="mdRow">
900      <table cellpadding="0" cellspacing="0" border="0">
901        <tr>
902          <td class="md" nowrap valign="top"> void Ogre::GLHardwareIndexBuffer::readData </td>
903          <td class="md" valign="top">(&nbsp;</td>
904          <td class="md" nowrap valign="top">size_t&nbsp;</td>
905          <td class="mdname" nowrap> <em>offset</em>, </td>
906        </tr>
907        <tr>
908          <td class="md" nowrap align="right"></td>
909          <td></td>
910          <td class="md" nowrap>size_t&nbsp;</td>
911          <td class="mdname" nowrap> <em>length</em>, </td>
912        </tr>
913        <tr>
914          <td class="md" nowrap align="right"></td>
915          <td></td>
916          <td class="md" nowrap>void *&nbsp;</td>
917          <td class="mdname" nowrap> <em>pDest</em></td>
918        </tr>
919        <tr>
920          <td></td>
921          <td class="md">)&nbsp;</td>
922          <td class="md" colspan="2"><code> [virtual]</code></td>
923        </tr>
924
925      </table>
926    </td>
927  </tr>
928</table>
929<table cellspacing=5 cellpadding=0 border=0>
930  <tr>
931    <td>
932      &nbsp;
933    </td>
934    <td>
935
936<p>
937See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.
938<p>
939
940<p>
941Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera7">Ogre::HardwareBuffer</a>.    </td>
942  </tr>
943</table>
944<a class="anchor" name="Ogre_1_1HardwareVertexBuffera16" doxytag="Ogre::GLHardwareIndexBuffer::suppressHardwareUpdate" ></a><p>
945<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
946  <tr>
947    <td class="mdRow">
948      <table cellpadding="0" cellspacing="0" border="0">
949        <tr>
950          <td class="md" nowrap valign="top"> void Ogre::HardwareBuffer::suppressHardwareUpdate </td>
951          <td class="md" valign="top">(&nbsp;</td>
952          <td class="md" nowrap valign="top">bool&nbsp;</td>
953          <td class="mdname1" valign="top" nowrap> <em>suppress</em>          </td>
954          <td class="md" valign="top">&nbsp;)&nbsp;</td>
955          <td class="md" nowrap><code> [inherited]</code></td>
956        </tr>
957
958      </table>
959    </td>
960  </tr>
961</table>
962<table cellspacing=5 cellpadding=0 border=0>
963  <tr>
964    <td>
965      &nbsp;
966    </td>
967    <td>
968
969<p>
970<a class="el" href="classOgre_1_1Pass.html">Pass</a> true to suppress hardware upload of shadow buffer changes.
971<p>
972
973<p>
974Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00312">312</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
975  </tr>
976</table>
977<a class="anchor" name="Ogre_1_1HardwareVertexBuffera6" doxytag="Ogre::GLHardwareIndexBuffer::unlock" ></a><p>
978<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
979  <tr>
980    <td class="mdRow">
981      <table cellpadding="0" cellspacing="0" border="0">
982        <tr>
983          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::unlock </td>
984          <td class="md" valign="top">(&nbsp;</td>
985          <td class="md" nowrap valign="top">void&nbsp;</td>
986          <td class="mdname1" valign="top" nowrap>          </td>
987          <td class="md" valign="top">&nbsp;)&nbsp;</td>
988          <td class="md" nowrap><code> [virtual, inherited]</code></td>
989        </tr>
990
991      </table>
992    </td>
993  </tr>
994</table>
995<table cellspacing=5 cellpadding=0 border=0>
996  <tr>
997    <td>
998      &nbsp;
999    </td>
1000    <td>
1001
1002<p>
1003Releases the lock on this buffer.
1004<p>
1005<dl compact><dt><b>Remarks:</b></dt><dd>Locking and unlocking a buffer can, in some rare circumstances such as switching video modes whilst the buffer is locked, corrupt the contents of a buffer. This is pretty rare, but if it occurs, this method will throw an exception, meaning you must re-upload the data. </dd></dl>
1006<dl compact><dt><b></b></dt><dd>Note that using the 'read' and 'write' forms of updating the buffer does not suffer from this problem, so if you want to be 100% sure your data will not be lost, use the 'read' and 'write' forms instead. </dd></dl>
1007
1008<p>
1009Reimplemented in <a class="el" href="classOgre_1_1DefaultHardwareVertexBuffer.html#Ogre_1_1DefaultHardwareVertexBuffera5">Ogre::DefaultHardwareVertexBuffer</a>, <a class="el" href="classOgre_1_1DefaultHardwareIndexBuffer.html#Ogre_1_1DefaultHardwareIndexBuffera5">Ogre::DefaultHardwareIndexBuffer</a>, <a class="el" href="classOgre_1_1GLDefaultHardwareVertexBuffer.html#Ogre_1_1GLDefaultHardwareVertexBuffera5">Ogre::GLDefaultHardwareVertexBuffer</a>, and <a class="el" href="classOgre_1_1GLDefaultHardwareIndexBuffer.html#Ogre_1_1GLDefaultHardwareIndexBuffera5">Ogre::GLDefaultHardwareIndexBuffer</a>.
1010<p>
1011Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00217">217</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.
1012<p>
1013Referenced by <a class="el" href="OgreHardwareBuffer_8h-source.html#l00265">Ogre::HardwareBuffer::copyData()</a>.    </td>
1014  </tr>
1015</table>
1016<a class="anchor" name="Ogre_1_1GLHardwareIndexBufferb1" doxytag="Ogre::GLHardwareIndexBuffer::unlockImpl" ></a><p>
1017<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1018  <tr>
1019    <td class="mdRow">
1020      <table cellpadding="0" cellspacing="0" border="0">
1021        <tr>
1022          <td class="md" nowrap valign="top"> void Ogre::GLHardwareIndexBuffer::unlockImpl </td>
1023          <td class="md" valign="top">(&nbsp;</td>
1024          <td class="md" nowrap valign="top">void&nbsp;</td>
1025          <td class="mdname1" valign="top" nowrap>          </td>
1026          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1027          <td class="md" nowrap><code> [protected, virtual]</code></td>
1028        </tr>
1029
1030      </table>
1031    </td>
1032  </tr>
1033</table>
1034<table cellspacing=5 cellpadding=0 border=0>
1035  <tr>
1036    <td>
1037      &nbsp;
1038    </td>
1039    <td>
1040
1041<p>
1042See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.
1043<p>
1044
1045<p>
1046Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferb1">Ogre::HardwareBuffer</a>.    </td>
1047  </tr>
1048</table>
1049<a class="anchor" name="Ogre_1_1GLHardwareIndexBuffera3" doxytag="Ogre::GLHardwareIndexBuffer::writeData" ></a><p>
1050<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1051  <tr>
1052    <td class="mdRow">
1053      <table cellpadding="0" cellspacing="0" border="0">
1054        <tr>
1055          <td class="md" nowrap valign="top"> void Ogre::GLHardwareIndexBuffer::writeData </td>
1056          <td class="md" valign="top">(&nbsp;</td>
1057          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1058          <td class="mdname" nowrap> <em>offset</em>, </td>
1059        </tr>
1060        <tr>
1061          <td class="md" nowrap align="right"></td>
1062          <td></td>
1063          <td class="md" nowrap>size_t&nbsp;</td>
1064          <td class="mdname" nowrap> <em>length</em>, </td>
1065        </tr>
1066        <tr>
1067          <td class="md" nowrap align="right"></td>
1068          <td></td>
1069          <td class="md" nowrap>const void *&nbsp;</td>
1070          <td class="mdname" nowrap> <em>pSource</em>, </td>
1071        </tr>
1072        <tr>
1073          <td class="md" nowrap align="right"></td>
1074          <td></td>
1075          <td class="md" nowrap>bool&nbsp;</td>
1076          <td class="mdname" nowrap> <em>discardWholeBuffer</em> = false</td>
1077        </tr>
1078        <tr>
1079          <td></td>
1080          <td class="md">)&nbsp;</td>
1081          <td class="md" colspan="2"><code> [virtual]</code></td>
1082        </tr>
1083
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>
1096See <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>.
1097<p>
1098
1099<p>
1100Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera8">Ogre::HardwareBuffer</a>.    </td>
1101  </tr>
1102</table>
1103<hr><h2>Member Data Documentation</h2>
1104<a class="anchor" name="Ogre_1_1GLHardwareIndexBufferr0" doxytag="Ogre::GLHardwareIndexBuffer::mBufferId" ></a><p>
1105<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1106  <tr>
1107    <td class="mdRow">
1108      <table cellpadding="0" cellspacing="0" border="0">
1109        <tr>
1110          <td class="md" nowrap valign="top"> GLuint <a class="el" href="classOgre_1_1GLHardwareIndexBuffer.html#Ogre_1_1GLHardwareIndexBufferr0">Ogre::GLHardwareIndexBuffer::mBufferId</a><code> [private]</code>
1111      </table>
1112    </td>
1113  </tr>
1114</table>
1115<table cellspacing=5 cellpadding=0 border=0>
1116  <tr>
1117    <td>
1118      &nbsp;
1119    </td>
1120    <td>
1121
1122<p>
1123
1124<p>
1125Definition at line <a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html#l00037">37</a> of file <a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html">OgreGLHardwareIndexBuffer.h</a>.
1126<p>
1127Referenced by <a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html#l00053">getGLBufferId()</a>.    </td>
1128  </tr>
1129</table>
1130<a class="anchor" name="Ogre_1_1HardwareIndexBufferp2" doxytag="Ogre::GLHardwareIndexBuffer::mIndexSize" ></a><p>
1131<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1132  <tr>
1133    <td class="mdRow">
1134      <table cellpadding="0" cellspacing="0" border="0">
1135        <tr>
1136          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferp2">Ogre::HardwareIndexBuffer::mIndexSize</a><code> [protected, inherited]</code>
1137      </table>
1138    </td>
1139  </tr>
1140</table>
1141<table cellspacing=5 cellpadding=0 border=0>
1142  <tr>
1143    <td>
1144      &nbsp;
1145    </td>
1146    <td>
1147
1148<p>
1149
1150<p>
1151Definition at line <a class="el" href="OgreHardwareIndexBuffer_8h-source.html#l00047">47</a> of file <a class="el" href="OgreHardwareIndexBuffer_8h-source.html">OgreHardwareIndexBuffer.h</a>.    </td>
1152  </tr>
1153</table>
1154<a class="anchor" name="Ogre_1_1HardwareIndexBufferp0" doxytag="Ogre::GLHardwareIndexBuffer::mIndexType" ></a><p>
1155<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1156  <tr>
1157    <td class="mdRow">
1158      <table cellpadding="0" cellspacing="0" border="0">
1159        <tr>
1160          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">IndexType</a> <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferp0">Ogre::HardwareIndexBuffer::mIndexType</a><code> [protected, inherited]</code>
1161      </table>
1162    </td>
1163  </tr>
1164</table>
1165<table cellspacing=5 cellpadding=0 border=0>
1166  <tr>
1167    <td>
1168      &nbsp;
1169    </td>
1170    <td>
1171
1172<p>
1173
1174<p>
1175Definition at line <a class="el" href="OgreHardwareIndexBuffer_8h-source.html#l00045">45</a> of file <a class="el" href="OgreHardwareIndexBuffer_8h-source.html">OgreHardwareIndexBuffer.h</a>.    </td>
1176  </tr>
1177</table>
1178<a class="anchor" name="Ogre_1_1HardwareVertexBufferp4" doxytag="Ogre::GLHardwareIndexBuffer::mIsLocked" ></a><p>
1179<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1180  <tr>
1181    <td class="mdRow">
1182      <table cellpadding="0" cellspacing="0" border="0">
1183        <tr>
1184          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp4">Ogre::HardwareBuffer::mIsLocked</a><code> [protected, inherited]</code>
1185      </table>
1186    </td>
1187  </tr>
1188</table>
1189<table cellspacing=5 cellpadding=0 border=0>
1190  <tr>
1191    <td>
1192      &nbsp;
1193    </td>
1194    <td>
1195
1196<p>
1197
1198<p>
1199Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00133">133</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1200  </tr>
1201</table>
1202<a class="anchor" name="Ogre_1_1HardwareVertexBufferp6" doxytag="Ogre::GLHardwareIndexBuffer::mLockSize" ></a><p>
1203<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1204  <tr>
1205    <td class="mdRow">
1206      <table cellpadding="0" cellspacing="0" border="0">
1207        <tr>
1208          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp6">Ogre::HardwareBuffer::mLockSize</a><code> [protected, inherited]</code>
1209      </table>
1210    </td>
1211  </tr>
1212</table>
1213<table cellspacing=5 cellpadding=0 border=0>
1214  <tr>
1215    <td>
1216      &nbsp;
1217    </td>
1218    <td>
1219
1220<p>
1221
1222<p>
1223Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00135">135</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1224  </tr>
1225</table>
1226<a class="anchor" name="Ogre_1_1HardwareVertexBufferp5" doxytag="Ogre::GLHardwareIndexBuffer::mLockStart" ></a><p>
1227<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1228  <tr>
1229    <td class="mdRow">
1230      <table cellpadding="0" cellspacing="0" border="0">
1231        <tr>
1232          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp5">Ogre::HardwareBuffer::mLockStart</a><code> [protected, inherited]</code>
1233      </table>
1234    </td>
1235  </tr>
1236</table>
1237<table cellspacing=5 cellpadding=0 border=0>
1238  <tr>
1239    <td>
1240      &nbsp;
1241    </td>
1242    <td>
1243
1244<p>
1245
1246<p>
1247Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00134">134</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1248  </tr>
1249</table>
1250<a class="anchor" name="Ogre_1_1HardwareIndexBufferp1" doxytag="Ogre::GLHardwareIndexBuffer::mNumIndexes" ></a><p>
1251<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1252  <tr>
1253    <td class="mdRow">
1254      <table cellpadding="0" cellspacing="0" border="0">
1255        <tr>
1256          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferp1">Ogre::HardwareIndexBuffer::mNumIndexes</a><code> [protected, inherited]</code>
1257      </table>
1258    </td>
1259  </tr>
1260</table>
1261<table cellspacing=5 cellpadding=0 border=0>
1262  <tr>
1263    <td>
1264      &nbsp;
1265    </td>
1266    <td>
1267
1268<p>
1269
1270<p>
1271Definition at line <a class="el" href="OgreHardwareIndexBuffer_8h-source.html#l00046">46</a> of file <a class="el" href="OgreHardwareIndexBuffer_8h-source.html">OgreHardwareIndexBuffer.h</a>.    </td>
1272  </tr>
1273</table>
1274<a class="anchor" name="Ogre_1_1HardwareVertexBufferp9" doxytag="Ogre::GLHardwareIndexBuffer::mpShadowBuffer" ></a><p>
1275<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1276  <tr>
1277    <td class="mdRow">
1278      <table cellpadding="0" cellspacing="0" border="0">
1279        <tr>
1280          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a>* <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp9">Ogre::HardwareBuffer::mpShadowBuffer</a><code> [protected, inherited]</code>
1281      </table>
1282    </td>
1283  </tr>
1284</table>
1285<table cellspacing=5 cellpadding=0 border=0>
1286  <tr>
1287    <td>
1288      &nbsp;
1289    </td>
1290    <td>
1291
1292<p>
1293
1294<p>
1295Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00138">138</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1296  </tr>
1297</table>
1298<a class="anchor" name="Ogre_1_1HardwareVertexBufferp10" doxytag="Ogre::GLHardwareIndexBuffer::mShadowUpdated" ></a><p>
1299<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1300  <tr>
1301    <td class="mdRow">
1302      <table cellpadding="0" cellspacing="0" border="0">
1303        <tr>
1304          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp10">Ogre::HardwareBuffer::mShadowUpdated</a><code> [protected, inherited]</code>
1305      </table>
1306    </td>
1307  </tr>
1308</table>
1309<table cellspacing=5 cellpadding=0 border=0>
1310  <tr>
1311    <td>
1312      &nbsp;
1313    </td>
1314    <td>
1315
1316<p>
1317
1318<p>
1319Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00139">139</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1320  </tr>
1321</table>
1322<a class="anchor" name="Ogre_1_1HardwareVertexBufferp2" doxytag="Ogre::GLHardwareIndexBuffer::mSizeInBytes" ></a><p>
1323<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1324  <tr>
1325    <td class="mdRow">
1326      <table cellpadding="0" cellspacing="0" border="0">
1327        <tr>
1328          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp2">Ogre::HardwareBuffer::mSizeInBytes</a><code> [protected, inherited]</code>
1329      </table>
1330    </td>
1331  </tr>
1332</table>
1333<table cellspacing=5 cellpadding=0 border=0>
1334  <tr>
1335    <td>
1336      &nbsp;
1337    </td>
1338    <td>
1339
1340<p>
1341
1342<p>
1343Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00131">131</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1344  </tr>
1345</table>
1346<a class="anchor" name="Ogre_1_1HardwareVertexBufferp11" doxytag="Ogre::GLHardwareIndexBuffer::mSuppressHardwareUpdate" ></a><p>
1347<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1348  <tr>
1349    <td class="mdRow">
1350      <table cellpadding="0" cellspacing="0" border="0">
1351        <tr>
1352          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp11">Ogre::HardwareBuffer::mSuppressHardwareUpdate</a><code> [protected, inherited]</code>
1353      </table>
1354    </td>
1355  </tr>
1356</table>
1357<table cellspacing=5 cellpadding=0 border=0>
1358  <tr>
1359    <td>
1360      &nbsp;
1361    </td>
1362    <td>
1363
1364<p>
1365
1366<p>
1367Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00140">140</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1368  </tr>
1369</table>
1370<a class="anchor" name="Ogre_1_1HardwareVertexBufferp7" doxytag="Ogre::GLHardwareIndexBuffer::mSystemMemory" ></a><p>
1371<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1372  <tr>
1373    <td class="mdRow">
1374      <table cellpadding="0" cellspacing="0" border="0">
1375        <tr>
1376          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp7">Ogre::HardwareBuffer::mSystemMemory</a><code> [protected, inherited]</code>
1377      </table>
1378    </td>
1379  </tr>
1380</table>
1381<table cellspacing=5 cellpadding=0 border=0>
1382  <tr>
1383    <td>
1384      &nbsp;
1385    </td>
1386    <td>
1387
1388<p>
1389
1390<p>
1391Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00136">136</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1392  </tr>
1393</table>
1394<a class="anchor" name="Ogre_1_1HardwareVertexBufferp3" doxytag="Ogre::GLHardwareIndexBuffer::mUsage" ></a><p>
1395<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1396  <tr>
1397    <td class="mdRow">
1398      <table cellpadding="0" cellspacing="0" border="0">
1399        <tr>
1400          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp3">Ogre::HardwareBuffer::mUsage</a><code> [protected, inherited]</code>
1401      </table>
1402    </td>
1403  </tr>
1404</table>
1405<table cellspacing=5 cellpadding=0 border=0>
1406  <tr>
1407    <td>
1408      &nbsp;
1409    </td>
1410    <td>
1411
1412<p>
1413
1414<p>
1415Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00132">132</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1416  </tr>
1417</table>
1418<a class="anchor" name="Ogre_1_1HardwareVertexBufferp8" doxytag="Ogre::GLHardwareIndexBuffer::mUseShadowBuffer" ></a><p>
1419<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1420  <tr>
1421    <td class="mdRow">
1422      <table cellpadding="0" cellspacing="0" border="0">
1423        <tr>
1424          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferp8">Ogre::HardwareBuffer::mUseShadowBuffer</a><code> [protected, inherited]</code>
1425      </table>
1426    </td>
1427  </tr>
1428</table>
1429<table cellspacing=5 cellpadding=0 border=0>
1430  <tr>
1431    <td>
1432      &nbsp;
1433    </td>
1434    <td>
1435
1436<p>
1437
1438<p>
1439Definition at line <a class="el" href="OgreHardwareBuffer_8h-source.html#l00137">137</a> of file <a class="el" href="OgreHardwareBuffer_8h-source.html">OgreHardwareBuffer.h</a>.    </td>
1440  </tr>
1441</table>
1442<hr>The documentation for this class was generated from the following file:<ul>
1443<li><a class="el" href="OgreGLHardwareIndexBuffer_8h-source.html">OgreGLHardwareIndexBuffer.h</a></ul>
1444<hr>
1445<p>
1446Copyright &copy; 2000-2005 by The OGRE Team<br />
1447<!--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/>
1448This 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/>
1449                <!--/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#">
1450                <Work rdf:about="">
1451                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
1452        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
1453                </Work>
1454                <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> -->
1455
1456Last modified Sun Feb 12 13:10:12 2006
1457</p>
1458</body>
1459</html>
Note: See TracBrowser for help on using the repository browser.