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

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

added ogre dependencies and patched ogre sources

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