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

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

added ogre dependencies and patched ogre sources

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