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

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

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::D3D7HardwarePixelBuffer 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::D3D7HardwarePixelBuffer Class Reference</h1><code>#include &lt;<a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html">OgreD3D7HardwarePixelBuffer.h</a>&gt;</code>
11<p>
12<p>Inheritance diagram for Ogre::D3D7HardwarePixelBuffer:
13<p><center><img src="classOgre_1_1D3D7HardwarePixelBuffer.png" usemap="#Ogre::D3D7HardwarePixelBuffer_map" border="0" alt=""></center>
14<map name="Ogre::D3D7HardwarePixelBuffer_map">
15<area href="classOgre_1_1HardwarePixelBuffer.html" alt="Ogre::HardwarePixelBuffer" shape="rect" coords="0,56,197,80">
16<area href="classOgre_1_1HardwareBuffer.html" alt="Ogre::HardwareBuffer" shape="rect" coords="0,0,197,24">
17</map>
18<a href="classOgre_1_1D3D7HardwarePixelBuffer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
19<tr><td></td></tr>
20<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
21<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a> { <br>
22&nbsp;&nbsp;<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw0">HBU_STATIC</a> =  1,
23<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw1">HBU_DYNAMIC</a> =  2,
24<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw2">HBU_WRITE_ONLY</a> =  4,
25<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw3">HBU_DISCARDABLE</a> =  8,
26<br>
27&nbsp;&nbsp;<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw4">HBU_STATIC_WRITE_ONLY</a> =  5,
28<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw5">HBU_DYNAMIC_WRITE_ONLY</a> =  6,
29<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw6">HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE</a> =  14
30<br>
31 }</td></tr>
32
33<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>
34<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>,
35<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw8">HBL_DISCARD</a>,
36<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw9">HBL_READ_ONLY</a>,
37<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw10">HBL_NO_OVERWRITE</a>
38 }</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Locking options.  <a href="#Ogre_1_1HardwareVertexBufferw12">More...</a><br><br></td></tr>
41<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
42<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera0">D3D7HardwarePixelBuffer</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> usage, IDirect3DDevice7 *device)</td></tr>
43
44<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera1">bind</a> (LPDIRECTDRAWSURFACE7 surface, <a class="el" href="namespaceOgre.html#a667">PixelFormat</a> format)</td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Call this to associate a D3D surface or volume with this pixel buffer.  <a href="#Ogre_1_1D3D7HardwarePixelBuffera1"></a><br><br></td></tr>
47<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera2">blit</a> (<a class="el" href="classOgre_1_1HardwarePixelBuffer.html">HardwarePixelBuffer</a> *src, const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;srcBox, const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;dstBox)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
50  <table border="0" cellspacing="2" cellpadding="0">
51    <tr><td valign=top><em>dst</em>&nbsp;</td><td>Source pixel buffer </td></tr>
52    <tr><td valign=top><em>srcBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the source region in src </td></tr>
53    <tr><td valign=top><em>dstBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the destination region in this buffer </td></tr>
54  </table>
55</dl>
56<dl compact><dt><b>Remarks:</b></dt><dd>The source and destination regions dimensions don't have to match, in which case scaling is done. This scaling is done in software for some render systems, thus for realtime usage it is recommended to pass the source image in the right dimensions. </dd></dl>
57<dl compact><dt><b>Note:</b></dt><dd>Only call this function when both buffers are unlocked.</dd></dl>
58  <a href="#Ogre_1_1D3D7HardwarePixelBuffera2"></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_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera3">blitFromMemory</a> (const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;src, const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;dstBox)</td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The source image can be in any pixel format supported by OGRE, and in any size. <dl compact><dt><b>Parameters:</b></dt><dd>
62  <table border="0" cellspacing="2" cellpadding="0">
63    <tr><td valign=top><em>src</em>&nbsp;</td><td><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> containing the source pixels and format in memory </td></tr>
64    <tr><td valign=top><em>dstBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the destination region in this buffer </td></tr>
65  </table>
66</dl>
67<dl compact><dt><b>Remarks:</b></dt><dd>The source and destination regions dimensions don't have to match, in which case scaling is done. This scaling is done in software for some render systems, so for realtime usage it is recommended to pass the source image in the right dimensions. </dd></dl>
68<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
69  <a href="#Ogre_1_1D3D7HardwarePixelBuffera3"></a><br><br></td></tr>
70<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera4">blitToMemory</a> (const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;srcBox, const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;dst)</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
73  <table border="0" cellspacing="2" cellpadding="0">
74    <tr><td valign=top><em>srcBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the source region of this buffer </td></tr>
75    <tr><td valign=top><em>dst</em>&nbsp;</td><td><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> describing the destination pixels and format in memory </td></tr>
76  </table>
77</dl>
78<dl compact><dt><b>Remarks:</b></dt><dd>The source and destination regions don't have to match, in which case scaling is done. </dd></dl>
79<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
80  <a href="#Ogre_1_1D3D7HardwarePixelBuffera4"></a><br><br></td></tr>
81<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera5">_setMipmapping</a> (bool doMipmapGen)</td></tr>
82
83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function to set mipmap generation.  <a href="#Ogre_1_1D3D7HardwarePixelBuffera5"></a><br><br></td></tr>
84<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera6">_genMipmaps</a> (const RECT &amp;texRect)</td></tr>
85
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function to generate mipmaps.  <a href="#Ogre_1_1D3D7HardwarePixelBuffera6"></a><br><br></td></tr>
87<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBuffera7">~D3D7HardwarePixelBuffer</a> ()</td></tr>
88
89<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera2">lock</a> (const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;lockBox, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock the buffer for (potentially) reading / writing.  <a href="#Ogre_1_1HardwarePixelBuffera2"></a><br><br></td></tr>
92<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera3">lock</a> (size_t offset, size_t length, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
93
94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
95  <table border="0" cellspacing="2" cellpadding="0">
96    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to lock </td></tr>
97    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to lock, in bytes </td></tr>
98    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
99  </table>
100</dl>
101<dl compact><dt><b>Returns:</b></dt><dd>Pointer to the locked memory </dd></dl>
102  <a href="#Ogre_1_1HardwarePixelBuffera3"></a><br><br></td></tr>
103<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera17">lock</a> (size_t offset, size_t length, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">make every lock method from <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> available.  <a href="#Ogre_1_1HardwarePixelBuffera17"></a><br><br></td></tr>
106<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera18">lock</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">make every lock method from <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> available.  <a href="#Ogre_1_1HardwarePixelBuffera18"></a><br><br></td></tr>
109<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera4">getCurrentLock</a> ()</td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current locked region.  <a href="#Ogre_1_1HardwarePixelBuffera4"></a><br><br></td></tr>
112<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera5">readData</a> (size_t offset, size_t length, void *pDest)</td></tr>
113
114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
115  <table border="0" cellspacing="2" cellpadding="0">
116    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to read </td></tr>
117    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to read, in bytes </td></tr>
118    <tr><td valign=top><em>pDest</em>&nbsp;</td><td>The area of memory in which to place the data, must be large enough to accommodate the data!</td></tr>
119  </table>
120</dl>
121  <a href="#Ogre_1_1HardwarePixelBuffera5"></a><br><br></td></tr>
122<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera6">writeData</a> (size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)</td></tr>
123
124<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
125  <table border="0" cellspacing="2" cellpadding="0">
126    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to start writing </td></tr>
127    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the data to write to, in bytes </td></tr>
128    <tr><td valign=top><em>pSource</em>&nbsp;</td><td>The source of the data to be written </td></tr>
129    <tr><td valign=top><em>discardWholeBuffer</em>&nbsp;</td><td>If true, this allows the driver to discard the entire buffer when writing, such that DMA stalls can be avoided; use if you can.</td></tr>
130  </table>
131</dl>
132  <a href="#Ogre_1_1HardwarePixelBuffera6"></a><br><br></td></tr>
133<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera8">blit</a> (<a class="el" href="classOgre_1_1HardwarePixelBuffer.html">HardwarePixelBuffer</a> *src)</td></tr>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convience function that blits the entire source pixel buffer to this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera8"></a><br><br></td></tr>
136<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera10">blitFromMemory</a> (const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;src)</td></tr>
137
138<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convience function that blits a pixelbox from memory to the entire buffer.  <a href="#Ogre_1_1HardwarePixelBuffera10"></a><br><br></td></tr>
139<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera12">blitToMemory</a> (const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;dst)</td></tr>
140
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convience function that blits this entire buffer to a pixelbox.  <a href="#Ogre_1_1HardwarePixelBuffera12"></a><br><br></td></tr>
142<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera13">getWidth</a> () const </td></tr>
143
144<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the width of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera13"></a><br><br></td></tr>
145<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera14">getHeight</a> () const </td></tr>
146
147<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the height of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera14"></a><br><br></td></tr>
148<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera15">getDepth</a> () const </td></tr>
149
150<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the depth of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera15"></a><br><br></td></tr>
151<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a667">PixelFormat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera16">getFormat</a> () const </td></tr>
152
153<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the native pixel format of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera16"></a><br><br></td></tr>
154<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>
155
156<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>
157<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>
158
159<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>
160<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>
161
162<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>
163<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>
164
165<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>
166<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>
167
168<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>
169<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>
170
171<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>
172<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>
173
174<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>
175<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>
176
177<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>
178<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>
179
180<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>
181<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
182<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferb0">lockImpl</a> (const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> lockBox, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
183
184<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock a box.  <a href="#Ogre_1_1D3D7HardwarePixelBufferb0"></a><br><br></td></tr>
185<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferb1">unlockImpl</a> (void)</td></tr>
186
187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unlock a box.  <a href="#Ogre_1_1D3D7HardwarePixelBufferb1"></a><br><br></td></tr>
188<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferb1">lockImpl</a> (size_t offset, size_t length, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
189
190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal implementation of <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera2">lock()</a>, do not OVERRIDE or CALL this for <a class="el" href="classOgre_1_1HardwarePixelBuffer.html">HardwarePixelBuffer</a> implementations, but override the previous method.  <a href="#Ogre_1_1HardwarePixelBufferb1"></a><br><br></td></tr>
191<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
192<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DDevice7 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp0">mD3DDevice</a></td></tr>
193
194<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A pointer to the Direct3D device.  <a href="#Ogre_1_1D3D7HardwarePixelBufferp0"></a><br><br></td></tr>
195<tr><td class="memItemLeft" nowrap align=right valign=top>LPDIRECTDRAWSURFACE7&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp1">mSurface</a></td></tr>
196
197<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Surface abstracted by this buffer.  <a href="#Ogre_1_1D3D7HardwarePixelBufferp1"></a><br><br></td></tr>
198<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp2">mDoMipmapGen</a></td></tr>
199
200<tr><td class="memItemLeft" nowrap align=right valign=top>RECT&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp3">mLockRect</a></td></tr>
201
202<tr><td class="memItemLeft" nowrap align=right valign=top>RECT *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp4">mpRect</a></td></tr>
203
204<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp0">mWidth</a></td></tr>
205
206<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp1">mHeight</a></td></tr>
207
208<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp2">mDepth</a></td></tr>
209
210<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp3">mRowPitch</a></td></tr>
211
212<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp4">mSlicePitch</a></td></tr>
213
214<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a667">PixelFormat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp5">mFormat</a></td></tr>
215
216<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp6">mCurrentLock</a></td></tr>
217
218<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>
219
220<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>
221
222<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>
223
224<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>
225
226<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>
227
228<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>
229
230<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>
231
232<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>
233
234<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>
235
236<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>
237
238</table>
239<hr><h2>Member Enumeration Documentation</h2>
240<a class="anchor" name="Ogre_1_1HardwareVertexBufferw12" doxytag="Ogre::D3D7HardwarePixelBuffer::LockOptions" ></a><p>
241<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
242  <tr>
243    <td class="mdRow">
244      <table cellpadding="0" cellspacing="0" border="0">
245        <tr>
246          <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>
247      </table>
248    </td>
249  </tr>
250</table>
251<table cellspacing=5 cellpadding=0 border=0>
252  <tr>
253    <td>
254      &nbsp;
255    </td>
256    <td>
257
258<p>
259Locking options.
260<p>
261<dl compact><dt><b>Enumeration values: </b></dt><dd>
262<table border=0 cellspacing=2 cellpadding=0>
263<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw7" doxytag="HBL_NORMAL" ></a>HBL_NORMAL</em>&nbsp;</td><td>
264Normal mode, ie allows read/write and contents are preserved. </td></tr>
265<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw8" doxytag="HBL_DISCARD" ></a>HBL_DISCARD</em>&nbsp;</td><td>
266Discards the <em>entire</em> buffer while locking; this allows optimisation to be performed because synchronisation issues are relaxed.
267<p>
268Only allowed on buffers created with the HBU_DYNAMIC flag.</td></tr>
269<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>
270Lock the buffer for reading only.
271<p>
272Not allowed in buffers which are created with HBU_WRITE_ONLY. Mandatory on statuc buffers, ie those created without the HBU_DYNAMIC flag.</td></tr>
273<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>
274As 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>
275</table>
276</dl>
277
278<p>
279Definition 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>
280  </tr>
281</table>
282<a class="anchor" name="Ogre_1_1HardwareVertexBufferw11" doxytag="Ogre::D3D7HardwarePixelBuffer::Usage" ></a><p>
283<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
284  <tr>
285    <td class="mdRow">
286      <table cellpadding="0" cellspacing="0" border="0">
287        <tr>
288          <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>
289      </table>
290    </td>
291  </tr>
292</table>
293<table cellspacing=5 cellpadding=0 border=0>
294  <tr>
295    <td>
296      &nbsp;
297    </td>
298    <td>
299
300<p>
301Enums describing buffer usage; not mutually exclusive.
302<p>
303<dl compact><dt><b>Enumeration values: </b></dt><dd>
304<table border=0 cellspacing=2 cellpadding=0>
305<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw0" doxytag="HBU_STATIC" ></a>HBU_STATIC</em>&nbsp;</td><td>
306Static buffer which the application rarely modifies once created.
307<p>
308Modifying the contents of this buffer will involve a performance hit. </td></tr>
309<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw1" doxytag="HBU_DYNAMIC" ></a>HBU_DYNAMIC</em>&nbsp;</td><td>
310Indicates the application would like to modify this buffer with the CPU fairly often.
311<p>
312Buffers created with this flag will typically end up in AGP memory rather than video memory.</td></tr>
313<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>
314Indicates the application will never read the contents of the buffer back, it will only ever write data.
315<p>
316Locking 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>
317<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw3" doxytag="HBU_DISCARDABLE" ></a>HBU_DISCARDABLE</em>&nbsp;</td><td>
318Indicates 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.
319<p>
320This allows and additional level of optimisation on the buffer. This option only really makes sense when combined with HBU_DYNAMIC_WRITE_ONLY. </td></tr>
321<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>
322Combination of HBU_STATIC and HBU_WRITE_ONLY. </td></tr>
323<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>
324Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
325<p>
326If 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>
327<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>
328Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE. </td></tr>
329</table>
330</dl>
331
332<p>
333Definition 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>
334  </tr>
335</table>
336<hr><h2>Constructor &amp; Destructor Documentation</h2>
337<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera0" doxytag="Ogre::D3D7HardwarePixelBuffer::D3D7HardwarePixelBuffer" ></a><p>
338<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
339  <tr>
340    <td class="mdRow">
341      <table cellpadding="0" cellspacing="0" border="0">
342        <tr>
343          <td class="md" nowrap valign="top"> Ogre::D3D7HardwarePixelBuffer::D3D7HardwarePixelBuffer </td>
344          <td class="md" valign="top">(&nbsp;</td>
345          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
346          <td class="mdname" nowrap> <em>usage</em>, </td>
347        </tr>
348        <tr>
349          <td class="md" nowrap align="right"></td>
350          <td></td>
351          <td class="md" nowrap>IDirect3DDevice7 *&nbsp;</td>
352          <td class="mdname" nowrap> <em>device</em></td>
353        </tr>
354        <tr>
355          <td></td>
356          <td class="md">)&nbsp;</td>
357          <td class="md" colspan="2"></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>
372    </td>
373  </tr>
374</table>
375<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera7" doxytag="Ogre::D3D7HardwarePixelBuffer::~D3D7HardwarePixelBuffer" ></a><p>
376<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
377  <tr>
378    <td class="mdRow">
379      <table cellpadding="0" cellspacing="0" border="0">
380        <tr>
381          <td class="md" nowrap valign="top"> Ogre::D3D7HardwarePixelBuffer::~<a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html">D3D7HardwarePixelBuffer</a> </td>
382          <td class="md" valign="top">(&nbsp;</td>
383          <td class="mdname1" valign="top" nowrap>          </td>
384          <td class="md" valign="top">&nbsp;)&nbsp;</td>
385          <td class="md" nowrap></td>
386        </tr>
387
388      </table>
389    </td>
390  </tr>
391</table>
392<table cellspacing=5 cellpadding=0 border=0>
393  <tr>
394    <td>
395      &nbsp;
396    </td>
397    <td>
398
399<p>
400    </td>
401  </tr>
402</table>
403<hr><h2>Member Function Documentation</h2>
404<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera6" doxytag="Ogre::D3D7HardwarePixelBuffer::_genMipmaps" ></a><p>
405<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
406  <tr>
407    <td class="mdRow">
408      <table cellpadding="0" cellspacing="0" border="0">
409        <tr>
410          <td class="md" nowrap valign="top"> void Ogre::D3D7HardwarePixelBuffer::_genMipmaps </td>
411          <td class="md" valign="top">(&nbsp;</td>
412          <td class="md" nowrap valign="top">const RECT &amp;&nbsp;</td>
413          <td class="mdname1" valign="top" nowrap> <em>texRect</em>          </td>
414          <td class="md" valign="top">&nbsp;)&nbsp;</td>
415          <td class="md" nowrap></td>
416        </tr>
417
418      </table>
419    </td>
420  </tr>
421</table>
422<table cellspacing=5 cellpadding=0 border=0>
423  <tr>
424    <td>
425      &nbsp;
426    </td>
427    <td>
428
429<p>
430Function to generate mipmaps.
431<p>
432    </td>
433  </tr>
434</table>
435<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera5" doxytag="Ogre::D3D7HardwarePixelBuffer::_setMipmapping" ></a><p>
436<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
437  <tr>
438    <td class="mdRow">
439      <table cellpadding="0" cellspacing="0" border="0">
440        <tr>
441          <td class="md" nowrap valign="top"> void Ogre::D3D7HardwarePixelBuffer::_setMipmapping </td>
442          <td class="md" valign="top">(&nbsp;</td>
443          <td class="md" nowrap valign="top">bool&nbsp;</td>
444          <td class="mdname1" valign="top" nowrap> <em>doMipmapGen</em>          </td>
445          <td class="md" valign="top">&nbsp;)&nbsp;</td>
446          <td class="md" nowrap></td>
447        </tr>
448
449      </table>
450    </td>
451  </tr>
452</table>
453<table cellspacing=5 cellpadding=0 border=0>
454  <tr>
455    <td>
456      &nbsp;
457    </td>
458    <td>
459
460<p>
461Function to set mipmap generation.
462<p>
463    </td>
464  </tr>
465</table>
466<a class="anchor" name="Ogre_1_1HardwareVertexBuffera10" doxytag="Ogre::D3D7HardwarePixelBuffer::_updateFromShadow" ></a><p>
467<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
468  <tr>
469    <td class="mdRow">
470      <table cellpadding="0" cellspacing="0" border="0">
471        <tr>
472          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::_updateFromShadow </td>
473          <td class="md" valign="top">(&nbsp;</td>
474          <td class="md" nowrap valign="top">void&nbsp;</td>
475          <td class="mdname1" valign="top" nowrap>          </td>
476          <td class="md" valign="top">&nbsp;)&nbsp;</td>
477          <td class="md" nowrap><code> [virtual, inherited]</code></td>
478        </tr>
479
480      </table>
481    </td>
482  </tr>
483</table>
484<table cellspacing=5 cellpadding=0 border=0>
485  <tr>
486    <td>
487      &nbsp;
488    </td>
489    <td>
490
491<p>
492Updates the real buffer from the shadow buffer, if required.
493<p>
494
495<p>
496Definition 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>
497  </tr>
498</table>
499<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera1" doxytag="Ogre::D3D7HardwarePixelBuffer::bind" ></a><p>
500<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
501  <tr>
502    <td class="mdRow">
503      <table cellpadding="0" cellspacing="0" border="0">
504        <tr>
505          <td class="md" nowrap valign="top"> void Ogre::D3D7HardwarePixelBuffer::bind </td>
506          <td class="md" valign="top">(&nbsp;</td>
507          <td class="md" nowrap valign="top">LPDIRECTDRAWSURFACE7&nbsp;</td>
508          <td class="mdname" nowrap> <em>surface</em>, </td>
509        </tr>
510        <tr>
511          <td class="md" nowrap align="right"></td>
512          <td></td>
513          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a667">PixelFormat</a>&nbsp;</td>
514          <td class="mdname" nowrap> <em>format</em></td>
515        </tr>
516        <tr>
517          <td></td>
518          <td class="md">)&nbsp;</td>
519          <td class="md" colspan="2"></td>
520        </tr>
521
522      </table>
523    </td>
524  </tr>
525</table>
526<table cellspacing=5 cellpadding=0 border=0>
527  <tr>
528    <td>
529      &nbsp;
530    </td>
531    <td>
532
533<p>
534Call this to associate a D3D surface or volume with this pixel buffer.
535<p>
536    </td>
537  </tr>
538</table>
539<a class="anchor" name="Ogre_1_1HardwarePixelBuffera8" doxytag="Ogre::D3D7HardwarePixelBuffer::blit" ></a><p>
540<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
541  <tr>
542    <td class="mdRow">
543      <table cellpadding="0" cellspacing="0" border="0">
544        <tr>
545          <td class="md" nowrap valign="top"> void Ogre::HardwarePixelBuffer::blit </td>
546          <td class="md" valign="top">(&nbsp;</td>
547          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwarePixelBuffer.html">HardwarePixelBuffer</a> *&nbsp;</td>
548          <td class="mdname1" valign="top" nowrap> <em>src</em>          </td>
549          <td class="md" valign="top">&nbsp;)&nbsp;</td>
550          <td class="md" nowrap><code> [inherited]</code></td>
551        </tr>
552
553      </table>
554    </td>
555  </tr>
556</table>
557<table cellspacing=5 cellpadding=0 border=0>
558  <tr>
559    <td>
560      &nbsp;
561    </td>
562    <td>
563
564<p>
565Convience function that blits the entire source pixel buffer to this buffer.
566<p>
567If source and destination dimensions don't match, scaling is done. <dl compact><dt><b>Parameters:</b></dt><dd>
568  <table border="0" cellspacing="2" cellpadding="0">
569    <tr><td valign=top><em>src</em>&nbsp;</td><td><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> containing the source pixels and format in memory </td></tr>
570  </table>
571</dl>
572<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked.</dd></dl>
573
574<p>
575Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00114">114</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
576<p>
577References <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00167">Ogre::HardwarePixelBuffer::getDepth()</a>, <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00165">Ogre::HardwarePixelBuffer::getHeight()</a>, and <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00163">Ogre::HardwarePixelBuffer::getWidth()</a>.    </td>
578  </tr>
579</table>
580<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera2" doxytag="Ogre::D3D7HardwarePixelBuffer::blit" ></a><p>
581<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
582  <tr>
583    <td class="mdRow">
584      <table cellpadding="0" cellspacing="0" border="0">
585        <tr>
586          <td class="md" nowrap valign="top"> void Ogre::D3D7HardwarePixelBuffer::blit </td>
587          <td class="md" valign="top">(&nbsp;</td>
588          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwarePixelBuffer.html">HardwarePixelBuffer</a> *&nbsp;</td>
589          <td class="mdname" nowrap> <em>src</em>, </td>
590        </tr>
591        <tr>
592          <td class="md" nowrap align="right"></td>
593          <td></td>
594          <td class="md" nowrap>const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
595          <td class="mdname" nowrap> <em>srcBox</em>, </td>
596        </tr>
597        <tr>
598          <td class="md" nowrap align="right"></td>
599          <td></td>
600          <td class="md" nowrap>const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
601          <td class="mdname" nowrap> <em>dstBox</em></td>
602        </tr>
603        <tr>
604          <td></td>
605          <td class="md">)&nbsp;</td>
606          <td class="md" colspan="2"><code> [virtual]</code></td>
607        </tr>
608
609      </table>
610    </td>
611  </tr>
612</table>
613<table cellspacing=5 cellpadding=0 border=0>
614  <tr>
615    <td>
616      &nbsp;
617    </td>
618    <td>
619
620<p>
621<dl compact><dt><b>Parameters:</b></dt><dd>
622  <table border="0" cellspacing="2" cellpadding="0">
623    <tr><td valign=top><em>dst</em>&nbsp;</td><td>Source pixel buffer </td></tr>
624    <tr><td valign=top><em>srcBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the source region in src </td></tr>
625    <tr><td valign=top><em>dstBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the destination region in this buffer </td></tr>
626  </table>
627</dl>
628<dl compact><dt><b>Remarks:</b></dt><dd>The source and destination regions dimensions don't have to match, in which case scaling is done. This scaling is done in software for some render systems, thus for realtime usage it is recommended to pass the source image in the right dimensions. </dd></dl>
629<dl compact><dt><b>Note:</b></dt><dd>Only call this function when both buffers are unlocked.</dd></dl>
630 
631<p>
632
633<p>
634Reimplemented from <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera7">Ogre::HardwarePixelBuffer</a>.    </td>
635  </tr>
636</table>
637<a class="anchor" name="Ogre_1_1HardwarePixelBuffera10" doxytag="Ogre::D3D7HardwarePixelBuffer::blitFromMemory" ></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"> void Ogre::HardwarePixelBuffer::blitFromMemory </td>
644          <td class="md" valign="top">(&nbsp;</td>
645          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
646          <td class="mdname1" valign="top" nowrap> <em>src</em>          </td>
647          <td class="md" valign="top">&nbsp;)&nbsp;</td>
648          <td class="md" nowrap><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>
663Convience function that blits a pixelbox from memory to the entire buffer.
664<p>
665The source image is scaled as needed. <dl compact><dt><b>Parameters:</b></dt><dd>
666  <table border="0" cellspacing="2" cellpadding="0">
667    <tr><td valign=top><em>src</em>&nbsp;</td><td><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> containing the source pixels and format in memory </td></tr>
668  </table>
669</dl>
670<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked.</dd></dl>
671
672<p>
673Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00138">138</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
674  </tr>
675</table>
676<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera3" doxytag="Ogre::D3D7HardwarePixelBuffer::blitFromMemory" ></a><p>
677<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
678  <tr>
679    <td class="mdRow">
680      <table cellpadding="0" cellspacing="0" border="0">
681        <tr>
682          <td class="md" nowrap valign="top"> void Ogre::D3D7HardwarePixelBuffer::blitFromMemory </td>
683          <td class="md" valign="top">(&nbsp;</td>
684          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
685          <td class="mdname" nowrap> <em>src</em>, </td>
686        </tr>
687        <tr>
688          <td class="md" nowrap align="right"></td>
689          <td></td>
690          <td class="md" nowrap>const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
691          <td class="mdname" nowrap> <em>dstBox</em></td>
692        </tr>
693        <tr>
694          <td></td>
695          <td class="md">)&nbsp;</td>
696          <td class="md" colspan="2"><code> [virtual]</code></td>
697        </tr>
698
699      </table>
700    </td>
701  </tr>
702</table>
703<table cellspacing=5 cellpadding=0 border=0>
704  <tr>
705    <td>
706      &nbsp;
707    </td>
708    <td>
709
710<p>
711The source image can be in any pixel format supported by OGRE, and in any size. <dl compact><dt><b>Parameters:</b></dt><dd>
712  <table border="0" cellspacing="2" cellpadding="0">
713    <tr><td valign=top><em>src</em>&nbsp;</td><td><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> containing the source pixels and format in memory </td></tr>
714    <tr><td valign=top><em>dstBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the destination region in this buffer </td></tr>
715  </table>
716</dl>
717<dl compact><dt><b>Remarks:</b></dt><dd>The source and destination regions dimensions don't have to match, in which case scaling is done. This scaling is done in software for some render systems, so for realtime usage it is recommended to pass the source image in the right dimensions. </dd></dl>
718<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
719 
720<p>
721
722<p>
723Implements <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera9">Ogre::HardwarePixelBuffer</a>.    </td>
724  </tr>
725</table>
726<a class="anchor" name="Ogre_1_1HardwarePixelBuffera12" doxytag="Ogre::D3D7HardwarePixelBuffer::blitToMemory" ></a><p>
727<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
728  <tr>
729    <td class="mdRow">
730      <table cellpadding="0" cellspacing="0" border="0">
731        <tr>
732          <td class="md" nowrap valign="top"> void Ogre::HardwarePixelBuffer::blitToMemory </td>
733          <td class="md" valign="top">(&nbsp;</td>
734          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
735          <td class="mdname1" valign="top" nowrap> <em>dst</em>          </td>
736          <td class="md" valign="top">&nbsp;)&nbsp;</td>
737          <td class="md" nowrap><code> [inherited]</code></td>
738        </tr>
739
740      </table>
741    </td>
742  </tr>
743</table>
744<table cellspacing=5 cellpadding=0 border=0>
745  <tr>
746    <td>
747      &nbsp;
748    </td>
749    <td>
750
751<p>
752Convience function that blits this entire buffer to a pixelbox.
753<p>
754The image is scaled as needed. <dl compact><dt><b>Parameters:</b></dt><dd>
755  <table border="0" cellspacing="2" cellpadding="0">
756    <tr><td valign=top><em>src</em>&nbsp;</td><td><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> containing the source pixels and format in memory </td></tr>
757  </table>
758</dl>
759<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked.</dd></dl>
760
761<p>
762Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00157">157</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
763  </tr>
764</table>
765<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBuffera4" doxytag="Ogre::D3D7HardwarePixelBuffer::blitToMemory" ></a><p>
766<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
767  <tr>
768    <td class="mdRow">
769      <table cellpadding="0" cellspacing="0" border="0">
770        <tr>
771          <td class="md" nowrap valign="top"> void Ogre::D3D7HardwarePixelBuffer::blitToMemory </td>
772          <td class="md" valign="top">(&nbsp;</td>
773          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
774          <td class="mdname" nowrap> <em>srcBox</em>, </td>
775        </tr>
776        <tr>
777          <td class="md" nowrap align="right"></td>
778          <td></td>
779          <td class="md" nowrap>const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
780          <td class="mdname" nowrap> <em>dst</em></td>
781        </tr>
782        <tr>
783          <td></td>
784          <td class="md">)&nbsp;</td>
785          <td class="md" colspan="2"><code> [virtual]</code></td>
786        </tr>
787
788      </table>
789    </td>
790  </tr>
791</table>
792<table cellspacing=5 cellpadding=0 border=0>
793  <tr>
794    <td>
795      &nbsp;
796    </td>
797    <td>
798
799<p>
800<dl compact><dt><b>Parameters:</b></dt><dd>
801  <table border="0" cellspacing="2" cellpadding="0">
802    <tr><td valign=top><em>srcBox</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Image.html#Ogre_1_1Imagew0">Image::Box</a> describing the source region of this buffer </td></tr>
803    <tr><td valign=top><em>dst</em>&nbsp;</td><td><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> describing the destination pixels and format in memory </td></tr>
804  </table>
805</dl>
806<dl compact><dt><b>Remarks:</b></dt><dd>The source and destination regions don't have to match, in which case scaling is done. </dd></dl>
807<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
808 
809<p>
810
811<p>
812Implements <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera11">Ogre::HardwarePixelBuffer</a>.    </td>
813  </tr>
814</table>
815<a class="anchor" name="Ogre_1_1HardwareVertexBuffera9" doxytag="Ogre::D3D7HardwarePixelBuffer::copyData" ></a><p>
816<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
817  <tr>
818    <td class="mdRow">
819      <table cellpadding="0" cellspacing="0" border="0">
820        <tr>
821          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::copyData </td>
822          <td class="md" valign="top">(&nbsp;</td>
823          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> &amp;&nbsp;</td>
824          <td class="mdname" nowrap> <em>srcBuffer</em>, </td>
825        </tr>
826        <tr>
827          <td class="md" nowrap align="right"></td>
828          <td></td>
829          <td class="md" nowrap>size_t&nbsp;</td>
830          <td class="mdname" nowrap> <em>srcOffset</em>, </td>
831        </tr>
832        <tr>
833          <td class="md" nowrap align="right"></td>
834          <td></td>
835          <td class="md" nowrap>size_t&nbsp;</td>
836          <td class="mdname" nowrap> <em>dstOffset</em>, </td>
837        </tr>
838        <tr>
839          <td class="md" nowrap align="right"></td>
840          <td></td>
841          <td class="md" nowrap>size_t&nbsp;</td>
842          <td class="mdname" nowrap> <em>length</em>, </td>
843        </tr>
844        <tr>
845          <td class="md" nowrap align="right"></td>
846          <td></td>
847          <td class="md" nowrap>bool&nbsp;</td>
848          <td class="mdname" nowrap> <em>discardWholeBuffer</em> = false</td>
849        </tr>
850        <tr>
851          <td></td>
852          <td class="md">)&nbsp;</td>
853          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
854        </tr>
855
856      </table>
857    </td>
858  </tr>
859</table>
860<table cellspacing=5 cellpadding=0 border=0>
861  <tr>
862    <td>
863      &nbsp;
864    </td>
865    <td>
866
867<p>
868Copy data from another buffer into this one.
869<p>
870<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>
871<dl compact><dt><b>Parameters:</b></dt><dd>
872  <table border="0" cellspacing="2" cellpadding="0">
873    <tr><td valign=top><em>srcBuffer</em>&nbsp;</td><td>The buffer from which to read the copied data </td></tr>
874    <tr><td valign=top><em>srcOffset</em>&nbsp;</td><td>Offset in the source buffer at which to start reading </td></tr>
875    <tr><td valign=top><em>dstOffset</em>&nbsp;</td><td>Offset in the destination buffer to start writing </td></tr>
876    <tr><td valign=top><em>length</em>&nbsp;</td><td>Length of the data to copy, in bytes. </td></tr>
877    <tr><td valign=top><em>discardWholeBuffer</em>&nbsp;</td><td>If true, will discard the entire contents of this buffer before copying</td></tr>
878  </table>
879</dl>
880
881<p>
882Definition 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>.
883<p>
884References <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>
885  </tr>
886</table>
887<a class="anchor" name="Ogre_1_1HardwarePixelBuffera4" doxytag="Ogre::D3D7HardwarePixelBuffer::getCurrentLock" ></a><p>
888<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
889  <tr>
890    <td class="mdRow">
891      <table cellpadding="0" cellspacing="0" border="0">
892        <tr>
893          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a>&amp; Ogre::HardwarePixelBuffer::getCurrentLock </td>
894          <td class="md" valign="top">(&nbsp;</td>
895          <td class="mdname1" valign="top" nowrap>          </td>
896          <td class="md" valign="top">&nbsp;)&nbsp;</td>
897          <td class="md" nowrap><code> [inherited]</code></td>
898        </tr>
899
900      </table>
901    </td>
902  </tr>
903</table>
904<table cellspacing=5 cellpadding=0 border=0>
905  <tr>
906    <td>
907      &nbsp;
908    </td>
909    <td>
910
911<p>
912Get the current locked region.
913<p>
914This is the same value as returned by lock(const Image::Box, LockOptions) <dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> containing the locked region</dd></dl>
915    </td>
916  </tr>
917</table>
918<a class="anchor" name="Ogre_1_1HardwarePixelBuffera15" doxytag="Ogre::D3D7HardwarePixelBuffer::getDepth" ></a><p>
919<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
920  <tr>
921    <td class="mdRow">
922      <table cellpadding="0" cellspacing="0" border="0">
923        <tr>
924          <td class="md" nowrap valign="top"> size_t Ogre::HardwarePixelBuffer::getDepth </td>
925          <td class="md" valign="top">(&nbsp;</td>
926          <td class="mdname1" valign="top" nowrap>          </td>
927          <td class="md" valign="top">&nbsp;)&nbsp;</td>
928          <td class="md" nowrap> const<code> [inherited]</code></td>
929        </tr>
930
931      </table>
932    </td>
933  </tr>
934</table>
935<table cellspacing=5 cellpadding=0 border=0>
936  <tr>
937    <td>
938      &nbsp;
939    </td>
940    <td>
941
942<p>
943Gets the depth of this buffer.
944<p>
945
946<p>
947Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00167">167</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
948<p>
949Referenced by <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00114">Ogre::HardwarePixelBuffer::blit()</a>.    </td>
950  </tr>
951</table>
952<a class="anchor" name="Ogre_1_1HardwarePixelBuffera16" doxytag="Ogre::D3D7HardwarePixelBuffer::getFormat" ></a><p>
953<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
954  <tr>
955    <td class="mdRow">
956      <table cellpadding="0" cellspacing="0" border="0">
957        <tr>
958          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a667">PixelFormat</a> Ogre::HardwarePixelBuffer::getFormat </td>
959          <td class="md" valign="top">(&nbsp;</td>
960          <td class="mdname1" valign="top" nowrap>          </td>
961          <td class="md" valign="top">&nbsp;)&nbsp;</td>
962          <td class="md" nowrap> const<code> [inherited]</code></td>
963        </tr>
964
965      </table>
966    </td>
967  </tr>
968</table>
969<table cellspacing=5 cellpadding=0 border=0>
970  <tr>
971    <td>
972      &nbsp;
973    </td>
974    <td>
975
976<p>
977Gets the native pixel format of this buffer.
978<p>
979
980<p>
981Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00169">169</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
982<p>
983References <a class="el" href="OgrePixelFormat_8h-source.html#l00033">Ogre::PixelFormat</a>.    </td>
984  </tr>
985</table>
986<a class="anchor" name="Ogre_1_1HardwarePixelBuffera14" doxytag="Ogre::D3D7HardwarePixelBuffer::getHeight" ></a><p>
987<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
988  <tr>
989    <td class="mdRow">
990      <table cellpadding="0" cellspacing="0" border="0">
991        <tr>
992          <td class="md" nowrap valign="top"> size_t Ogre::HardwarePixelBuffer::getHeight </td>
993          <td class="md" valign="top">(&nbsp;</td>
994          <td class="mdname1" valign="top" nowrap>          </td>
995          <td class="md" valign="top">&nbsp;)&nbsp;</td>
996          <td class="md" nowrap> const<code> [inherited]</code></td>
997        </tr>
998
999      </table>
1000    </td>
1001  </tr>
1002</table>
1003<table cellspacing=5 cellpadding=0 border=0>
1004  <tr>
1005    <td>
1006      &nbsp;
1007    </td>
1008    <td>
1009
1010<p>
1011Gets the height of this buffer.
1012<p>
1013
1014<p>
1015Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00165">165</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
1016<p>
1017Referenced by <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00114">Ogre::HardwarePixelBuffer::blit()</a>.    </td>
1018  </tr>
1019</table>
1020<a class="anchor" name="Ogre_1_1HardwareVertexBuffera11" doxytag="Ogre::D3D7HardwarePixelBuffer::getSizeInBytes" ></a><p>
1021<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1022  <tr>
1023    <td class="mdRow">
1024      <table cellpadding="0" cellspacing="0" border="0">
1025        <tr>
1026          <td class="md" nowrap valign="top"> size_t Ogre::HardwareBuffer::getSizeInBytes </td>
1027          <td class="md" valign="top">(&nbsp;</td>
1028          <td class="md" nowrap valign="top">void&nbsp;</td>
1029          <td class="mdname1" valign="top" nowrap>          </td>
1030          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1031          <td class="md" nowrap> const<code> [inherited]</code></td>
1032        </tr>
1033
1034      </table>
1035    </td>
1036  </tr>
1037</table>
1038<table cellspacing=5 cellpadding=0 border=0>
1039  <tr>
1040    <td>
1041      &nbsp;
1042    </td>
1043    <td>
1044
1045<p>
1046Returns the size of this buffer in bytes.
1047<p>
1048
1049<p>
1050Definition 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>
1051  </tr>
1052</table>
1053<a class="anchor" name="Ogre_1_1HardwareVertexBuffera12" doxytag="Ogre::D3D7HardwarePixelBuffer::getUsage" ></a><p>
1054<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1055  <tr>
1056    <td class="mdRow">
1057      <table cellpadding="0" cellspacing="0" border="0">
1058        <tr>
1059          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a> Ogre::HardwareBuffer::getUsage </td>
1060          <td class="md" valign="top">(&nbsp;</td>
1061          <td class="md" nowrap valign="top">void&nbsp;</td>
1062          <td class="mdname1" valign="top" nowrap>          </td>
1063          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1064          <td class="md" nowrap> const<code> [inherited]</code></td>
1065        </tr>
1066
1067      </table>
1068    </td>
1069  </tr>
1070</table>
1071<table cellspacing=5 cellpadding=0 border=0>
1072  <tr>
1073    <td>
1074      &nbsp;
1075    </td>
1076    <td>
1077
1078<p>
1079Returns the Usage flags with which this buffer was created.
1080<p>
1081
1082<p>
1083Definition 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>
1084  </tr>
1085</table>
1086<a class="anchor" name="Ogre_1_1HardwarePixelBuffera13" doxytag="Ogre::D3D7HardwarePixelBuffer::getWidth" ></a><p>
1087<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1088  <tr>
1089    <td class="mdRow">
1090      <table cellpadding="0" cellspacing="0" border="0">
1091        <tr>
1092          <td class="md" nowrap valign="top"> size_t Ogre::HardwarePixelBuffer::getWidth </td>
1093          <td class="md" valign="top">(&nbsp;</td>
1094          <td class="mdname1" valign="top" nowrap>          </td>
1095          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1096          <td class="md" nowrap> const<code> [inherited]</code></td>
1097        </tr>
1098
1099      </table>
1100    </td>
1101  </tr>
1102</table>
1103<table cellspacing=5 cellpadding=0 border=0>
1104  <tr>
1105    <td>
1106      &nbsp;
1107    </td>
1108    <td>
1109
1110<p>
1111Gets the width of this buffer.
1112<p>
1113
1114<p>
1115Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00163">163</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
1116<p>
1117Referenced by <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00114">Ogre::HardwarePixelBuffer::blit()</a>.    </td>
1118  </tr>
1119</table>
1120<a class="anchor" name="Ogre_1_1HardwareVertexBuffera14" doxytag="Ogre::D3D7HardwarePixelBuffer::hasShadowBuffer" ></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"> bool Ogre::HardwareBuffer::hasShadowBuffer </td>
1127          <td class="md" valign="top">(&nbsp;</td>
1128          <td class="md" nowrap valign="top">void&nbsp;</td>
1129          <td class="mdname1" valign="top" nowrap>          </td>
1130          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1131          <td class="md" nowrap> const<code> [inherited]</code></td>
1132        </tr>
1133
1134      </table>
1135    </td>
1136  </tr>
1137</table>
1138<table cellspacing=5 cellpadding=0 border=0>
1139  <tr>
1140    <td>
1141      &nbsp;
1142    </td>
1143    <td>
1144
1145<p>
1146Returns whether this buffer has a system memory shadow for quicker reading.
1147<p>
1148
1149<p>
1150Definition 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>
1151  </tr>
1152</table>
1153<a class="anchor" name="Ogre_1_1HardwareVertexBuffera15" doxytag="Ogre::D3D7HardwarePixelBuffer::isLocked" ></a><p>
1154<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1155  <tr>
1156    <td class="mdRow">
1157      <table cellpadding="0" cellspacing="0" border="0">
1158        <tr>
1159          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::isLocked </td>
1160          <td class="md" valign="top">(&nbsp;</td>
1161          <td class="md" nowrap valign="top">void&nbsp;</td>
1162          <td class="mdname1" valign="top" nowrap>          </td>
1163          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1164          <td class="md" nowrap> const<code> [inherited]</code></td>
1165        </tr>
1166
1167      </table>
1168    </td>
1169  </tr>
1170</table>
1171<table cellspacing=5 cellpadding=0 border=0>
1172  <tr>
1173    <td>
1174      &nbsp;
1175    </td>
1176    <td>
1177
1178<p>
1179Returns whether or not this buffer is currently locked.
1180<p>
1181
1182<p>
1183Definition 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>
1184  </tr>
1185</table>
1186<a class="anchor" name="Ogre_1_1HardwareVertexBuffera13" doxytag="Ogre::D3D7HardwarePixelBuffer::isSystemMemory" ></a><p>
1187<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1188  <tr>
1189    <td class="mdRow">
1190      <table cellpadding="0" cellspacing="0" border="0">
1191        <tr>
1192          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::isSystemMemory </td>
1193          <td class="md" valign="top">(&nbsp;</td>
1194          <td class="md" nowrap valign="top">void&nbsp;</td>
1195          <td class="mdname1" valign="top" nowrap>          </td>
1196          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1197          <td class="md" nowrap> const<code> [inherited]</code></td>
1198        </tr>
1199
1200      </table>
1201    </td>
1202  </tr>
1203</table>
1204<table cellspacing=5 cellpadding=0 border=0>
1205  <tr>
1206    <td>
1207      &nbsp;
1208    </td>
1209    <td>
1210
1211<p>
1212Returns whether this buffer is held in system memory.
1213<p>
1214
1215<p>
1216Definition 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>
1217  </tr>
1218</table>
1219<a class="anchor" name="Ogre_1_1HardwarePixelBuffera18" doxytag="Ogre::D3D7HardwarePixelBuffer::lock" ></a><p>
1220<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1221  <tr>
1222    <td class="mdRow">
1223      <table cellpadding="0" cellspacing="0" border="0">
1224        <tr>
1225          <td class="md" nowrap valign="top"> void* Ogre::HardwareBuffer::lock </td>
1226          <td class="md" valign="top">(&nbsp;</td>
1227          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1228          <td class="mdname1" valign="top" nowrap> <em>options</em>          </td>
1229          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1230          <td class="md" nowrap><code> [inherited]</code></td>
1231        </tr>
1232
1233      </table>
1234    </td>
1235  </tr>
1236</table>
1237<table cellspacing=5 cellpadding=0 border=0>
1238  <tr>
1239    <td>
1240      &nbsp;
1241    </td>
1242    <td>
1243
1244<p>
1245make every lock method from <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> available.
1246<p>
1247See <a href="http://www.research.att.com/~bs/bs_faq2.html#overloadderived">http://www.research.att.com/~bs/bs_faq2.html#overloadderived</a>
1248<p>
1249Definition 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>
1250  </tr>
1251</table>
1252<a class="anchor" name="Ogre_1_1HardwarePixelBuffera17" doxytag="Ogre::D3D7HardwarePixelBuffer::lock" ></a><p>
1253<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1254  <tr>
1255    <td class="mdRow">
1256      <table cellpadding="0" cellspacing="0" border="0">
1257        <tr>
1258          <td class="md" nowrap valign="top"> virtual void* Ogre::HardwareBuffer::lock </td>
1259          <td class="md" valign="top">(&nbsp;</td>
1260          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1261          <td class="mdname" nowrap> <em>offset</em>, </td>
1262        </tr>
1263        <tr>
1264          <td class="md" nowrap align="right"></td>
1265          <td></td>
1266          <td class="md" nowrap>size_t&nbsp;</td>
1267          <td class="mdname" nowrap> <em>length</em>, </td>
1268        </tr>
1269        <tr>
1270          <td class="md" nowrap align="right"></td>
1271          <td></td>
1272          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1273          <td class="mdname" nowrap> <em>options</em></td>
1274        </tr>
1275        <tr>
1276          <td></td>
1277          <td class="md">)&nbsp;</td>
1278          <td class="md" colspan="2"><code> [inherited]</code></td>
1279        </tr>
1280
1281      </table>
1282    </td>
1283  </tr>
1284</table>
1285<table cellspacing=5 cellpadding=0 border=0>
1286  <tr>
1287    <td>
1288      &nbsp;
1289    </td>
1290    <td>
1291
1292<p>
1293make every lock method from <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> available.
1294<p>
1295See <a href="http://www.research.att.com/~bs/bs_faq2.html#overloadderived">http://www.research.att.com/~bs/bs_faq2.html#overloadderived</a>
1296<p>
1297Definition 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>.    </td>
1298  </tr>
1299</table>
1300<a class="anchor" name="Ogre_1_1HardwarePixelBuffera3" doxytag="Ogre::D3D7HardwarePixelBuffer::lock" ></a><p>
1301<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1302  <tr>
1303    <td class="mdRow">
1304      <table cellpadding="0" cellspacing="0" border="0">
1305        <tr>
1306          <td class="md" nowrap valign="top"> virtual void* Ogre::HardwarePixelBuffer::lock </td>
1307          <td class="md" valign="top">(&nbsp;</td>
1308          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1309          <td class="mdname" nowrap> <em>offset</em>, </td>
1310        </tr>
1311        <tr>
1312          <td class="md" nowrap align="right"></td>
1313          <td></td>
1314          <td class="md" nowrap>size_t&nbsp;</td>
1315          <td class="mdname" nowrap> <em>length</em>, </td>
1316        </tr>
1317        <tr>
1318          <td class="md" nowrap align="right"></td>
1319          <td></td>
1320          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1321          <td class="mdname" nowrap> <em>options</em></td>
1322        </tr>
1323        <tr>
1324          <td></td>
1325          <td class="md">)&nbsp;</td>
1326          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1327        </tr>
1328
1329      </table>
1330    </td>
1331  </tr>
1332</table>
1333<table cellspacing=5 cellpadding=0 border=0>
1334  <tr>
1335    <td>
1336      &nbsp;
1337    </td>
1338    <td>
1339
1340<p>
1341<dl compact><dt><b>Parameters:</b></dt><dd>
1342  <table border="0" cellspacing="2" cellpadding="0">
1343    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to lock </td></tr>
1344    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to lock, in bytes </td></tr>
1345    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
1346  </table>
1347</dl>
1348<dl compact><dt><b>Returns:</b></dt><dd>Pointer to the locked memory </dd></dl>
1349 
1350<p>
1351
1352<p>
1353Reimplemented from <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera4">Ogre::HardwareBuffer</a>.    </td>
1354  </tr>
1355</table>
1356<a class="anchor" name="Ogre_1_1HardwarePixelBuffera2" doxytag="Ogre::D3D7HardwarePixelBuffer::lock" ></a><p>
1357<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1358  <tr>
1359    <td class="mdRow">
1360      <table cellpadding="0" cellspacing="0" border="0">
1361        <tr>
1362          <td class="md" nowrap valign="top"> virtual const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a>&amp; Ogre::HardwarePixelBuffer::lock </td>
1363          <td class="md" valign="top">(&nbsp;</td>
1364          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
1365          <td class="mdname" nowrap> <em>lockBox</em>, </td>
1366        </tr>
1367        <tr>
1368          <td class="md" nowrap align="right"></td>
1369          <td></td>
1370          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1371          <td class="mdname" nowrap> <em>options</em></td>
1372        </tr>
1373        <tr>
1374          <td></td>
1375          <td class="md">)&nbsp;</td>
1376          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1377        </tr>
1378
1379      </table>
1380    </td>
1381  </tr>
1382</table>
1383<table cellspacing=5 cellpadding=0 border=0>
1384  <tr>
1385    <td>
1386      &nbsp;
1387    </td>
1388    <td>
1389
1390<p>
1391Lock the buffer for (potentially) reading / writing.
1392<p>
1393<dl compact><dt><b>Parameters:</b></dt><dd>
1394  <table border="0" cellspacing="2" cellpadding="0">
1395    <tr><td valign=top><em>lockBox</em>&nbsp;</td><td>Region of the buffer to lock </td></tr>
1396    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
1397  </table>
1398</dl>
1399<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> containing the locked region, the pitches and the pixel format</dd></dl>
1400    </td>
1401  </tr>
1402</table>
1403<a class="anchor" name="Ogre_1_1HardwarePixelBufferb1" doxytag="Ogre::D3D7HardwarePixelBuffer::lockImpl" ></a><p>
1404<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1405  <tr>
1406    <td class="mdRow">
1407      <table cellpadding="0" cellspacing="0" border="0">
1408        <tr>
1409          <td class="md" nowrap valign="top"> virtual void* Ogre::HardwarePixelBuffer::lockImpl </td>
1410          <td class="md" valign="top">(&nbsp;</td>
1411          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1412          <td class="mdname" nowrap> <em>offset</em>, </td>
1413        </tr>
1414        <tr>
1415          <td class="md" nowrap align="right"></td>
1416          <td></td>
1417          <td class="md" nowrap>size_t&nbsp;</td>
1418          <td class="mdname" nowrap> <em>length</em>, </td>
1419        </tr>
1420        <tr>
1421          <td class="md" nowrap align="right"></td>
1422          <td></td>
1423          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1424          <td class="mdname" nowrap> <em>options</em></td>
1425        </tr>
1426        <tr>
1427          <td></td>
1428          <td class="md">)&nbsp;</td>
1429          <td class="md" colspan="2"><code> [protected, virtual, inherited]</code></td>
1430        </tr>
1431
1432      </table>
1433    </td>
1434  </tr>
1435</table>
1436<table cellspacing=5 cellpadding=0 border=0>
1437  <tr>
1438    <td>
1439      &nbsp;
1440    </td>
1441    <td>
1442
1443<p>
1444Internal implementation of <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera2">lock()</a>, do not OVERRIDE or CALL this for <a class="el" href="classOgre_1_1HardwarePixelBuffer.html">HardwarePixelBuffer</a> implementations, but override the previous method.
1445<p>
1446
1447<p>
1448Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferb0">Ogre::HardwareBuffer</a>.    </td>
1449  </tr>
1450</table>
1451<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBufferb0" doxytag="Ogre::D3D7HardwarePixelBuffer::lockImpl" ></a><p>
1452<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1453  <tr>
1454    <td class="mdRow">
1455      <table cellpadding="0" cellspacing="0" border="0">
1456        <tr>
1457          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> Ogre::D3D7HardwarePixelBuffer::lockImpl </td>
1458          <td class="md" valign="top">(&nbsp;</td>
1459          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1Box.html">Image::Box</a>&nbsp;</td>
1460          <td class="mdname" nowrap> <em>lockBox</em>, </td>
1461        </tr>
1462        <tr>
1463          <td class="md" nowrap align="right"></td>
1464          <td></td>
1465          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1466          <td class="mdname" nowrap> <em>options</em></td>
1467        </tr>
1468        <tr>
1469          <td></td>
1470          <td class="md">)&nbsp;</td>
1471          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1472        </tr>
1473
1474      </table>
1475    </td>
1476  </tr>
1477</table>
1478<table cellspacing=5 cellpadding=0 border=0>
1479  <tr>
1480    <td>
1481      &nbsp;
1482    </td>
1483    <td>
1484
1485<p>
1486Lock a box.
1487<p>
1488
1489<p>
1490Implements <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferb0">Ogre::HardwarePixelBuffer</a>.    </td>
1491  </tr>
1492</table>
1493<a class="anchor" name="Ogre_1_1HardwarePixelBuffera5" doxytag="Ogre::D3D7HardwarePixelBuffer::readData" ></a><p>
1494<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1495  <tr>
1496    <td class="mdRow">
1497      <table cellpadding="0" cellspacing="0" border="0">
1498        <tr>
1499          <td class="md" nowrap valign="top"> virtual void Ogre::HardwarePixelBuffer::readData </td>
1500          <td class="md" valign="top">(&nbsp;</td>
1501          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1502          <td class="mdname" nowrap> <em>offset</em>, </td>
1503        </tr>
1504        <tr>
1505          <td class="md" nowrap align="right"></td>
1506          <td></td>
1507          <td class="md" nowrap>size_t&nbsp;</td>
1508          <td class="mdname" nowrap> <em>length</em>, </td>
1509        </tr>
1510        <tr>
1511          <td class="md" nowrap align="right"></td>
1512          <td></td>
1513          <td class="md" nowrap>void *&nbsp;</td>
1514          <td class="mdname" nowrap> <em>pDest</em></td>
1515        </tr>
1516        <tr>
1517          <td></td>
1518          <td class="md">)&nbsp;</td>
1519          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1520        </tr>
1521
1522      </table>
1523    </td>
1524  </tr>
1525</table>
1526<table cellspacing=5 cellpadding=0 border=0>
1527  <tr>
1528    <td>
1529      &nbsp;
1530    </td>
1531    <td>
1532
1533<p>
1534<dl compact><dt><b>Parameters:</b></dt><dd>
1535  <table border="0" cellspacing="2" cellpadding="0">
1536    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to read </td></tr>
1537    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to read, in bytes </td></tr>
1538    <tr><td valign=top><em>pDest</em>&nbsp;</td><td>The area of memory in which to place the data, must be large enough to accommodate the data!</td></tr>
1539  </table>
1540</dl>
1541 
1542<p>
1543
1544<p>
1545Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera7">Ogre::HardwareBuffer</a>.    </td>
1546  </tr>
1547</table>
1548<a class="anchor" name="Ogre_1_1HardwareVertexBuffera16" doxytag="Ogre::D3D7HardwarePixelBuffer::suppressHardwareUpdate" ></a><p>
1549<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1550  <tr>
1551    <td class="mdRow">
1552      <table cellpadding="0" cellspacing="0" border="0">
1553        <tr>
1554          <td class="md" nowrap valign="top"> void Ogre::HardwareBuffer::suppressHardwareUpdate </td>
1555          <td class="md" valign="top">(&nbsp;</td>
1556          <td class="md" nowrap valign="top">bool&nbsp;</td>
1557          <td class="mdname1" valign="top" nowrap> <em>suppress</em>          </td>
1558          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1559          <td class="md" nowrap><code> [inherited]</code></td>
1560        </tr>
1561
1562      </table>
1563    </td>
1564  </tr>
1565</table>
1566<table cellspacing=5 cellpadding=0 border=0>
1567  <tr>
1568    <td>
1569      &nbsp;
1570    </td>
1571    <td>
1572
1573<p>
1574<a class="el" href="classOgre_1_1Pass.html">Pass</a> true to suppress hardware upload of shadow buffer changes.
1575<p>
1576
1577<p>
1578Definition 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>
1579  </tr>
1580</table>
1581<a class="anchor" name="Ogre_1_1HardwareVertexBuffera6" doxytag="Ogre::D3D7HardwarePixelBuffer::unlock" ></a><p>
1582<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1583  <tr>
1584    <td class="mdRow">
1585      <table cellpadding="0" cellspacing="0" border="0">
1586        <tr>
1587          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::unlock </td>
1588          <td class="md" valign="top">(&nbsp;</td>
1589          <td class="md" nowrap valign="top">void&nbsp;</td>
1590          <td class="mdname1" valign="top" nowrap>          </td>
1591          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1592          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1593        </tr>
1594
1595      </table>
1596    </td>
1597  </tr>
1598</table>
1599<table cellspacing=5 cellpadding=0 border=0>
1600  <tr>
1601    <td>
1602      &nbsp;
1603    </td>
1604    <td>
1605
1606<p>
1607Releases the lock on this buffer.
1608<p>
1609<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>
1610<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>
1611
1612<p>
1613Reimplemented 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>.
1614<p>
1615Definition 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>.
1616<p>
1617Referenced by <a class="el" href="OgreHardwareBuffer_8h-source.html#l00265">Ogre::HardwareBuffer::copyData()</a>.    </td>
1618  </tr>
1619</table>
1620<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBufferb1" doxytag="Ogre::D3D7HardwarePixelBuffer::unlockImpl" ></a><p>
1621<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1622  <tr>
1623    <td class="mdRow">
1624      <table cellpadding="0" cellspacing="0" border="0">
1625        <tr>
1626          <td class="md" nowrap valign="top"> void Ogre::D3D7HardwarePixelBuffer::unlockImpl </td>
1627          <td class="md" valign="top">(&nbsp;</td>
1628          <td class="md" nowrap valign="top">void&nbsp;</td>
1629          <td class="mdname1" valign="top" nowrap>          </td>
1630          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1631          <td class="md" nowrap><code> [protected, virtual]</code></td>
1632        </tr>
1633
1634      </table>
1635    </td>
1636  </tr>
1637</table>
1638<table cellspacing=5 cellpadding=0 border=0>
1639  <tr>
1640    <td>
1641      &nbsp;
1642    </td>
1643    <td>
1644
1645<p>
1646Unlock a box.
1647<p>
1648
1649<p>
1650Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferb1">Ogre::HardwareBuffer</a>.    </td>
1651  </tr>
1652</table>
1653<a class="anchor" name="Ogre_1_1HardwarePixelBuffera6" doxytag="Ogre::D3D7HardwarePixelBuffer::writeData" ></a><p>
1654<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1655  <tr>
1656    <td class="mdRow">
1657      <table cellpadding="0" cellspacing="0" border="0">
1658        <tr>
1659          <td class="md" nowrap valign="top"> virtual void Ogre::HardwarePixelBuffer::writeData </td>
1660          <td class="md" valign="top">(&nbsp;</td>
1661          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1662          <td class="mdname" nowrap> <em>offset</em>, </td>
1663        </tr>
1664        <tr>
1665          <td class="md" nowrap align="right"></td>
1666          <td></td>
1667          <td class="md" nowrap>size_t&nbsp;</td>
1668          <td class="mdname" nowrap> <em>length</em>, </td>
1669        </tr>
1670        <tr>
1671          <td class="md" nowrap align="right"></td>
1672          <td></td>
1673          <td class="md" nowrap>const void *&nbsp;</td>
1674          <td class="mdname" nowrap> <em>pSource</em>, </td>
1675        </tr>
1676        <tr>
1677          <td class="md" nowrap align="right"></td>
1678          <td></td>
1679          <td class="md" nowrap>bool&nbsp;</td>
1680          <td class="mdname" nowrap> <em>discardWholeBuffer</em> = false</td>
1681        </tr>
1682        <tr>
1683          <td></td>
1684          <td class="md">)&nbsp;</td>
1685          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1686        </tr>
1687
1688      </table>
1689    </td>
1690  </tr>
1691</table>
1692<table cellspacing=5 cellpadding=0 border=0>
1693  <tr>
1694    <td>
1695      &nbsp;
1696    </td>
1697    <td>
1698
1699<p>
1700<dl compact><dt><b>Parameters:</b></dt><dd>
1701  <table border="0" cellspacing="2" cellpadding="0">
1702    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to start writing </td></tr>
1703    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the data to write to, in bytes </td></tr>
1704    <tr><td valign=top><em>pSource</em>&nbsp;</td><td>The source of the data to be written </td></tr>
1705    <tr><td valign=top><em>discardWholeBuffer</em>&nbsp;</td><td>If true, this allows the driver to discard the entire buffer when writing, such that DMA stalls can be avoided; use if you can.</td></tr>
1706  </table>
1707</dl>
1708 
1709<p>
1710
1711<p>
1712Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera8">Ogre::HardwareBuffer</a>.    </td>
1713  </tr>
1714</table>
1715<hr><h2>Member Data Documentation</h2>
1716<a class="anchor" name="Ogre_1_1HardwarePixelBufferp6" doxytag="Ogre::D3D7HardwarePixelBuffer::mCurrentLock" ></a><p>
1717<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1718  <tr>
1719    <td class="mdRow">
1720      <table cellpadding="0" cellspacing="0" border="0">
1721        <tr>
1722          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp6">Ogre::HardwarePixelBuffer::mCurrentLock</a><code> [protected, inherited]</code>
1723      </table>
1724    </td>
1725  </tr>
1726</table>
1727<table cellspacing=5 cellpadding=0 border=0>
1728  <tr>
1729    <td>
1730      &nbsp;
1731    </td>
1732    <td>
1733
1734<p>
1735
1736<p>
1737Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00052">52</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
1738  </tr>
1739</table>
1740<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBufferp0" doxytag="Ogre::D3D7HardwarePixelBuffer::mD3DDevice" ></a><p>
1741<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1742  <tr>
1743    <td class="mdRow">
1744      <table cellpadding="0" cellspacing="0" border="0">
1745        <tr>
1746          <td class="md" nowrap valign="top"> IDirect3DDevice7* <a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp0">Ogre::D3D7HardwarePixelBuffer::mD3DDevice</a><code> [protected]</code>
1747      </table>
1748    </td>
1749  </tr>
1750</table>
1751<table cellspacing=5 cellpadding=0 border=0>
1752  <tr>
1753    <td>
1754      &nbsp;
1755    </td>
1756    <td>
1757
1758<p>
1759A pointer to the Direct3D device.
1760<p>
1761
1762<p>
1763Definition at line <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html#l00043">43</a> of file <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html">OgreD3D7HardwarePixelBuffer.h</a>.    </td>
1764  </tr>
1765</table>
1766<a class="anchor" name="Ogre_1_1HardwarePixelBufferp2" doxytag="Ogre::D3D7HardwarePixelBuffer::mDepth" ></a><p>
1767<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1768  <tr>
1769    <td class="mdRow">
1770      <table cellpadding="0" cellspacing="0" border="0">
1771        <tr>
1772          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp2">Ogre::HardwarePixelBuffer::mDepth</a><code> [protected, inherited]</code>
1773      </table>
1774    </td>
1775  </tr>
1776</table>
1777<table cellspacing=5 cellpadding=0 border=0>
1778  <tr>
1779    <td>
1780      &nbsp;
1781    </td>
1782    <td>
1783
1784<p>
1785
1786<p>
1787Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00046">46</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
1788  </tr>
1789</table>
1790<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBufferp2" doxytag="Ogre::D3D7HardwarePixelBuffer::mDoMipmapGen" ></a><p>
1791<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1792  <tr>
1793    <td class="mdRow">
1794      <table cellpadding="0" cellspacing="0" border="0">
1795        <tr>
1796          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp2">Ogre::D3D7HardwarePixelBuffer::mDoMipmapGen</a><code> [protected]</code>
1797      </table>
1798    </td>
1799  </tr>
1800</table>
1801<table cellspacing=5 cellpadding=0 border=0>
1802  <tr>
1803    <td>
1804      &nbsp;
1805    </td>
1806    <td>
1807
1808<p>
1809
1810<p>
1811Definition at line <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html#l00049">49</a> of file <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html">OgreD3D7HardwarePixelBuffer.h</a>.    </td>
1812  </tr>
1813</table>
1814<a class="anchor" name="Ogre_1_1HardwarePixelBufferp5" doxytag="Ogre::D3D7HardwarePixelBuffer::mFormat" ></a><p>
1815<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1816  <tr>
1817    <td class="mdRow">
1818      <table cellpadding="0" cellspacing="0" border="0">
1819        <tr>
1820          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a667">PixelFormat</a> <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp5">Ogre::HardwarePixelBuffer::mFormat</a><code> [protected, inherited]</code>
1821      </table>
1822    </td>
1823  </tr>
1824</table>
1825<table cellspacing=5 cellpadding=0 border=0>
1826  <tr>
1827    <td>
1828      &nbsp;
1829    </td>
1830    <td>
1831
1832<p>
1833
1834<p>
1835Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00050">50</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
1836  </tr>
1837</table>
1838<a class="anchor" name="Ogre_1_1HardwarePixelBufferp1" doxytag="Ogre::D3D7HardwarePixelBuffer::mHeight" ></a><p>
1839<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1840  <tr>
1841    <td class="mdRow">
1842      <table cellpadding="0" cellspacing="0" border="0">
1843        <tr>
1844          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp1">Ogre::HardwarePixelBuffer::mHeight</a><code> [protected, inherited]</code>
1845      </table>
1846    </td>
1847  </tr>
1848</table>
1849<table cellspacing=5 cellpadding=0 border=0>
1850  <tr>
1851    <td>
1852      &nbsp;
1853    </td>
1854    <td>
1855
1856<p>
1857
1858<p>
1859Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00046">46</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
1860  </tr>
1861</table>
1862<a class="anchor" name="Ogre_1_1HardwareVertexBufferp4" doxytag="Ogre::D3D7HardwarePixelBuffer::mIsLocked" ></a><p>
1863<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1864  <tr>
1865    <td class="mdRow">
1866      <table cellpadding="0" cellspacing="0" border="0">
1867        <tr>
1868          <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>
1869      </table>
1870    </td>
1871  </tr>
1872</table>
1873<table cellspacing=5 cellpadding=0 border=0>
1874  <tr>
1875    <td>
1876      &nbsp;
1877    </td>
1878    <td>
1879
1880<p>
1881
1882<p>
1883Definition 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>
1884  </tr>
1885</table>
1886<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBufferp3" doxytag="Ogre::D3D7HardwarePixelBuffer::mLockRect" ></a><p>
1887<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1888  <tr>
1889    <td class="mdRow">
1890      <table cellpadding="0" cellspacing="0" border="0">
1891        <tr>
1892          <td class="md" nowrap valign="top"> RECT <a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp3">Ogre::D3D7HardwarePixelBuffer::mLockRect</a><code> [protected]</code>
1893      </table>
1894    </td>
1895  </tr>
1896</table>
1897<table cellspacing=5 cellpadding=0 border=0>
1898  <tr>
1899    <td>
1900      &nbsp;
1901    </td>
1902    <td>
1903
1904<p>
1905
1906<p>
1907Definition at line <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html#l00053">53</a> of file <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html">OgreD3D7HardwarePixelBuffer.h</a>.    </td>
1908  </tr>
1909</table>
1910<a class="anchor" name="Ogre_1_1HardwareVertexBufferp6" doxytag="Ogre::D3D7HardwarePixelBuffer::mLockSize" ></a><p>
1911<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1912  <tr>
1913    <td class="mdRow">
1914      <table cellpadding="0" cellspacing="0" border="0">
1915        <tr>
1916          <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>
1917      </table>
1918    </td>
1919  </tr>
1920</table>
1921<table cellspacing=5 cellpadding=0 border=0>
1922  <tr>
1923    <td>
1924      &nbsp;
1925    </td>
1926    <td>
1927
1928<p>
1929
1930<p>
1931Definition 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>
1932  </tr>
1933</table>
1934<a class="anchor" name="Ogre_1_1HardwareVertexBufferp5" doxytag="Ogre::D3D7HardwarePixelBuffer::mLockStart" ></a><p>
1935<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1936  <tr>
1937    <td class="mdRow">
1938      <table cellpadding="0" cellspacing="0" border="0">
1939        <tr>
1940          <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>
1941      </table>
1942    </td>
1943  </tr>
1944</table>
1945<table cellspacing=5 cellpadding=0 border=0>
1946  <tr>
1947    <td>
1948      &nbsp;
1949    </td>
1950    <td>
1951
1952<p>
1953
1954<p>
1955Definition 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>
1956  </tr>
1957</table>
1958<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBufferp4" doxytag="Ogre::D3D7HardwarePixelBuffer::mpRect" ></a><p>
1959<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1960  <tr>
1961    <td class="mdRow">
1962      <table cellpadding="0" cellspacing="0" border="0">
1963        <tr>
1964          <td class="md" nowrap valign="top"> RECT* <a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp4">Ogre::D3D7HardwarePixelBuffer::mpRect</a><code> [protected]</code>
1965      </table>
1966    </td>
1967  </tr>
1968</table>
1969<table cellspacing=5 cellpadding=0 border=0>
1970  <tr>
1971    <td>
1972      &nbsp;
1973    </td>
1974    <td>
1975
1976<p>
1977
1978<p>
1979Definition at line <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html#l00054">54</a> of file <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html">OgreD3D7HardwarePixelBuffer.h</a>.    </td>
1980  </tr>
1981</table>
1982<a class="anchor" name="Ogre_1_1HardwareVertexBufferp9" doxytag="Ogre::D3D7HardwarePixelBuffer::mpShadowBuffer" ></a><p>
1983<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1984  <tr>
1985    <td class="mdRow">
1986      <table cellpadding="0" cellspacing="0" border="0">
1987        <tr>
1988          <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>
1989      </table>
1990    </td>
1991  </tr>
1992</table>
1993<table cellspacing=5 cellpadding=0 border=0>
1994  <tr>
1995    <td>
1996      &nbsp;
1997    </td>
1998    <td>
1999
2000<p>
2001
2002<p>
2003Definition 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>
2004  </tr>
2005</table>
2006<a class="anchor" name="Ogre_1_1HardwarePixelBufferp3" doxytag="Ogre::D3D7HardwarePixelBuffer::mRowPitch" ></a><p>
2007<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2008  <tr>
2009    <td class="mdRow">
2010      <table cellpadding="0" cellspacing="0" border="0">
2011        <tr>
2012          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp3">Ogre::HardwarePixelBuffer::mRowPitch</a><code> [protected, inherited]</code>
2013      </table>
2014    </td>
2015  </tr>
2016</table>
2017<table cellspacing=5 cellpadding=0 border=0>
2018  <tr>
2019    <td>
2020      &nbsp;
2021    </td>
2022    <td>
2023
2024<p>
2025
2026<p>
2027Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00048">48</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2028  </tr>
2029</table>
2030<a class="anchor" name="Ogre_1_1HardwareVertexBufferp10" doxytag="Ogre::D3D7HardwarePixelBuffer::mShadowUpdated" ></a><p>
2031<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2032  <tr>
2033    <td class="mdRow">
2034      <table cellpadding="0" cellspacing="0" border="0">
2035        <tr>
2036          <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>
2037      </table>
2038    </td>
2039  </tr>
2040</table>
2041<table cellspacing=5 cellpadding=0 border=0>
2042  <tr>
2043    <td>
2044      &nbsp;
2045    </td>
2046    <td>
2047
2048<p>
2049
2050<p>
2051Definition 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>
2052  </tr>
2053</table>
2054<a class="anchor" name="Ogre_1_1HardwareVertexBufferp2" doxytag="Ogre::D3D7HardwarePixelBuffer::mSizeInBytes" ></a><p>
2055<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2056  <tr>
2057    <td class="mdRow">
2058      <table cellpadding="0" cellspacing="0" border="0">
2059        <tr>
2060          <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>
2061      </table>
2062    </td>
2063  </tr>
2064</table>
2065<table cellspacing=5 cellpadding=0 border=0>
2066  <tr>
2067    <td>
2068      &nbsp;
2069    </td>
2070    <td>
2071
2072<p>
2073
2074<p>
2075Definition 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>
2076  </tr>
2077</table>
2078<a class="anchor" name="Ogre_1_1HardwarePixelBufferp4" doxytag="Ogre::D3D7HardwarePixelBuffer::mSlicePitch" ></a><p>
2079<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2080  <tr>
2081    <td class="mdRow">
2082      <table cellpadding="0" cellspacing="0" border="0">
2083        <tr>
2084          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp4">Ogre::HardwarePixelBuffer::mSlicePitch</a><code> [protected, inherited]</code>
2085      </table>
2086    </td>
2087  </tr>
2088</table>
2089<table cellspacing=5 cellpadding=0 border=0>
2090  <tr>
2091    <td>
2092      &nbsp;
2093    </td>
2094    <td>
2095
2096<p>
2097
2098<p>
2099Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00048">48</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2100  </tr>
2101</table>
2102<a class="anchor" name="Ogre_1_1HardwareVertexBufferp11" doxytag="Ogre::D3D7HardwarePixelBuffer::mSuppressHardwareUpdate" ></a><p>
2103<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2104  <tr>
2105    <td class="mdRow">
2106      <table cellpadding="0" cellspacing="0" border="0">
2107        <tr>
2108          <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>
2109      </table>
2110    </td>
2111  </tr>
2112</table>
2113<table cellspacing=5 cellpadding=0 border=0>
2114  <tr>
2115    <td>
2116      &nbsp;
2117    </td>
2118    <td>
2119
2120<p>
2121
2122<p>
2123Definition 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>
2124  </tr>
2125</table>
2126<a class="anchor" name="Ogre_1_1D3D7HardwarePixelBufferp1" doxytag="Ogre::D3D7HardwarePixelBuffer::mSurface" ></a><p>
2127<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2128  <tr>
2129    <td class="mdRow">
2130      <table cellpadding="0" cellspacing="0" border="0">
2131        <tr>
2132          <td class="md" nowrap valign="top"> LPDIRECTDRAWSURFACE7 <a class="el" href="classOgre_1_1D3D7HardwarePixelBuffer.html#Ogre_1_1D3D7HardwarePixelBufferp1">Ogre::D3D7HardwarePixelBuffer::mSurface</a><code> [protected]</code>
2133      </table>
2134    </td>
2135  </tr>
2136</table>
2137<table cellspacing=5 cellpadding=0 border=0>
2138  <tr>
2139    <td>
2140      &nbsp;
2141    </td>
2142    <td>
2143
2144<p>
2145Surface abstracted by this buffer.
2146<p>
2147
2148<p>
2149Definition at line <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html#l00046">46</a> of file <a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html">OgreD3D7HardwarePixelBuffer.h</a>.    </td>
2150  </tr>
2151</table>
2152<a class="anchor" name="Ogre_1_1HardwareVertexBufferp7" doxytag="Ogre::D3D7HardwarePixelBuffer::mSystemMemory" ></a><p>
2153<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2154  <tr>
2155    <td class="mdRow">
2156      <table cellpadding="0" cellspacing="0" border="0">
2157        <tr>
2158          <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>
2159      </table>
2160    </td>
2161  </tr>
2162</table>
2163<table cellspacing=5 cellpadding=0 border=0>
2164  <tr>
2165    <td>
2166      &nbsp;
2167    </td>
2168    <td>
2169
2170<p>
2171
2172<p>
2173Definition 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>
2174  </tr>
2175</table>
2176<a class="anchor" name="Ogre_1_1HardwareVertexBufferp3" doxytag="Ogre::D3D7HardwarePixelBuffer::mUsage" ></a><p>
2177<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2178  <tr>
2179    <td class="mdRow">
2180      <table cellpadding="0" cellspacing="0" border="0">
2181        <tr>
2182          <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>
2183      </table>
2184    </td>
2185  </tr>
2186</table>
2187<table cellspacing=5 cellpadding=0 border=0>
2188  <tr>
2189    <td>
2190      &nbsp;
2191    </td>
2192    <td>
2193
2194<p>
2195
2196<p>
2197Definition 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>
2198  </tr>
2199</table>
2200<a class="anchor" name="Ogre_1_1HardwareVertexBufferp8" doxytag="Ogre::D3D7HardwarePixelBuffer::mUseShadowBuffer" ></a><p>
2201<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2202  <tr>
2203    <td class="mdRow">
2204      <table cellpadding="0" cellspacing="0" border="0">
2205        <tr>
2206          <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>
2207      </table>
2208    </td>
2209  </tr>
2210</table>
2211<table cellspacing=5 cellpadding=0 border=0>
2212  <tr>
2213    <td>
2214      &nbsp;
2215    </td>
2216    <td>
2217
2218<p>
2219
2220<p>
2221Definition 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>
2222  </tr>
2223</table>
2224<a class="anchor" name="Ogre_1_1HardwarePixelBufferp0" doxytag="Ogre::D3D7HardwarePixelBuffer::mWidth" ></a><p>
2225<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2226  <tr>
2227    <td class="mdRow">
2228      <table cellpadding="0" cellspacing="0" border="0">
2229        <tr>
2230          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp0">Ogre::HardwarePixelBuffer::mWidth</a><code> [protected, inherited]</code>
2231      </table>
2232    </td>
2233  </tr>
2234</table>
2235<table cellspacing=5 cellpadding=0 border=0>
2236  <tr>
2237    <td>
2238      &nbsp;
2239    </td>
2240    <td>
2241
2242<p>
2243
2244<p>
2245Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00046">46</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2246  </tr>
2247</table>
2248<hr>The documentation for this class was generated from the following file:<ul>
2249<li><a class="el" href="OgreD3D7HardwarePixelBuffer_8h-source.html">OgreD3D7HardwarePixelBuffer.h</a></ul>
2250<hr>
2251<p>
2252Copyright &copy; 2000-2005 by The OGRE Team<br />
2253<!--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/>
2254This 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/>
2255                <!--/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#">
2256                <Work rdf:about="">
2257                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
2258        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
2259                </Work>
2260                <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> -->
2261
2262Last modified Sun Feb 12 13:08:02 2006
2263</p>
2264</body>
2265</html>
Note: See TracBrowser for help on using the repository browser.