source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1D3D9HardwarePixelBuffer.html @ 692

Revision 692, 125.1 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>Ogre::D3D9HardwarePixelBuffer 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::D3D9HardwarePixelBuffer Class Reference</h1><code>#include &lt;<a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>&gt;</code>
11<p>
12<p>Inheritance diagram for Ogre::D3D9HardwarePixelBuffer:
13<p><center><img src="classOgre_1_1D3D9HardwarePixelBuffer.png" usemap="#Ogre::D3D9HardwarePixelBuffer_map" border="0" alt=""></center>
14<map name="Ogre::D3D9HardwarePixelBuffer_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_1D3D9HardwarePixelBuffer-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_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera0">D3D9HardwarePixelBuffer</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a> usage)</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_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera1">bind</a> (IDirect3DDevice9 *dev, IDirect3DSurface9 *<a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp1">mSurface</a>, bool update)</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_1D3D9HardwarePixelBuffera1"></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_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera2">bind</a> (IDirect3DDevice9 *dev, IDirect3DVolume9 *<a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp2">mVolume</a>, bool update)</td></tr>
48
49<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera3">blit</a> (const <a class="el" href="classOgre_1_1HardwarePixelBufferSharedPtr.html">HardwarePixelBufferSharedPtr</a> &amp;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>
50
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
52  <table border="0" cellspacing="2" cellpadding="0">
53    <tr><td valign=top><em>dst</em>&nbsp;</td><td>Source pixel buffer </td></tr>
54    <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>
55    <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>
56  </table>
57</dl>
58<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 generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. </dd></dl>
59<dl compact><dt><b>Note:</b></dt><dd>Only call this function when both buffers are unlocked.</dd></dl>
60  <a href="#Ogre_1_1D3D9HardwarePixelBuffera3"></a><br><br></td></tr>
61<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera4">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>
62
63<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>
64  <table border="0" cellspacing="2" cellpadding="0">
65    <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>
66    <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>
67  </table>
68</dl>
69<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 generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. </dd></dl>
70<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
71  <a href="#Ogre_1_1D3D9HardwarePixelBuffera4"></a><br><br></td></tr>
72<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera5">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>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
75  <table border="0" cellspacing="2" cellpadding="0">
76    <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>
77    <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>
78  </table>
79</dl>
80<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>
81<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
82  <a href="#Ogre_1_1D3D9HardwarePixelBuffera5"></a><br><br></td></tr>
83<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera6">_genMipmaps</a> ()</td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal function to update mipmaps on update of level 0.  <a href="#Ogre_1_1D3D9HardwarePixelBuffera6"></a><br><br></td></tr>
86<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera7">_setMipmapping</a> (bool doMipmapGen, bool HWMipmaps, IDirect3DBaseTexture9 *mipTex)</td></tr>
87
88<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function to set mipmap generation.  <a href="#Ogre_1_1D3D9HardwarePixelBuffera7"></a><br><br></td></tr>
89<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera8">~D3D9HardwarePixelBuffer</a> ()</td></tr>
90
91<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderTexture.html">RenderTexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera9">getRenderTarget</a> (size_t zoffset)</td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get rendertarget for z slice.  <a href="#Ogre_1_1D3D9HardwarePixelBuffera9"></a><br><br></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DSurface9 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera10">getSurface</a> ()</td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessor for surface.  <a href="#Ogre_1_1D3D9HardwarePixelBuffera10"></a><br><br></td></tr>
97<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBuffera11">_clearSliceRTT</a> (size_t zoffset)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify TextureBuffer of destruction of render target.  <a href="#Ogre_1_1D3D9HardwarePixelBuffera11"></a><br><br></td></tr>
100<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>
101
102<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>
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_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>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
106  <table border="0" cellspacing="2" cellpadding="0">
107    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to lock </td></tr>
108    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to lock, in bytes </td></tr>
109    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
110  </table>
111</dl>
112<dl compact><dt><b>Returns:</b></dt><dd>Pointer to the locked memory </dd></dl>
113  <a href="#Ogre_1_1HardwarePixelBuffera3"></a><br><br></td></tr>
114<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_1HardwarePixelBuffera18">lock</a> (size_t offset, size_t length, <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
115
116<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>
117<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_1HardwarePixelBuffera19">lock</a> (<a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a> options)</td></tr>
118
119<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_1HardwarePixelBuffera19"></a><br><br></td></tr>
120<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>
121
122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current locked region.  <a href="#Ogre_1_1HardwarePixelBuffera4"></a><br><br></td></tr>
123<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>
124
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
126  <table border="0" cellspacing="2" cellpadding="0">
127    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to read </td></tr>
128    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to read, in bytes </td></tr>
129    <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>
130  </table>
131</dl>
132  <a href="#Ogre_1_1HardwarePixelBuffera5"></a><br><br></td></tr>
133<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>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
136  <table border="0" cellspacing="2" cellpadding="0">
137    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to start writing </td></tr>
138    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the data to write to, in bytes </td></tr>
139    <tr><td valign=top><em>pSource</em>&nbsp;</td><td>The source of the data to be written </td></tr>
140    <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>
141  </table>
142</dl>
143  <a href="#Ogre_1_1HardwarePixelBuffera6"></a><br><br></td></tr>
144<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> (const <a class="el" href="classOgre_1_1HardwarePixelBufferSharedPtr.html">HardwarePixelBufferSharedPtr</a> &amp;src)</td></tr>
145
146<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>
147<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>
148
149<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>
150<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>
151
152<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>
153<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">getWidth</a> () const </td></tr>
154
155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the width of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera14"></a><br><br></td></tr>
156<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">getHeight</a> () const </td></tr>
157
158<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the height of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera15"></a><br><br></td></tr>
159<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_1HardwarePixelBuffera16">getDepth</a> () const </td></tr>
160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the depth of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera16"></a><br><br></td></tr>
162<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a671">PixelFormat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera17">getFormat</a> () const </td></tr>
163
164<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the native pixel format of this buffer.  <a href="#Ogre_1_1HardwarePixelBuffera17"></a><br><br></td></tr>
165<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>
166
167<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>
168<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>
169
170<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>
171<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>
172
173<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>
174<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>
175
176<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>
177<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>
178
179<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>
180<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>
181
182<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>
183<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>
184
185<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>
186<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>
187
188<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>
189<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>
190
191<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>
192<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
193<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classOgre_1_1RenderTexture.html">RenderTexture</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferx0">SliceTRT</a></td></tr>
194
195<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Render targets.  <a href="#Ogre_1_1D3D9HardwarePixelBufferx0"></a><br><br></td></tr>
196<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
197<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_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferb0">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>
198
199<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock a box.  <a href="#Ogre_1_1D3D9HardwarePixelBufferb0"></a><br><br></td></tr>
200<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferb1">unlockImpl</a> (void)</td></tr>
201
202<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unlock a box.  <a href="#Ogre_1_1D3D9HardwarePixelBufferb1"></a><br><br></td></tr>
203<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferb2">createRenderTextures</a> (bool update)</td></tr>
204
205<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create (or update) render textures for slices.  <a href="#Ogre_1_1D3D9HardwarePixelBufferb2"></a><br><br></td></tr>
206<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferb3">destroyRenderTextures</a> ()</td></tr>
207
208<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroy render textures for slices.  <a href="#Ogre_1_1D3D9HardwarePixelBufferb3"></a><br><br></td></tr>
209<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>
210
211<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>
212<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
213<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DDevice9 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp0">mpDev</a></td></tr>
214
215<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">D3DDevice pointer.  <a href="#Ogre_1_1D3D9HardwarePixelBufferp0"></a><br><br></td></tr>
216<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DSurface9 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp1">mSurface</a></td></tr>
217
218<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Surface abstracted by this buffer.  <a href="#Ogre_1_1D3D9HardwarePixelBufferp1"></a><br><br></td></tr>
219<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DVolume9 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp2">mVolume</a></td></tr>
220
221<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Volume abstracted by this buffer.  <a href="#Ogre_1_1D3D9HardwarePixelBufferp2"></a><br><br></td></tr>
222<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DSurface9 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp3">mTempSurface</a></td></tr>
223
224<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Temporary surface in main memory if direct locking of mSurface is not possible.  <a href="#Ogre_1_1D3D9HardwarePixelBufferp3"></a><br><br></td></tr>
225<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DVolume9 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp4">mTempVolume</a></td></tr>
226
227<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Temporary volume in main memory if direct locking of mVolume is not possible.  <a href="#Ogre_1_1D3D9HardwarePixelBufferp4"></a><br><br></td></tr>
228<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp5">mDoMipmapGen</a></td></tr>
229
230<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Mipmapping.  <a href="#Ogre_1_1D3D9HardwarePixelBufferp5"></a><br><br></td></tr>
231<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp6">mHWMipmaps</a></td></tr>
232
233<tr><td class="memItemLeft" nowrap align=right valign=top>IDirect3DBaseTexture9 *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp7">mMipTex</a></td></tr>
234
235<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferx0">SliceTRT</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp8">mSliceTRT</a></td></tr>
236
237<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>
238
239<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>
240
241<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>
242
243<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>
244
245<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>
246
247<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a671">PixelFormat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp5">mFormat</a></td></tr>
248
249<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>
250
251<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>
252
253<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>
254
255<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>
256
257<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>
258
259<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>
260
261<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>
262
263<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>
264
265<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>
266
267<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>
268
269<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>
270
271<tr><td colspan=2><br><h2>Friends</h2></td></tr>
272<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffern0">RenderTexture</a></td></tr>
273
274</table>
275<hr><h2>Member Typedef Documentation</h2>
276<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferx0" doxytag="Ogre::D3D9HardwarePixelBuffer::SliceTRT" ></a><p>
277<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
278  <tr>
279    <td class="mdRow">
280      <table cellpadding="0" cellspacing="0" border="0">
281        <tr>
282          <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="classOgre_1_1RenderTexture.html">RenderTexture</a>*&gt; <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferx0">Ogre::D3D9HardwarePixelBuffer::SliceTRT</a><code> [protected]</code>
283      </table>
284    </td>
285  </tr>
286</table>
287<table cellspacing=5 cellpadding=0 border=0>
288  <tr>
289    <td>
290      &nbsp;
291    </td>
292    <td>
293
294<p>
295Render targets.
296<p>
297
298<p>
299Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00067">67</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
300  </tr>
301</table>
302<hr><h2>Member Enumeration Documentation</h2>
303<a class="anchor" name="Ogre_1_1HardwareVertexBufferw12" doxytag="Ogre::D3D9HardwarePixelBuffer::LockOptions" ></a><p>
304<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
305  <tr>
306    <td class="mdRow">
307      <table cellpadding="0" cellspacing="0" border="0">
308        <tr>
309          <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">Ogre::HardwareBuffer::LockOptions</a><code> [inherited]</code>
310      </table>
311    </td>
312  </tr>
313</table>
314<table cellspacing=5 cellpadding=0 border=0>
315  <tr>
316    <td>
317      &nbsp;
318    </td>
319    <td>
320
321<p>
322Locking options.
323<p>
324<dl compact><dt><b>Enumeration values: </b></dt><dd>
325<table border=0 cellspacing=2 cellpadding=0>
326<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw7" doxytag="HBL_NORMAL" ></a>HBL_NORMAL</em>&nbsp;</td><td>
327Normal mode, ie allows read/write and contents are preserved. </td></tr>
328<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw12Ogre_1_1HardwareVertexBufferw8" doxytag="HBL_DISCARD" ></a>HBL_DISCARD</em>&nbsp;</td><td>
329Discards the <em>entire</em> buffer while locking; this allows optimisation to be performed because synchronisation issues are relaxed.
330<p>
331Only allowed on buffers created with the HBU_DYNAMIC flag.</td></tr>
332<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>
333Lock the buffer for reading only.
334<p>
335Not allowed in buffers which are created with HBU_WRITE_ONLY. Mandatory on statuc buffers, ie those created without the HBU_DYNAMIC flag.</td></tr>
336<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>
337As 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>
338</table>
339</dl>
340
341<p>
342Definition 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>
343  </tr>
344</table>
345<a class="anchor" name="Ogre_1_1HardwareVertexBufferw11" doxytag="Ogre::D3D9HardwarePixelBuffer::Usage" ></a><p>
346<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
347  <tr>
348    <td class="mdRow">
349      <table cellpadding="0" cellspacing="0" border="0">
350        <tr>
351          <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>
352      </table>
353    </td>
354  </tr>
355</table>
356<table cellspacing=5 cellpadding=0 border=0>
357  <tr>
358    <td>
359      &nbsp;
360    </td>
361    <td>
362
363<p>
364Enums describing buffer usage; not mutually exclusive.
365<p>
366<dl compact><dt><b>Enumeration values: </b></dt><dd>
367<table border=0 cellspacing=2 cellpadding=0>
368<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw0" doxytag="HBU_STATIC" ></a>HBU_STATIC</em>&nbsp;</td><td>
369Static buffer which the application rarely modifies once created.
370<p>
371Modifying the contents of this buffer will involve a performance hit. </td></tr>
372<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw1" doxytag="HBU_DYNAMIC" ></a>HBU_DYNAMIC</em>&nbsp;</td><td>
373Indicates the application would like to modify this buffer with the CPU fairly often.
374<p>
375Buffers created with this flag will typically end up in AGP memory rather than video memory.</td></tr>
376<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>
377Indicates the application will never read the contents of the buffer back, it will only ever write data.
378<p>
379Locking 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>
380<tr><td valign=top><em><a class="anchor" name="Ogre_1_1HardwareVertexBufferw11Ogre_1_1HardwareVertexBufferw3" doxytag="HBU_DISCARDABLE" ></a>HBU_DISCARDABLE</em>&nbsp;</td><td>
381Indicates 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.
382<p>
383This allows and additional level of optimisation on the buffer. This option only really makes sense when combined with HBU_DYNAMIC_WRITE_ONLY. </td></tr>
384<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>
385Combination of HBU_STATIC and HBU_WRITE_ONLY. </td></tr>
386<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>
387Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
388<p>
389If 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>
390<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>
391Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE. </td></tr>
392</table>
393</dl>
394
395<p>
396Definition 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>
397  </tr>
398</table>
399<hr><h2>Constructor &amp; Destructor Documentation</h2>
400<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera0" doxytag="Ogre::D3D9HardwarePixelBuffer::D3D9HardwarePixelBuffer" ></a><p>
401<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
402  <tr>
403    <td class="mdRow">
404      <table cellpadding="0" cellspacing="0" border="0">
405        <tr>
406          <td class="md" nowrap valign="top"> Ogre::D3D9HardwarePixelBuffer::D3D9HardwarePixelBuffer </td>
407          <td class="md" valign="top">(&nbsp;</td>
408          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">HardwareBuffer::Usage</a>&nbsp;</td>
409          <td class="mdname1" valign="top" nowrap> <em>usage</em>          </td>
410          <td class="md" valign="top">&nbsp;)&nbsp;</td>
411          <td class="md" nowrap></td>
412        </tr>
413
414      </table>
415    </td>
416  </tr>
417</table>
418<table cellspacing=5 cellpadding=0 border=0>
419  <tr>
420    <td>
421      &nbsp;
422    </td>
423    <td>
424
425<p>
426    </td>
427  </tr>
428</table>
429<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera8" doxytag="Ogre::D3D9HardwarePixelBuffer::~D3D9HardwarePixelBuffer" ></a><p>
430<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
431  <tr>
432    <td class="mdRow">
433      <table cellpadding="0" cellspacing="0" border="0">
434        <tr>
435          <td class="md" nowrap valign="top"> Ogre::D3D9HardwarePixelBuffer::~<a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html">D3D9HardwarePixelBuffer</a> </td>
436          <td class="md" valign="top">(&nbsp;</td>
437          <td class="mdname1" valign="top" nowrap>          </td>
438          <td class="md" valign="top">&nbsp;)&nbsp;</td>
439          <td class="md" nowrap></td>
440        </tr>
441
442      </table>
443    </td>
444  </tr>
445</table>
446<table cellspacing=5 cellpadding=0 border=0>
447  <tr>
448    <td>
449      &nbsp;
450    </td>
451    <td>
452
453<p>
454    </td>
455  </tr>
456</table>
457<hr><h2>Member Function Documentation</h2>
458<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera11" doxytag="Ogre::D3D9HardwarePixelBuffer::_clearSliceRTT" ></a><p>
459<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
460  <tr>
461    <td class="mdRow">
462      <table cellpadding="0" cellspacing="0" border="0">
463        <tr>
464          <td class="md" nowrap valign="top"> virtual void Ogre::D3D9HardwarePixelBuffer::_clearSliceRTT </td>
465          <td class="md" valign="top">(&nbsp;</td>
466          <td class="md" nowrap valign="top">size_t&nbsp;</td>
467          <td class="mdname1" valign="top" nowrap> <em>zoffset</em>          </td>
468          <td class="md" valign="top">&nbsp;)&nbsp;</td>
469          <td class="md" nowrap><code> [virtual]</code></td>
470        </tr>
471
472      </table>
473    </td>
474  </tr>
475</table>
476<table cellspacing=5 cellpadding=0 border=0>
477  <tr>
478    <td>
479      &nbsp;
480    </td>
481    <td>
482
483<p>
484Notify TextureBuffer of destruction of render target.
485<p>
486
487<p>
488Reimplemented from <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferb2">Ogre::HardwarePixelBuffer</a>.
489<p>
490Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00100">100</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.
491<p>
492References <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00068">mSliceTRT</a>.    </td>
493  </tr>
494</table>
495<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera6" doxytag="Ogre::D3D9HardwarePixelBuffer::_genMipmaps" ></a><p>
496<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
497  <tr>
498    <td class="mdRow">
499      <table cellpadding="0" cellspacing="0" border="0">
500        <tr>
501          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::_genMipmaps </td>
502          <td class="md" valign="top">(&nbsp;</td>
503          <td class="mdname1" valign="top" nowrap>          </td>
504          <td class="md" valign="top">&nbsp;)&nbsp;</td>
505          <td class="md" nowrap></td>
506        </tr>
507
508      </table>
509    </td>
510  </tr>
511</table>
512<table cellspacing=5 cellpadding=0 border=0>
513  <tr>
514    <td>
515      &nbsp;
516    </td>
517    <td>
518
519<p>
520Internal function to update mipmaps on update of level 0.
521<p>
522    </td>
523  </tr>
524</table>
525<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera7" doxytag="Ogre::D3D9HardwarePixelBuffer::_setMipmapping" ></a><p>
526<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
527  <tr>
528    <td class="mdRow">
529      <table cellpadding="0" cellspacing="0" border="0">
530        <tr>
531          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::_setMipmapping </td>
532          <td class="md" valign="top">(&nbsp;</td>
533          <td class="md" nowrap valign="top">bool&nbsp;</td>
534          <td class="mdname" nowrap> <em>doMipmapGen</em>, </td>
535        </tr>
536        <tr>
537          <td class="md" nowrap align="right"></td>
538          <td></td>
539          <td class="md" nowrap>bool&nbsp;</td>
540          <td class="mdname" nowrap> <em>HWMipmaps</em>, </td>
541        </tr>
542        <tr>
543          <td class="md" nowrap align="right"></td>
544          <td></td>
545          <td class="md" nowrap>IDirect3DBaseTexture9 *&nbsp;</td>
546          <td class="mdname" nowrap> <em>mipTex</em></td>
547        </tr>
548        <tr>
549          <td></td>
550          <td class="md">)&nbsp;</td>
551          <td class="md" colspan="2"></td>
552        </tr>
553
554      </table>
555    </td>
556  </tr>
557</table>
558<table cellspacing=5 cellpadding=0 border=0>
559  <tr>
560    <td>
561      &nbsp;
562    </td>
563    <td>
564
565<p>
566Function to set mipmap generation.
567<p>
568    </td>
569  </tr>
570</table>
571<a class="anchor" name="Ogre_1_1HardwareVertexBuffera10" doxytag="Ogre::D3D9HardwarePixelBuffer::_updateFromShadow" ></a><p>
572<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
573  <tr>
574    <td class="mdRow">
575      <table cellpadding="0" cellspacing="0" border="0">
576        <tr>
577          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::_updateFromShadow </td>
578          <td class="md" valign="top">(&nbsp;</td>
579          <td class="md" nowrap valign="top">void&nbsp;</td>
580          <td class="mdname1" valign="top" nowrap>          </td>
581          <td class="md" valign="top">&nbsp;)&nbsp;</td>
582          <td class="md" nowrap><code> [virtual, inherited]</code></td>
583        </tr>
584
585      </table>
586    </td>
587  </tr>
588</table>
589<table cellspacing=5 cellpadding=0 border=0>
590  <tr>
591    <td>
592      &nbsp;
593    </td>
594    <td>
595
596<p>
597Updates the real buffer from the shadow buffer, if required.
598<p>
599
600<p>
601Definition 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>
602  </tr>
603</table>
604<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera2" doxytag="Ogre::D3D9HardwarePixelBuffer::bind" ></a><p>
605<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
606  <tr>
607    <td class="mdRow">
608      <table cellpadding="0" cellspacing="0" border="0">
609        <tr>
610          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::bind </td>
611          <td class="md" valign="top">(&nbsp;</td>
612          <td class="md" nowrap valign="top">IDirect3DDevice9 *&nbsp;</td>
613          <td class="mdname" nowrap> <em>dev</em>, </td>
614        </tr>
615        <tr>
616          <td class="md" nowrap align="right"></td>
617          <td></td>
618          <td class="md" nowrap>IDirect3DVolume9 *&nbsp;</td>
619          <td class="mdname" nowrap> <em>mVolume</em>, </td>
620        </tr>
621        <tr>
622          <td class="md" nowrap align="right"></td>
623          <td></td>
624          <td class="md" nowrap>bool&nbsp;</td>
625          <td class="mdname" nowrap> <em>update</em></td>
626        </tr>
627        <tr>
628          <td></td>
629          <td class="md">)&nbsp;</td>
630          <td class="md" colspan="2"></td>
631        </tr>
632
633      </table>
634    </td>
635  </tr>
636</table>
637<table cellspacing=5 cellpadding=0 border=0>
638  <tr>
639    <td>
640      &nbsp;
641    </td>
642    <td>
643
644<p>
645    </td>
646  </tr>
647</table>
648<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera1" doxytag="Ogre::D3D9HardwarePixelBuffer::bind" ></a><p>
649<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
650  <tr>
651    <td class="mdRow">
652      <table cellpadding="0" cellspacing="0" border="0">
653        <tr>
654          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::bind </td>
655          <td class="md" valign="top">(&nbsp;</td>
656          <td class="md" nowrap valign="top">IDirect3DDevice9 *&nbsp;</td>
657          <td class="mdname" nowrap> <em>dev</em>, </td>
658        </tr>
659        <tr>
660          <td class="md" nowrap align="right"></td>
661          <td></td>
662          <td class="md" nowrap>IDirect3DSurface9 *&nbsp;</td>
663          <td class="mdname" nowrap> <em>mSurface</em>, </td>
664        </tr>
665        <tr>
666          <td class="md" nowrap align="right"></td>
667          <td></td>
668          <td class="md" nowrap>bool&nbsp;</td>
669          <td class="mdname" nowrap> <em>update</em></td>
670        </tr>
671        <tr>
672          <td></td>
673          <td class="md">)&nbsp;</td>
674          <td class="md" colspan="2"></td>
675        </tr>
676
677      </table>
678    </td>
679  </tr>
680</table>
681<table cellspacing=5 cellpadding=0 border=0>
682  <tr>
683    <td>
684      &nbsp;
685    </td>
686    <td>
687
688<p>
689Call this to associate a D3D surface or volume with this pixel buffer.
690<p>
691    </td>
692  </tr>
693</table>
694<a class="anchor" name="Ogre_1_1HardwarePixelBuffera8" doxytag="Ogre::D3D9HardwarePixelBuffer::blit" ></a><p>
695<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
696  <tr>
697    <td class="mdRow">
698      <table cellpadding="0" cellspacing="0" border="0">
699        <tr>
700          <td class="md" nowrap valign="top"> void Ogre::HardwarePixelBuffer::blit </td>
701          <td class="md" valign="top">(&nbsp;</td>
702          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1HardwarePixelBufferSharedPtr.html">HardwarePixelBufferSharedPtr</a> &amp;&nbsp;</td>
703          <td class="mdname1" valign="top" nowrap> <em>src</em>          </td>
704          <td class="md" valign="top">&nbsp;)&nbsp;</td>
705          <td class="md" nowrap><code> [inherited]</code></td>
706        </tr>
707
708      </table>
709    </td>
710  </tr>
711</table>
712<table cellspacing=5 cellpadding=0 border=0>
713  <tr>
714    <td>
715      &nbsp;
716    </td>
717    <td>
718
719<p>
720Convience function that blits the entire source pixel buffer to this buffer.
721<p>
722If source and destination dimensions don't match, scaling is done. <dl compact><dt><b>Parameters:</b></dt><dd>
723  <table border="0" cellspacing="2" cellpadding="0">
724    <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>
725  </table>
726</dl>
727<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked.</dd></dl>
728    </td>
729  </tr>
730</table>
731<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera3" doxytag="Ogre::D3D9HardwarePixelBuffer::blit" ></a><p>
732<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
733  <tr>
734    <td class="mdRow">
735      <table cellpadding="0" cellspacing="0" border="0">
736        <tr>
737          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::blit </td>
738          <td class="md" valign="top">(&nbsp;</td>
739          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1HardwarePixelBufferSharedPtr.html">HardwarePixelBufferSharedPtr</a> &amp;&nbsp;</td>
740          <td class="mdname" nowrap> <em>src</em>, </td>
741        </tr>
742        <tr>
743          <td class="md" nowrap align="right"></td>
744          <td></td>
745          <td class="md" nowrap>const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
746          <td class="mdname" nowrap> <em>srcBox</em>, </td>
747        </tr>
748        <tr>
749          <td class="md" nowrap align="right"></td>
750          <td></td>
751          <td class="md" nowrap>const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
752          <td class="mdname" nowrap> <em>dstBox</em></td>
753        </tr>
754        <tr>
755          <td></td>
756          <td class="md">)&nbsp;</td>
757          <td class="md" colspan="2"><code> [virtual]</code></td>
758        </tr>
759
760      </table>
761    </td>
762  </tr>
763</table>
764<table cellspacing=5 cellpadding=0 border=0>
765  <tr>
766    <td>
767      &nbsp;
768    </td>
769    <td>
770
771<p>
772<dl compact><dt><b>Parameters:</b></dt><dd>
773  <table border="0" cellspacing="2" cellpadding="0">
774    <tr><td valign=top><em>dst</em>&nbsp;</td><td>Source pixel buffer </td></tr>
775    <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>
776    <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>
777  </table>
778</dl>
779<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 generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. </dd></dl>
780<dl compact><dt><b>Note:</b></dt><dd>Only call this function when both buffers are unlocked.</dd></dl>
781 
782<p>
783
784<p>
785Reimplemented from <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera7">Ogre::HardwarePixelBuffer</a>.    </td>
786  </tr>
787</table>
788<a class="anchor" name="Ogre_1_1HardwarePixelBuffera10" doxytag="Ogre::D3D9HardwarePixelBuffer::blitFromMemory" ></a><p>
789<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
790  <tr>
791    <td class="mdRow">
792      <table cellpadding="0" cellspacing="0" border="0">
793        <tr>
794          <td class="md" nowrap valign="top"> void Ogre::HardwarePixelBuffer::blitFromMemory </td>
795          <td class="md" valign="top">(&nbsp;</td>
796          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
797          <td class="mdname1" valign="top" nowrap> <em>src</em>          </td>
798          <td class="md" valign="top">&nbsp;)&nbsp;</td>
799          <td class="md" nowrap><code> [inherited]</code></td>
800        </tr>
801
802      </table>
803    </td>
804  </tr>
805</table>
806<table cellspacing=5 cellpadding=0 border=0>
807  <tr>
808    <td>
809      &nbsp;
810    </td>
811    <td>
812
813<p>
814Convience function that blits a pixelbox from memory to the entire buffer.
815<p>
816The source image is scaled as needed. <dl compact><dt><b>Parameters:</b></dt><dd>
817  <table border="0" cellspacing="2" cellpadding="0">
818    <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>
819  </table>
820</dl>
821<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked.</dd></dl>
822
823<p>
824Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00139">139</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
825  </tr>
826</table>
827<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera4" doxytag="Ogre::D3D9HardwarePixelBuffer::blitFromMemory" ></a><p>
828<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
829  <tr>
830    <td class="mdRow">
831      <table cellpadding="0" cellspacing="0" border="0">
832        <tr>
833          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::blitFromMemory </td>
834          <td class="md" valign="top">(&nbsp;</td>
835          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
836          <td class="mdname" nowrap> <em>src</em>, </td>
837        </tr>
838        <tr>
839          <td class="md" nowrap align="right"></td>
840          <td></td>
841          <td class="md" nowrap>const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
842          <td class="mdname" nowrap> <em>dstBox</em></td>
843        </tr>
844        <tr>
845          <td></td>
846          <td class="md">)&nbsp;</td>
847          <td class="md" colspan="2"><code> [virtual]</code></td>
848        </tr>
849
850      </table>
851    </td>
852  </tr>
853</table>
854<table cellspacing=5 cellpadding=0 border=0>
855  <tr>
856    <td>
857      &nbsp;
858    </td>
859    <td>
860
861<p>
862The source image can be in any pixel format supported by OGRE, and in any size. <dl compact><dt><b>Parameters:</b></dt><dd>
863  <table border="0" cellspacing="2" cellpadding="0">
864    <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>
865    <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>
866  </table>
867</dl>
868<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 generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. </dd></dl>
869<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
870 
871<p>
872
873<p>
874Implements <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera9">Ogre::HardwarePixelBuffer</a>.    </td>
875  </tr>
876</table>
877<a class="anchor" name="Ogre_1_1HardwarePixelBuffera12" doxytag="Ogre::D3D9HardwarePixelBuffer::blitToMemory" ></a><p>
878<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
879  <tr>
880    <td class="mdRow">
881      <table cellpadding="0" cellspacing="0" border="0">
882        <tr>
883          <td class="md" nowrap valign="top"> void Ogre::HardwarePixelBuffer::blitToMemory </td>
884          <td class="md" valign="top">(&nbsp;</td>
885          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
886          <td class="mdname1" valign="top" nowrap> <em>dst</em>          </td>
887          <td class="md" valign="top">&nbsp;)&nbsp;</td>
888          <td class="md" nowrap><code> [inherited]</code></td>
889        </tr>
890
891      </table>
892    </td>
893  </tr>
894</table>
895<table cellspacing=5 cellpadding=0 border=0>
896  <tr>
897    <td>
898      &nbsp;
899    </td>
900    <td>
901
902<p>
903Convience function that blits this entire buffer to a pixelbox.
904<p>
905The image is scaled as needed. <dl compact><dt><b>Parameters:</b></dt><dd>
906  <table border="0" cellspacing="2" cellpadding="0">
907    <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>
908  </table>
909</dl>
910<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked.</dd></dl>
911
912<p>
913Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00158">158</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
914  </tr>
915</table>
916<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera5" doxytag="Ogre::D3D9HardwarePixelBuffer::blitToMemory" ></a><p>
917<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
918  <tr>
919    <td class="mdRow">
920      <table cellpadding="0" cellspacing="0" border="0">
921        <tr>
922          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::blitToMemory </td>
923          <td class="md" valign="top">(&nbsp;</td>
924          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
925          <td class="mdname" nowrap> <em>srcBox</em>, </td>
926        </tr>
927        <tr>
928          <td class="md" nowrap align="right"></td>
929          <td></td>
930          <td class="md" nowrap>const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> &amp;&nbsp;</td>
931          <td class="mdname" nowrap> <em>dst</em></td>
932        </tr>
933        <tr>
934          <td></td>
935          <td class="md">)&nbsp;</td>
936          <td class="md" colspan="2"><code> [virtual]</code></td>
937        </tr>
938
939      </table>
940    </td>
941  </tr>
942</table>
943<table cellspacing=5 cellpadding=0 border=0>
944  <tr>
945    <td>
946      &nbsp;
947    </td>
948    <td>
949
950<p>
951<dl compact><dt><b>Parameters:</b></dt><dd>
952  <table border="0" cellspacing="2" cellpadding="0">
953    <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>
954    <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>
955  </table>
956</dl>
957<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>
958<dl compact><dt><b>Note:</b></dt><dd>Only call this function when the buffer is unlocked. </dd></dl>
959 
960<p>
961
962<p>
963Implements <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera11">Ogre::HardwarePixelBuffer</a>.    </td>
964  </tr>
965</table>
966<a class="anchor" name="Ogre_1_1HardwareVertexBuffera9" doxytag="Ogre::D3D9HardwarePixelBuffer::copyData" ></a><p>
967<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
968  <tr>
969    <td class="mdRow">
970      <table cellpadding="0" cellspacing="0" border="0">
971        <tr>
972          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::copyData </td>
973          <td class="md" valign="top">(&nbsp;</td>
974          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> &amp;&nbsp;</td>
975          <td class="mdname" nowrap> <em>srcBuffer</em>, </td>
976        </tr>
977        <tr>
978          <td class="md" nowrap align="right"></td>
979          <td></td>
980          <td class="md" nowrap>size_t&nbsp;</td>
981          <td class="mdname" nowrap> <em>srcOffset</em>, </td>
982        </tr>
983        <tr>
984          <td class="md" nowrap align="right"></td>
985          <td></td>
986          <td class="md" nowrap>size_t&nbsp;</td>
987          <td class="mdname" nowrap> <em>dstOffset</em>, </td>
988        </tr>
989        <tr>
990          <td class="md" nowrap align="right"></td>
991          <td></td>
992          <td class="md" nowrap>size_t&nbsp;</td>
993          <td class="mdname" nowrap> <em>length</em>, </td>
994        </tr>
995        <tr>
996          <td class="md" nowrap align="right"></td>
997          <td></td>
998          <td class="md" nowrap>bool&nbsp;</td>
999          <td class="mdname" nowrap> <em>discardWholeBuffer</em> = false</td>
1000        </tr>
1001        <tr>
1002          <td></td>
1003          <td class="md">)&nbsp;</td>
1004          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1005        </tr>
1006
1007      </table>
1008    </td>
1009  </tr>
1010</table>
1011<table cellspacing=5 cellpadding=0 border=0>
1012  <tr>
1013    <td>
1014      &nbsp;
1015    </td>
1016    <td>
1017
1018<p>
1019Copy data from another buffer into this one.
1020<p>
1021<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>
1022<dl compact><dt><b>Parameters:</b></dt><dd>
1023  <table border="0" cellspacing="2" cellpadding="0">
1024    <tr><td valign=top><em>srcBuffer</em>&nbsp;</td><td>The buffer from which to read the copied data </td></tr>
1025    <tr><td valign=top><em>srcOffset</em>&nbsp;</td><td>Offset in the source buffer at which to start reading </td></tr>
1026    <tr><td valign=top><em>dstOffset</em>&nbsp;</td><td>Offset in the destination buffer to start writing </td></tr>
1027    <tr><td valign=top><em>length</em>&nbsp;</td><td>Length of the data to copy, in bytes. </td></tr>
1028    <tr><td valign=top><em>discardWholeBuffer</em>&nbsp;</td><td>If true, will discard the entire contents of this buffer before copying</td></tr>
1029  </table>
1030</dl>
1031
1032<p>
1033Definition 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>.
1034<p>
1035References <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>
1036  </tr>
1037</table>
1038<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferb2" doxytag="Ogre::D3D9HardwarePixelBuffer::createRenderTextures" ></a><p>
1039<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1040  <tr>
1041    <td class="mdRow">
1042      <table cellpadding="0" cellspacing="0" border="0">
1043        <tr>
1044          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::createRenderTextures </td>
1045          <td class="md" valign="top">(&nbsp;</td>
1046          <td class="md" nowrap valign="top">bool&nbsp;</td>
1047          <td class="mdname1" valign="top" nowrap> <em>update</em>          </td>
1048          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1049          <td class="md" nowrap><code> [protected]</code></td>
1050        </tr>
1051
1052      </table>
1053    </td>
1054  </tr>
1055</table>
1056<table cellspacing=5 cellpadding=0 border=0>
1057  <tr>
1058    <td>
1059      &nbsp;
1060    </td>
1061    <td>
1062
1063<p>
1064Create (or update) render textures for slices.
1065<p>
1066    </td>
1067  </tr>
1068</table>
1069<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferb3" doxytag="Ogre::D3D9HardwarePixelBuffer::destroyRenderTextures" ></a><p>
1070<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1071  <tr>
1072    <td class="mdRow">
1073      <table cellpadding="0" cellspacing="0" border="0">
1074        <tr>
1075          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::destroyRenderTextures </td>
1076          <td class="md" valign="top">(&nbsp;</td>
1077          <td class="mdname1" valign="top" nowrap>          </td>
1078          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1079          <td class="md" nowrap><code> [protected]</code></td>
1080        </tr>
1081
1082      </table>
1083    </td>
1084  </tr>
1085</table>
1086<table cellspacing=5 cellpadding=0 border=0>
1087  <tr>
1088    <td>
1089      &nbsp;
1090    </td>
1091    <td>
1092
1093<p>
1094Destroy render textures for slices.
1095<p>
1096    </td>
1097  </tr>
1098</table>
1099<a class="anchor" name="Ogre_1_1HardwarePixelBuffera4" doxytag="Ogre::D3D9HardwarePixelBuffer::getCurrentLock" ></a><p>
1100<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1101  <tr>
1102    <td class="mdRow">
1103      <table cellpadding="0" cellspacing="0" border="0">
1104        <tr>
1105          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a>&amp; Ogre::HardwarePixelBuffer::getCurrentLock </td>
1106          <td class="md" valign="top">(&nbsp;</td>
1107          <td class="mdname1" valign="top" nowrap>          </td>
1108          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1109          <td class="md" nowrap><code> [inherited]</code></td>
1110        </tr>
1111
1112      </table>
1113    </td>
1114  </tr>
1115</table>
1116<table cellspacing=5 cellpadding=0 border=0>
1117  <tr>
1118    <td>
1119      &nbsp;
1120    </td>
1121    <td>
1122
1123<p>
1124Get the current locked region.
1125<p>
1126This 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>
1127    </td>
1128  </tr>
1129</table>
1130<a class="anchor" name="Ogre_1_1HardwarePixelBuffera16" doxytag="Ogre::D3D9HardwarePixelBuffer::getDepth" ></a><p>
1131<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1132  <tr>
1133    <td class="mdRow">
1134      <table cellpadding="0" cellspacing="0" border="0">
1135        <tr>
1136          <td class="md" nowrap valign="top"> size_t Ogre::HardwarePixelBuffer::getDepth </td>
1137          <td class="md" valign="top">(&nbsp;</td>
1138          <td class="mdname1" valign="top" nowrap>          </td>
1139          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1140          <td class="md" nowrap> const<code> [inherited]</code></td>
1141        </tr>
1142
1143      </table>
1144    </td>
1145  </tr>
1146</table>
1147<table cellspacing=5 cellpadding=0 border=0>
1148  <tr>
1149    <td>
1150      &nbsp;
1151    </td>
1152    <td>
1153
1154<p>
1155Gets the depth of this buffer.
1156<p>
1157
1158<p>
1159Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00177">177</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
1160  </tr>
1161</table>
1162<a class="anchor" name="Ogre_1_1HardwarePixelBuffera17" doxytag="Ogre::D3D9HardwarePixelBuffer::getFormat" ></a><p>
1163<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1164  <tr>
1165    <td class="mdRow">
1166      <table cellpadding="0" cellspacing="0" border="0">
1167        <tr>
1168          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> Ogre::HardwarePixelBuffer::getFormat </td>
1169          <td class="md" valign="top">(&nbsp;</td>
1170          <td class="mdname1" valign="top" nowrap>          </td>
1171          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1172          <td class="md" nowrap> const<code> [inherited]</code></td>
1173        </tr>
1174
1175      </table>
1176    </td>
1177  </tr>
1178</table>
1179<table cellspacing=5 cellpadding=0 border=0>
1180  <tr>
1181    <td>
1182      &nbsp;
1183    </td>
1184    <td>
1185
1186<p>
1187Gets the native pixel format of this buffer.
1188<p>
1189
1190<p>
1191Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00179">179</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
1192<p>
1193References <a class="el" href="OgrePixelFormat_8h-source.html#l00033">Ogre::PixelFormat</a>.
1194<p>
1195Referenced by <a class="el" href="OgreD3D9Texture_8h-source.html#l00226">Ogre::D3D9RenderTexture::rebind()</a>.    </td>
1196  </tr>
1197</table>
1198<a class="anchor" name="Ogre_1_1HardwarePixelBuffera15" doxytag="Ogre::D3D9HardwarePixelBuffer::getHeight" ></a><p>
1199<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1200  <tr>
1201    <td class="mdRow">
1202      <table cellpadding="0" cellspacing="0" border="0">
1203        <tr>
1204          <td class="md" nowrap valign="top"> size_t Ogre::HardwarePixelBuffer::getHeight </td>
1205          <td class="md" valign="top">(&nbsp;</td>
1206          <td class="mdname1" valign="top" nowrap>          </td>
1207          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1208          <td class="md" nowrap> const<code> [inherited]</code></td>
1209        </tr>
1210
1211      </table>
1212    </td>
1213  </tr>
1214</table>
1215<table cellspacing=5 cellpadding=0 border=0>
1216  <tr>
1217    <td>
1218      &nbsp;
1219    </td>
1220    <td>
1221
1222<p>
1223Gets the height of this buffer.
1224<p>
1225
1226<p>
1227Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00175">175</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
1228<p>
1229Referenced by <a class="el" href="OgreD3D9Texture_8h-source.html#l00226">Ogre::D3D9RenderTexture::rebind()</a>.    </td>
1230  </tr>
1231</table>
1232<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera9" doxytag="Ogre::D3D9HardwarePixelBuffer::getRenderTarget" ></a><p>
1233<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1234  <tr>
1235    <td class="mdRow">
1236      <table cellpadding="0" cellspacing="0" border="0">
1237        <tr>
1238          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RenderTexture.html">RenderTexture</a>* Ogre::D3D9HardwarePixelBuffer::getRenderTarget </td>
1239          <td class="md" valign="top">(&nbsp;</td>
1240          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1241          <td class="mdname1" valign="top" nowrap> <em>zoffset</em>          </td>
1242          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1243          <td class="md" nowrap><code> [virtual]</code></td>
1244        </tr>
1245
1246      </table>
1247    </td>
1248  </tr>
1249</table>
1250<table cellspacing=5 cellpadding=0 border=0>
1251  <tr>
1252    <td>
1253      &nbsp;
1254    </td>
1255    <td>
1256
1257<p>
1258Get rendertarget for z slice.
1259<p>
1260
1261<p>
1262Reimplemented from <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBuffera13">Ogre::HardwarePixelBuffer</a>.    </td>
1263  </tr>
1264</table>
1265<a class="anchor" name="Ogre_1_1HardwareVertexBuffera11" doxytag="Ogre::D3D9HardwarePixelBuffer::getSizeInBytes" ></a><p>
1266<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1267  <tr>
1268    <td class="mdRow">
1269      <table cellpadding="0" cellspacing="0" border="0">
1270        <tr>
1271          <td class="md" nowrap valign="top"> size_t Ogre::HardwareBuffer::getSizeInBytes </td>
1272          <td class="md" valign="top">(&nbsp;</td>
1273          <td class="md" nowrap valign="top">void&nbsp;</td>
1274          <td class="mdname1" valign="top" nowrap>          </td>
1275          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1276          <td class="md" nowrap> const<code> [inherited]</code></td>
1277        </tr>
1278
1279      </table>
1280    </td>
1281  </tr>
1282</table>
1283<table cellspacing=5 cellpadding=0 border=0>
1284  <tr>
1285    <td>
1286      &nbsp;
1287    </td>
1288    <td>
1289
1290<p>
1291Returns the size of this buffer in bytes.
1292<p>
1293
1294<p>
1295Definition 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>
1296  </tr>
1297</table>
1298<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBuffera10" doxytag="Ogre::D3D9HardwarePixelBuffer::getSurface" ></a><p>
1299<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1300  <tr>
1301    <td class="mdRow">
1302      <table cellpadding="0" cellspacing="0" border="0">
1303        <tr>
1304          <td class="md" nowrap valign="top"> IDirect3DSurface9* Ogre::D3D9HardwarePixelBuffer::getSurface </td>
1305          <td class="md" valign="top">(&nbsp;</td>
1306          <td class="mdname1" valign="top" nowrap>          </td>
1307          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1308          <td class="md" nowrap></td>
1309        </tr>
1310
1311      </table>
1312    </td>
1313  </tr>
1314</table>
1315<table cellspacing=5 cellpadding=0 border=0>
1316  <tr>
1317    <td>
1318      &nbsp;
1319    </td>
1320    <td>
1321
1322<p>
1323Accessor for surface.
1324<p>
1325
1326<p>
1327Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00097">97</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
1328  </tr>
1329</table>
1330<a class="anchor" name="Ogre_1_1HardwareVertexBuffera12" doxytag="Ogre::D3D9HardwarePixelBuffer::getUsage" ></a><p>
1331<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1332  <tr>
1333    <td class="mdRow">
1334      <table cellpadding="0" cellspacing="0" border="0">
1335        <tr>
1336          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw11">Usage</a> Ogre::HardwareBuffer::getUsage </td>
1337          <td class="md" valign="top">(&nbsp;</td>
1338          <td class="md" nowrap valign="top">void&nbsp;</td>
1339          <td class="mdname1" valign="top" nowrap>          </td>
1340          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1341          <td class="md" nowrap> const<code> [inherited]</code></td>
1342        </tr>
1343
1344      </table>
1345    </td>
1346  </tr>
1347</table>
1348<table cellspacing=5 cellpadding=0 border=0>
1349  <tr>
1350    <td>
1351      &nbsp;
1352    </td>
1353    <td>
1354
1355<p>
1356Returns the Usage flags with which this buffer was created.
1357<p>
1358
1359<p>
1360Definition 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>
1361  </tr>
1362</table>
1363<a class="anchor" name="Ogre_1_1HardwarePixelBuffera14" doxytag="Ogre::D3D9HardwarePixelBuffer::getWidth" ></a><p>
1364<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1365  <tr>
1366    <td class="mdRow">
1367      <table cellpadding="0" cellspacing="0" border="0">
1368        <tr>
1369          <td class="md" nowrap valign="top"> size_t Ogre::HardwarePixelBuffer::getWidth </td>
1370          <td class="md" valign="top">(&nbsp;</td>
1371          <td class="mdname1" valign="top" nowrap>          </td>
1372          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1373          <td class="md" nowrap> const<code> [inherited]</code></td>
1374        </tr>
1375
1376      </table>
1377    </td>
1378  </tr>
1379</table>
1380<table cellspacing=5 cellpadding=0 border=0>
1381  <tr>
1382    <td>
1383      &nbsp;
1384    </td>
1385    <td>
1386
1387<p>
1388Gets the width of this buffer.
1389<p>
1390
1391<p>
1392Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00173">173</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.
1393<p>
1394Referenced by <a class="el" href="OgreD3D9Texture_8h-source.html#l00226">Ogre::D3D9RenderTexture::rebind()</a>.    </td>
1395  </tr>
1396</table>
1397<a class="anchor" name="Ogre_1_1HardwareVertexBuffera14" doxytag="Ogre::D3D9HardwarePixelBuffer::hasShadowBuffer" ></a><p>
1398<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1399  <tr>
1400    <td class="mdRow">
1401      <table cellpadding="0" cellspacing="0" border="0">
1402        <tr>
1403          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::hasShadowBuffer </td>
1404          <td class="md" valign="top">(&nbsp;</td>
1405          <td class="md" nowrap valign="top">void&nbsp;</td>
1406          <td class="mdname1" valign="top" nowrap>          </td>
1407          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1408          <td class="md" nowrap> const<code> [inherited]</code></td>
1409        </tr>
1410
1411      </table>
1412    </td>
1413  </tr>
1414</table>
1415<table cellspacing=5 cellpadding=0 border=0>
1416  <tr>
1417    <td>
1418      &nbsp;
1419    </td>
1420    <td>
1421
1422<p>
1423Returns whether this buffer has a system memory shadow for quicker reading.
1424<p>
1425
1426<p>
1427Definition 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>
1428  </tr>
1429</table>
1430<a class="anchor" name="Ogre_1_1HardwareVertexBuffera15" doxytag="Ogre::D3D9HardwarePixelBuffer::isLocked" ></a><p>
1431<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1432  <tr>
1433    <td class="mdRow">
1434      <table cellpadding="0" cellspacing="0" border="0">
1435        <tr>
1436          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::isLocked </td>
1437          <td class="md" valign="top">(&nbsp;</td>
1438          <td class="md" nowrap valign="top">void&nbsp;</td>
1439          <td class="mdname1" valign="top" nowrap>          </td>
1440          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1441          <td class="md" nowrap> const<code> [inherited]</code></td>
1442        </tr>
1443
1444      </table>
1445    </td>
1446  </tr>
1447</table>
1448<table cellspacing=5 cellpadding=0 border=0>
1449  <tr>
1450    <td>
1451      &nbsp;
1452    </td>
1453    <td>
1454
1455<p>
1456Returns whether or not this buffer is currently locked.
1457<p>
1458
1459<p>
1460Definition 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>
1461  </tr>
1462</table>
1463<a class="anchor" name="Ogre_1_1HardwareVertexBuffera13" doxytag="Ogre::D3D9HardwarePixelBuffer::isSystemMemory" ></a><p>
1464<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1465  <tr>
1466    <td class="mdRow">
1467      <table cellpadding="0" cellspacing="0" border="0">
1468        <tr>
1469          <td class="md" nowrap valign="top"> bool Ogre::HardwareBuffer::isSystemMemory </td>
1470          <td class="md" valign="top">(&nbsp;</td>
1471          <td class="md" nowrap valign="top">void&nbsp;</td>
1472          <td class="mdname1" valign="top" nowrap>          </td>
1473          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1474          <td class="md" nowrap> const<code> [inherited]</code></td>
1475        </tr>
1476
1477      </table>
1478    </td>
1479  </tr>
1480</table>
1481<table cellspacing=5 cellpadding=0 border=0>
1482  <tr>
1483    <td>
1484      &nbsp;
1485    </td>
1486    <td>
1487
1488<p>
1489Returns whether this buffer is held in system memory.
1490<p>
1491
1492<p>
1493Definition 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>
1494  </tr>
1495</table>
1496<a class="anchor" name="Ogre_1_1HardwarePixelBuffera19" doxytag="Ogre::D3D9HardwarePixelBuffer::lock" ></a><p>
1497<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1498  <tr>
1499    <td class="mdRow">
1500      <table cellpadding="0" cellspacing="0" border="0">
1501        <tr>
1502          <td class="md" nowrap valign="top"> void* Ogre::HardwareBuffer::lock </td>
1503          <td class="md" valign="top">(&nbsp;</td>
1504          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1505          <td class="mdname1" valign="top" nowrap> <em>options</em>          </td>
1506          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1507          <td class="md" nowrap><code> [inherited]</code></td>
1508        </tr>
1509
1510      </table>
1511    </td>
1512  </tr>
1513</table>
1514<table cellspacing=5 cellpadding=0 border=0>
1515  <tr>
1516    <td>
1517      &nbsp;
1518    </td>
1519    <td>
1520
1521<p>
1522make every lock method from <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> available.
1523<p>
1524See <a href="http://www.research.att.com/~bs/bs_faq2.html#overloadderived">http://www.research.att.com/~bs/bs_faq2.html#overloadderived</a>
1525<p>
1526Definition 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>
1527  </tr>
1528</table>
1529<a class="anchor" name="Ogre_1_1HardwarePixelBuffera18" doxytag="Ogre::D3D9HardwarePixelBuffer::lock" ></a><p>
1530<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1531  <tr>
1532    <td class="mdRow">
1533      <table cellpadding="0" cellspacing="0" border="0">
1534        <tr>
1535          <td class="md" nowrap valign="top"> virtual void* Ogre::HardwareBuffer::lock </td>
1536          <td class="md" valign="top">(&nbsp;</td>
1537          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1538          <td class="mdname" nowrap> <em>offset</em>, </td>
1539        </tr>
1540        <tr>
1541          <td class="md" nowrap align="right"></td>
1542          <td></td>
1543          <td class="md" nowrap>size_t&nbsp;</td>
1544          <td class="mdname" nowrap> <em>length</em>, </td>
1545        </tr>
1546        <tr>
1547          <td class="md" nowrap align="right"></td>
1548          <td></td>
1549          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1550          <td class="mdname" nowrap> <em>options</em></td>
1551        </tr>
1552        <tr>
1553          <td></td>
1554          <td class="md">)&nbsp;</td>
1555          <td class="md" colspan="2"><code> [inherited]</code></td>
1556        </tr>
1557
1558      </table>
1559    </td>
1560  </tr>
1561</table>
1562<table cellspacing=5 cellpadding=0 border=0>
1563  <tr>
1564    <td>
1565      &nbsp;
1566    </td>
1567    <td>
1568
1569<p>
1570make every lock method from <a class="el" href="classOgre_1_1HardwareBuffer.html">HardwareBuffer</a> available.
1571<p>
1572See <a href="http://www.research.att.com/~bs/bs_faq2.html#overloadderived">http://www.research.att.com/~bs/bs_faq2.html#overloadderived</a>
1573<p>
1574Definition 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>
1575  </tr>
1576</table>
1577<a class="anchor" name="Ogre_1_1HardwarePixelBuffera3" doxytag="Ogre::D3D9HardwarePixelBuffer::lock" ></a><p>
1578<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1579  <tr>
1580    <td class="mdRow">
1581      <table cellpadding="0" cellspacing="0" border="0">
1582        <tr>
1583          <td class="md" nowrap valign="top"> virtual void* Ogre::HardwarePixelBuffer::lock </td>
1584          <td class="md" valign="top">(&nbsp;</td>
1585          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1586          <td class="mdname" nowrap> <em>offset</em>, </td>
1587        </tr>
1588        <tr>
1589          <td class="md" nowrap align="right"></td>
1590          <td></td>
1591          <td class="md" nowrap>size_t&nbsp;</td>
1592          <td class="mdname" nowrap> <em>length</em>, </td>
1593        </tr>
1594        <tr>
1595          <td class="md" nowrap align="right"></td>
1596          <td></td>
1597          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1598          <td class="mdname" nowrap> <em>options</em></td>
1599        </tr>
1600        <tr>
1601          <td></td>
1602          <td class="md">)&nbsp;</td>
1603          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1604        </tr>
1605
1606      </table>
1607    </td>
1608  </tr>
1609</table>
1610<table cellspacing=5 cellpadding=0 border=0>
1611  <tr>
1612    <td>
1613      &nbsp;
1614    </td>
1615    <td>
1616
1617<p>
1618<dl compact><dt><b>Parameters:</b></dt><dd>
1619  <table border="0" cellspacing="2" cellpadding="0">
1620    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to lock </td></tr>
1621    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to lock, in bytes </td></tr>
1622    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
1623  </table>
1624</dl>
1625<dl compact><dt><b>Returns:</b></dt><dd>Pointer to the locked memory </dd></dl>
1626 
1627<p>
1628
1629<p>
1630Reimplemented from <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera4">Ogre::HardwareBuffer</a>.    </td>
1631  </tr>
1632</table>
1633<a class="anchor" name="Ogre_1_1HardwarePixelBuffera2" doxytag="Ogre::D3D9HardwarePixelBuffer::lock" ></a><p>
1634<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1635  <tr>
1636    <td class="mdRow">
1637      <table cellpadding="0" cellspacing="0" border="0">
1638        <tr>
1639          <td class="md" nowrap valign="top"> virtual const <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a>&amp; Ogre::HardwarePixelBuffer::lock </td>
1640          <td class="md" valign="top">(&nbsp;</td>
1641          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1Box.html">Image::Box</a> &amp;&nbsp;</td>
1642          <td class="mdname" nowrap> <em>lockBox</em>, </td>
1643        </tr>
1644        <tr>
1645          <td class="md" nowrap align="right"></td>
1646          <td></td>
1647          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1648          <td class="mdname" nowrap> <em>options</em></td>
1649        </tr>
1650        <tr>
1651          <td></td>
1652          <td class="md">)&nbsp;</td>
1653          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1654        </tr>
1655
1656      </table>
1657    </td>
1658  </tr>
1659</table>
1660<table cellspacing=5 cellpadding=0 border=0>
1661  <tr>
1662    <td>
1663      &nbsp;
1664    </td>
1665    <td>
1666
1667<p>
1668Lock the buffer for (potentially) reading / writing.
1669<p>
1670<dl compact><dt><b>Parameters:</b></dt><dd>
1671  <table border="0" cellspacing="2" cellpadding="0">
1672    <tr><td valign=top><em>lockBox</em>&nbsp;</td><td>Region of the buffer to lock </td></tr>
1673    <tr><td valign=top><em>options</em>&nbsp;</td><td>Locking options </td></tr>
1674  </table>
1675</dl>
1676<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>
1677    </td>
1678  </tr>
1679</table>
1680<a class="anchor" name="Ogre_1_1HardwarePixelBufferb1" doxytag="Ogre::D3D9HardwarePixelBuffer::lockImpl" ></a><p>
1681<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1682  <tr>
1683    <td class="mdRow">
1684      <table cellpadding="0" cellspacing="0" border="0">
1685        <tr>
1686          <td class="md" nowrap valign="top"> virtual void* Ogre::HardwarePixelBuffer::lockImpl </td>
1687          <td class="md" valign="top">(&nbsp;</td>
1688          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1689          <td class="mdname" nowrap> <em>offset</em>, </td>
1690        </tr>
1691        <tr>
1692          <td class="md" nowrap align="right"></td>
1693          <td></td>
1694          <td class="md" nowrap>size_t&nbsp;</td>
1695          <td class="mdname" nowrap> <em>length</em>, </td>
1696        </tr>
1697        <tr>
1698          <td class="md" nowrap align="right"></td>
1699          <td></td>
1700          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1701          <td class="mdname" nowrap> <em>options</em></td>
1702        </tr>
1703        <tr>
1704          <td></td>
1705          <td class="md">)&nbsp;</td>
1706          <td class="md" colspan="2"><code> [protected, virtual, inherited]</code></td>
1707        </tr>
1708
1709      </table>
1710    </td>
1711  </tr>
1712</table>
1713<table cellspacing=5 cellpadding=0 border=0>
1714  <tr>
1715    <td>
1716      &nbsp;
1717    </td>
1718    <td>
1719
1720<p>
1721Internal 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.
1722<p>
1723
1724<p>
1725Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferb0">Ogre::HardwareBuffer</a>.    </td>
1726  </tr>
1727</table>
1728<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferb0" doxytag="Ogre::D3D9HardwarePixelBuffer::lockImpl" ></a><p>
1729<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1730  <tr>
1731    <td class="mdRow">
1732      <table cellpadding="0" cellspacing="0" border="0">
1733        <tr>
1734          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PixelBox.html">PixelBox</a> Ogre::D3D9HardwarePixelBuffer::lockImpl </td>
1735          <td class="md" valign="top">(&nbsp;</td>
1736          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1Box.html">Image::Box</a>&nbsp;</td>
1737          <td class="mdname" nowrap> <em>lockBox</em>, </td>
1738        </tr>
1739        <tr>
1740          <td class="md" nowrap align="right"></td>
1741          <td></td>
1742          <td class="md" nowrap><a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferw12">LockOptions</a>&nbsp;</td>
1743          <td class="mdname" nowrap> <em>options</em></td>
1744        </tr>
1745        <tr>
1746          <td></td>
1747          <td class="md">)&nbsp;</td>
1748          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1749        </tr>
1750
1751      </table>
1752    </td>
1753  </tr>
1754</table>
1755<table cellspacing=5 cellpadding=0 border=0>
1756  <tr>
1757    <td>
1758      &nbsp;
1759    </td>
1760    <td>
1761
1762<p>
1763Lock a box.
1764<p>
1765
1766<p>
1767Implements <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferb0">Ogre::HardwarePixelBuffer</a>.    </td>
1768  </tr>
1769</table>
1770<a class="anchor" name="Ogre_1_1HardwarePixelBuffera5" doxytag="Ogre::D3D9HardwarePixelBuffer::readData" ></a><p>
1771<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1772  <tr>
1773    <td class="mdRow">
1774      <table cellpadding="0" cellspacing="0" border="0">
1775        <tr>
1776          <td class="md" nowrap valign="top"> virtual void Ogre::HardwarePixelBuffer::readData </td>
1777          <td class="md" valign="top">(&nbsp;</td>
1778          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1779          <td class="mdname" nowrap> <em>offset</em>, </td>
1780        </tr>
1781        <tr>
1782          <td class="md" nowrap align="right"></td>
1783          <td></td>
1784          <td class="md" nowrap>size_t&nbsp;</td>
1785          <td class="mdname" nowrap> <em>length</em>, </td>
1786        </tr>
1787        <tr>
1788          <td class="md" nowrap align="right"></td>
1789          <td></td>
1790          <td class="md" nowrap>void *&nbsp;</td>
1791          <td class="mdname" nowrap> <em>pDest</em></td>
1792        </tr>
1793        <tr>
1794          <td></td>
1795          <td class="md">)&nbsp;</td>
1796          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1797        </tr>
1798
1799      </table>
1800    </td>
1801  </tr>
1802</table>
1803<table cellspacing=5 cellpadding=0 border=0>
1804  <tr>
1805    <td>
1806      &nbsp;
1807    </td>
1808    <td>
1809
1810<p>
1811<dl compact><dt><b>Parameters:</b></dt><dd>
1812  <table border="0" cellspacing="2" cellpadding="0">
1813    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to read </td></tr>
1814    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the area to read, in bytes </td></tr>
1815    <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>
1816  </table>
1817</dl>
1818 
1819<p>
1820
1821<p>
1822Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera7">Ogre::HardwareBuffer</a>.    </td>
1823  </tr>
1824</table>
1825<a class="anchor" name="Ogre_1_1HardwareVertexBuffera16" doxytag="Ogre::D3D9HardwarePixelBuffer::suppressHardwareUpdate" ></a><p>
1826<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1827  <tr>
1828    <td class="mdRow">
1829      <table cellpadding="0" cellspacing="0" border="0">
1830        <tr>
1831          <td class="md" nowrap valign="top"> void Ogre::HardwareBuffer::suppressHardwareUpdate </td>
1832          <td class="md" valign="top">(&nbsp;</td>
1833          <td class="md" nowrap valign="top">bool&nbsp;</td>
1834          <td class="mdname1" valign="top" nowrap> <em>suppress</em>          </td>
1835          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1836          <td class="md" nowrap><code> [inherited]</code></td>
1837        </tr>
1838
1839      </table>
1840    </td>
1841  </tr>
1842</table>
1843<table cellspacing=5 cellpadding=0 border=0>
1844  <tr>
1845    <td>
1846      &nbsp;
1847    </td>
1848    <td>
1849
1850<p>
1851<a class="el" href="classOgre_1_1Pass.html">Pass</a> true to suppress hardware upload of shadow buffer changes.
1852<p>
1853
1854<p>
1855Definition 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>
1856  </tr>
1857</table>
1858<a class="anchor" name="Ogre_1_1HardwareVertexBuffera6" doxytag="Ogre::D3D9HardwarePixelBuffer::unlock" ></a><p>
1859<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1860  <tr>
1861    <td class="mdRow">
1862      <table cellpadding="0" cellspacing="0" border="0">
1863        <tr>
1864          <td class="md" nowrap valign="top"> virtual void Ogre::HardwareBuffer::unlock </td>
1865          <td class="md" valign="top">(&nbsp;</td>
1866          <td class="md" nowrap valign="top">void&nbsp;</td>
1867          <td class="mdname1" valign="top" nowrap>          </td>
1868          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1869          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1870        </tr>
1871
1872      </table>
1873    </td>
1874  </tr>
1875</table>
1876<table cellspacing=5 cellpadding=0 border=0>
1877  <tr>
1878    <td>
1879      &nbsp;
1880    </td>
1881    <td>
1882
1883<p>
1884Releases the lock on this buffer.
1885<p>
1886<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>
1887<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>
1888
1889<p>
1890Reimplemented 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>.
1891<p>
1892Definition 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>.
1893<p>
1894Referenced by <a class="el" href="OgreHardwareBuffer_8h-source.html#l00265">Ogre::HardwareBuffer::copyData()</a>.    </td>
1895  </tr>
1896</table>
1897<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferb1" doxytag="Ogre::D3D9HardwarePixelBuffer::unlockImpl" ></a><p>
1898<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1899  <tr>
1900    <td class="mdRow">
1901      <table cellpadding="0" cellspacing="0" border="0">
1902        <tr>
1903          <td class="md" nowrap valign="top"> void Ogre::D3D9HardwarePixelBuffer::unlockImpl </td>
1904          <td class="md" valign="top">(&nbsp;</td>
1905          <td class="md" nowrap valign="top">void&nbsp;</td>
1906          <td class="mdname1" valign="top" nowrap>          </td>
1907          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1908          <td class="md" nowrap><code> [protected, virtual]</code></td>
1909        </tr>
1910
1911      </table>
1912    </td>
1913  </tr>
1914</table>
1915<table cellspacing=5 cellpadding=0 border=0>
1916  <tr>
1917    <td>
1918      &nbsp;
1919    </td>
1920    <td>
1921
1922<p>
1923Unlock a box.
1924<p>
1925
1926<p>
1927Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBufferb1">Ogre::HardwareBuffer</a>.    </td>
1928  </tr>
1929</table>
1930<a class="anchor" name="Ogre_1_1HardwarePixelBuffera6" doxytag="Ogre::D3D9HardwarePixelBuffer::writeData" ></a><p>
1931<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1932  <tr>
1933    <td class="mdRow">
1934      <table cellpadding="0" cellspacing="0" border="0">
1935        <tr>
1936          <td class="md" nowrap valign="top"> virtual void Ogre::HardwarePixelBuffer::writeData </td>
1937          <td class="md" valign="top">(&nbsp;</td>
1938          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1939          <td class="mdname" nowrap> <em>offset</em>, </td>
1940        </tr>
1941        <tr>
1942          <td class="md" nowrap align="right"></td>
1943          <td></td>
1944          <td class="md" nowrap>size_t&nbsp;</td>
1945          <td class="mdname" nowrap> <em>length</em>, </td>
1946        </tr>
1947        <tr>
1948          <td class="md" nowrap align="right"></td>
1949          <td></td>
1950          <td class="md" nowrap>const void *&nbsp;</td>
1951          <td class="mdname" nowrap> <em>pSource</em>, </td>
1952        </tr>
1953        <tr>
1954          <td class="md" nowrap align="right"></td>
1955          <td></td>
1956          <td class="md" nowrap>bool&nbsp;</td>
1957          <td class="mdname" nowrap> <em>discardWholeBuffer</em> = false</td>
1958        </tr>
1959        <tr>
1960          <td></td>
1961          <td class="md">)&nbsp;</td>
1962          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
1963        </tr>
1964
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<dl compact><dt><b>Parameters:</b></dt><dd>
1978  <table border="0" cellspacing="2" cellpadding="0">
1979    <tr><td valign=top><em>offset</em>&nbsp;</td><td>The byte offset from the start of the buffer to start writing </td></tr>
1980    <tr><td valign=top><em>length</em>&nbsp;</td><td>The size of the data to write to, in bytes </td></tr>
1981    <tr><td valign=top><em>pSource</em>&nbsp;</td><td>The source of the data to be written </td></tr>
1982    <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>
1983  </table>
1984</dl>
1985 
1986<p>
1987
1988<p>
1989Implements <a class="el" href="classOgre_1_1HardwareBuffer.html#Ogre_1_1HardwareVertexBuffera8">Ogre::HardwareBuffer</a>.    </td>
1990  </tr>
1991</table>
1992<hr><h2>Friends And Related Function Documentation</h2>
1993<a class="anchor" name="Ogre_1_1HardwarePixelBuffern0" doxytag="Ogre::D3D9HardwarePixelBuffer::RenderTexture" ></a><p>
1994<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1995  <tr>
1996    <td class="mdRow">
1997      <table cellpadding="0" cellspacing="0" border="0">
1998        <tr>
1999          <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1RenderTexture.html">RenderTexture</a><code> [friend, inherited]</code>
2000      </table>
2001    </td>
2002  </tr>
2003</table>
2004<table cellspacing=5 cellpadding=0 border=0>
2005  <tr>
2006    <td>
2007      &nbsp;
2008    </td>
2009    <td>
2010
2011<p>
2012
2013<p>
2014Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00069">69</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2015  </tr>
2016</table>
2017<hr><h2>Member Data Documentation</h2>
2018<a class="anchor" name="Ogre_1_1HardwarePixelBufferp6" doxytag="Ogre::D3D9HardwarePixelBuffer::mCurrentLock" ></a><p>
2019<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2020  <tr>
2021    <td class="mdRow">
2022      <table cellpadding="0" cellspacing="0" border="0">
2023        <tr>
2024          <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>
2025      </table>
2026    </td>
2027  </tr>
2028</table>
2029<table cellspacing=5 cellpadding=0 border=0>
2030  <tr>
2031    <td>
2032      &nbsp;
2033    </td>
2034    <td>
2035
2036<p>
2037
2038<p>
2039Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00053">53</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2040  </tr>
2041</table>
2042<a class="anchor" name="Ogre_1_1HardwarePixelBufferp2" doxytag="Ogre::D3D9HardwarePixelBuffer::mDepth" ></a><p>
2043<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2044  <tr>
2045    <td class="mdRow">
2046      <table cellpadding="0" cellspacing="0" border="0">
2047        <tr>
2048          <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>
2049      </table>
2050    </td>
2051  </tr>
2052</table>
2053<table cellspacing=5 cellpadding=0 border=0>
2054  <tr>
2055    <td>
2056      &nbsp;
2057    </td>
2058    <td>
2059
2060<p>
2061
2062<p>
2063Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00047">47</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2064  </tr>
2065</table>
2066<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp5" doxytag="Ogre::D3D9HardwarePixelBuffer::mDoMipmapGen" ></a><p>
2067<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2068  <tr>
2069    <td class="mdRow">
2070      <table cellpadding="0" cellspacing="0" border="0">
2071        <tr>
2072          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp5">Ogre::D3D9HardwarePixelBuffer::mDoMipmapGen</a><code> [protected]</code>
2073      </table>
2074    </td>
2075  </tr>
2076</table>
2077<table cellspacing=5 cellpadding=0 border=0>
2078  <tr>
2079    <td>
2080      &nbsp;
2081    </td>
2082    <td>
2083
2084<p>
2085Mipmapping.
2086<p>
2087
2088<p>
2089Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00062">62</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2090  </tr>
2091</table>
2092<a class="anchor" name="Ogre_1_1HardwarePixelBufferp5" doxytag="Ogre::D3D9HardwarePixelBuffer::mFormat" ></a><p>
2093<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2094  <tr>
2095    <td class="mdRow">
2096      <table cellpadding="0" cellspacing="0" border="0">
2097        <tr>
2098          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> <a class="el" href="classOgre_1_1HardwarePixelBuffer.html#Ogre_1_1HardwarePixelBufferp5">Ogre::HardwarePixelBuffer::mFormat</a><code> [protected, inherited]</code>
2099      </table>
2100    </td>
2101  </tr>
2102</table>
2103<table cellspacing=5 cellpadding=0 border=0>
2104  <tr>
2105    <td>
2106      &nbsp;
2107    </td>
2108    <td>
2109
2110<p>
2111
2112<p>
2113Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00051">51</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2114  </tr>
2115</table>
2116<a class="anchor" name="Ogre_1_1HardwarePixelBufferp1" doxytag="Ogre::D3D9HardwarePixelBuffer::mHeight" ></a><p>
2117<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2118  <tr>
2119    <td class="mdRow">
2120      <table cellpadding="0" cellspacing="0" border="0">
2121        <tr>
2122          <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>
2123      </table>
2124    </td>
2125  </tr>
2126</table>
2127<table cellspacing=5 cellpadding=0 border=0>
2128  <tr>
2129    <td>
2130      &nbsp;
2131    </td>
2132    <td>
2133
2134<p>
2135
2136<p>
2137Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00047">47</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2138  </tr>
2139</table>
2140<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp6" doxytag="Ogre::D3D9HardwarePixelBuffer::mHWMipmaps" ></a><p>
2141<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2142  <tr>
2143    <td class="mdRow">
2144      <table cellpadding="0" cellspacing="0" border="0">
2145        <tr>
2146          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp6">Ogre::D3D9HardwarePixelBuffer::mHWMipmaps</a><code> [protected]</code>
2147      </table>
2148    </td>
2149  </tr>
2150</table>
2151<table cellspacing=5 cellpadding=0 border=0>
2152  <tr>
2153    <td>
2154      &nbsp;
2155    </td>
2156    <td>
2157
2158<p>
2159
2160<p>
2161Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00063">63</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2162  </tr>
2163</table>
2164<a class="anchor" name="Ogre_1_1HardwareVertexBufferp4" doxytag="Ogre::D3D9HardwarePixelBuffer::mIsLocked" ></a><p>
2165<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2166  <tr>
2167    <td class="mdRow">
2168      <table cellpadding="0" cellspacing="0" border="0">
2169        <tr>
2170          <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>
2171      </table>
2172    </td>
2173  </tr>
2174</table>
2175<table cellspacing=5 cellpadding=0 border=0>
2176  <tr>
2177    <td>
2178      &nbsp;
2179    </td>
2180    <td>
2181
2182<p>
2183
2184<p>
2185Definition 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>
2186  </tr>
2187</table>
2188<a class="anchor" name="Ogre_1_1HardwareVertexBufferp6" doxytag="Ogre::D3D9HardwarePixelBuffer::mLockSize" ></a><p>
2189<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2190  <tr>
2191    <td class="mdRow">
2192      <table cellpadding="0" cellspacing="0" border="0">
2193        <tr>
2194          <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>
2195      </table>
2196    </td>
2197  </tr>
2198</table>
2199<table cellspacing=5 cellpadding=0 border=0>
2200  <tr>
2201    <td>
2202      &nbsp;
2203    </td>
2204    <td>
2205
2206<p>
2207
2208<p>
2209Definition 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>
2210  </tr>
2211</table>
2212<a class="anchor" name="Ogre_1_1HardwareVertexBufferp5" doxytag="Ogre::D3D9HardwarePixelBuffer::mLockStart" ></a><p>
2213<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2214  <tr>
2215    <td class="mdRow">
2216      <table cellpadding="0" cellspacing="0" border="0">
2217        <tr>
2218          <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>
2219      </table>
2220    </td>
2221  </tr>
2222</table>
2223<table cellspacing=5 cellpadding=0 border=0>
2224  <tr>
2225    <td>
2226      &nbsp;
2227    </td>
2228    <td>
2229
2230<p>
2231
2232<p>
2233Definition 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>
2234  </tr>
2235</table>
2236<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp7" doxytag="Ogre::D3D9HardwarePixelBuffer::mMipTex" ></a><p>
2237<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2238  <tr>
2239    <td class="mdRow">
2240      <table cellpadding="0" cellspacing="0" border="0">
2241        <tr>
2242          <td class="md" nowrap valign="top"> IDirect3DBaseTexture9* <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp7">Ogre::D3D9HardwarePixelBuffer::mMipTex</a><code> [protected]</code>
2243      </table>
2244    </td>
2245  </tr>
2246</table>
2247<table cellspacing=5 cellpadding=0 border=0>
2248  <tr>
2249    <td>
2250      &nbsp;
2251    </td>
2252    <td>
2253
2254<p>
2255
2256<p>
2257Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00064">64</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2258  </tr>
2259</table>
2260<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp0" doxytag="Ogre::D3D9HardwarePixelBuffer::mpDev" ></a><p>
2261<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2262  <tr>
2263    <td class="mdRow">
2264      <table cellpadding="0" cellspacing="0" border="0">
2265        <tr>
2266          <td class="md" nowrap valign="top"> IDirect3DDevice9* <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp0">Ogre::D3D9HardwarePixelBuffer::mpDev</a><code> [protected]</code>
2267      </table>
2268    </td>
2269  </tr>
2270</table>
2271<table cellspacing=5 cellpadding=0 border=0>
2272  <tr>
2273    <td>
2274      &nbsp;
2275    </td>
2276    <td>
2277
2278<p>
2279D3DDevice pointer.
2280<p>
2281
2282<p>
2283Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00050">50</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2284  </tr>
2285</table>
2286<a class="anchor" name="Ogre_1_1HardwareVertexBufferp9" doxytag="Ogre::D3D9HardwarePixelBuffer::mpShadowBuffer" ></a><p>
2287<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2288  <tr>
2289    <td class="mdRow">
2290      <table cellpadding="0" cellspacing="0" border="0">
2291        <tr>
2292          <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>
2293      </table>
2294    </td>
2295  </tr>
2296</table>
2297<table cellspacing=5 cellpadding=0 border=0>
2298  <tr>
2299    <td>
2300      &nbsp;
2301    </td>
2302    <td>
2303
2304<p>
2305
2306<p>
2307Definition 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>
2308  </tr>
2309</table>
2310<a class="anchor" name="Ogre_1_1HardwarePixelBufferp3" doxytag="Ogre::D3D9HardwarePixelBuffer::mRowPitch" ></a><p>
2311<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2312  <tr>
2313    <td class="mdRow">
2314      <table cellpadding="0" cellspacing="0" border="0">
2315        <tr>
2316          <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>
2317      </table>
2318    </td>
2319  </tr>
2320</table>
2321<table cellspacing=5 cellpadding=0 border=0>
2322  <tr>
2323    <td>
2324      &nbsp;
2325    </td>
2326    <td>
2327
2328<p>
2329
2330<p>
2331Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00049">49</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2332  </tr>
2333</table>
2334<a class="anchor" name="Ogre_1_1HardwareVertexBufferp10" doxytag="Ogre::D3D9HardwarePixelBuffer::mShadowUpdated" ></a><p>
2335<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2336  <tr>
2337    <td class="mdRow">
2338      <table cellpadding="0" cellspacing="0" border="0">
2339        <tr>
2340          <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>
2341      </table>
2342    </td>
2343  </tr>
2344</table>
2345<table cellspacing=5 cellpadding=0 border=0>
2346  <tr>
2347    <td>
2348      &nbsp;
2349    </td>
2350    <td>
2351
2352<p>
2353
2354<p>
2355Definition 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>
2356  </tr>
2357</table>
2358<a class="anchor" name="Ogre_1_1HardwareVertexBufferp2" doxytag="Ogre::D3D9HardwarePixelBuffer::mSizeInBytes" ></a><p>
2359<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2360  <tr>
2361    <td class="mdRow">
2362      <table cellpadding="0" cellspacing="0" border="0">
2363        <tr>
2364          <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>
2365      </table>
2366    </td>
2367  </tr>
2368</table>
2369<table cellspacing=5 cellpadding=0 border=0>
2370  <tr>
2371    <td>
2372      &nbsp;
2373    </td>
2374    <td>
2375
2376<p>
2377
2378<p>
2379Definition 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>
2380  </tr>
2381</table>
2382<a class="anchor" name="Ogre_1_1HardwarePixelBufferp4" doxytag="Ogre::D3D9HardwarePixelBuffer::mSlicePitch" ></a><p>
2383<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2384  <tr>
2385    <td class="mdRow">
2386      <table cellpadding="0" cellspacing="0" border="0">
2387        <tr>
2388          <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>
2389      </table>
2390    </td>
2391  </tr>
2392</table>
2393<table cellspacing=5 cellpadding=0 border=0>
2394  <tr>
2395    <td>
2396      &nbsp;
2397    </td>
2398    <td>
2399
2400<p>
2401
2402<p>
2403Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00049">49</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2404  </tr>
2405</table>
2406<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp8" doxytag="Ogre::D3D9HardwarePixelBuffer::mSliceTRT" ></a><p>
2407<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2408  <tr>
2409    <td class="mdRow">
2410      <table cellpadding="0" cellspacing="0" border="0">
2411        <tr>
2412          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferx0">SliceTRT</a> <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp8">Ogre::D3D9HardwarePixelBuffer::mSliceTRT</a><code> [protected]</code>
2413      </table>
2414    </td>
2415  </tr>
2416</table>
2417<table cellspacing=5 cellpadding=0 border=0>
2418  <tr>
2419    <td>
2420      &nbsp;
2421    </td>
2422    <td>
2423
2424<p>
2425
2426<p>
2427Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00068">68</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.
2428<p>
2429Referenced by <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00100">_clearSliceRTT()</a>.    </td>
2430  </tr>
2431</table>
2432<a class="anchor" name="Ogre_1_1HardwareVertexBufferp11" doxytag="Ogre::D3D9HardwarePixelBuffer::mSuppressHardwareUpdate" ></a><p>
2433<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2434  <tr>
2435    <td class="mdRow">
2436      <table cellpadding="0" cellspacing="0" border="0">
2437        <tr>
2438          <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>
2439      </table>
2440    </td>
2441  </tr>
2442</table>
2443<table cellspacing=5 cellpadding=0 border=0>
2444  <tr>
2445    <td>
2446      &nbsp;
2447    </td>
2448    <td>
2449
2450<p>
2451
2452<p>
2453Definition 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>
2454  </tr>
2455</table>
2456<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp1" doxytag="Ogre::D3D9HardwarePixelBuffer::mSurface" ></a><p>
2457<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2458  <tr>
2459    <td class="mdRow">
2460      <table cellpadding="0" cellspacing="0" border="0">
2461        <tr>
2462          <td class="md" nowrap valign="top"> IDirect3DSurface9* <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp1">Ogre::D3D9HardwarePixelBuffer::mSurface</a><code> [protected]</code>
2463      </table>
2464    </td>
2465  </tr>
2466</table>
2467<table cellspacing=5 cellpadding=0 border=0>
2468  <tr>
2469    <td>
2470      &nbsp;
2471    </td>
2472    <td>
2473
2474<p>
2475Surface abstracted by this buffer.
2476<p>
2477
2478<p>
2479Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00053">53</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2480  </tr>
2481</table>
2482<a class="anchor" name="Ogre_1_1HardwareVertexBufferp7" doxytag="Ogre::D3D9HardwarePixelBuffer::mSystemMemory" ></a><p>
2483<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2484  <tr>
2485    <td class="mdRow">
2486      <table cellpadding="0" cellspacing="0" border="0">
2487        <tr>
2488          <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>
2489      </table>
2490    </td>
2491  </tr>
2492</table>
2493<table cellspacing=5 cellpadding=0 border=0>
2494  <tr>
2495    <td>
2496      &nbsp;
2497    </td>
2498    <td>
2499
2500<p>
2501
2502<p>
2503Definition 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>
2504  </tr>
2505</table>
2506<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp3" doxytag="Ogre::D3D9HardwarePixelBuffer::mTempSurface" ></a><p>
2507<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2508  <tr>
2509    <td class="mdRow">
2510      <table cellpadding="0" cellspacing="0" border="0">
2511        <tr>
2512          <td class="md" nowrap valign="top"> IDirect3DSurface9* <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp3">Ogre::D3D9HardwarePixelBuffer::mTempSurface</a><code> [protected]</code>
2513      </table>
2514    </td>
2515  </tr>
2516</table>
2517<table cellspacing=5 cellpadding=0 border=0>
2518  <tr>
2519    <td>
2520      &nbsp;
2521    </td>
2522    <td>
2523
2524<p>
2525Temporary surface in main memory if direct locking of mSurface is not possible.
2526<p>
2527
2528<p>
2529Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00057">57</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2530  </tr>
2531</table>
2532<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp4" doxytag="Ogre::D3D9HardwarePixelBuffer::mTempVolume" ></a><p>
2533<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2534  <tr>
2535    <td class="mdRow">
2536      <table cellpadding="0" cellspacing="0" border="0">
2537        <tr>
2538          <td class="md" nowrap valign="top"> IDirect3DVolume9* <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp4">Ogre::D3D9HardwarePixelBuffer::mTempVolume</a><code> [protected]</code>
2539      </table>
2540    </td>
2541  </tr>
2542</table>
2543<table cellspacing=5 cellpadding=0 border=0>
2544  <tr>
2545    <td>
2546      &nbsp;
2547    </td>
2548    <td>
2549
2550<p>
2551Temporary volume in main memory if direct locking of mVolume is not possible.
2552<p>
2553
2554<p>
2555Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00059">59</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2556  </tr>
2557</table>
2558<a class="anchor" name="Ogre_1_1HardwareVertexBufferp3" doxytag="Ogre::D3D9HardwarePixelBuffer::mUsage" ></a><p>
2559<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2560  <tr>
2561    <td class="mdRow">
2562      <table cellpadding="0" cellspacing="0" border="0">
2563        <tr>
2564          <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>
2565      </table>
2566    </td>
2567  </tr>
2568</table>
2569<table cellspacing=5 cellpadding=0 border=0>
2570  <tr>
2571    <td>
2572      &nbsp;
2573    </td>
2574    <td>
2575
2576<p>
2577
2578<p>
2579Definition 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>
2580  </tr>
2581</table>
2582<a class="anchor" name="Ogre_1_1HardwareVertexBufferp8" doxytag="Ogre::D3D9HardwarePixelBuffer::mUseShadowBuffer" ></a><p>
2583<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2584  <tr>
2585    <td class="mdRow">
2586      <table cellpadding="0" cellspacing="0" border="0">
2587        <tr>
2588          <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>
2589      </table>
2590    </td>
2591  </tr>
2592</table>
2593<table cellspacing=5 cellpadding=0 border=0>
2594  <tr>
2595    <td>
2596      &nbsp;
2597    </td>
2598    <td>
2599
2600<p>
2601
2602<p>
2603Definition 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>
2604  </tr>
2605</table>
2606<a class="anchor" name="Ogre_1_1D3D9HardwarePixelBufferp2" doxytag="Ogre::D3D9HardwarePixelBuffer::mVolume" ></a><p>
2607<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2608  <tr>
2609    <td class="mdRow">
2610      <table cellpadding="0" cellspacing="0" border="0">
2611        <tr>
2612          <td class="md" nowrap valign="top"> IDirect3DVolume9* <a class="el" href="classOgre_1_1D3D9HardwarePixelBuffer.html#Ogre_1_1D3D9HardwarePixelBufferp2">Ogre::D3D9HardwarePixelBuffer::mVolume</a><code> [protected]</code>
2613      </table>
2614    </td>
2615  </tr>
2616</table>
2617<table cellspacing=5 cellpadding=0 border=0>
2618  <tr>
2619    <td>
2620      &nbsp;
2621    </td>
2622    <td>
2623
2624<p>
2625Volume abstracted by this buffer.
2626<p>
2627
2628<p>
2629Definition at line <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html#l00055">55</a> of file <a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a>.    </td>
2630  </tr>
2631</table>
2632<a class="anchor" name="Ogre_1_1HardwarePixelBufferp0" doxytag="Ogre::D3D9HardwarePixelBuffer::mWidth" ></a><p>
2633<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2634  <tr>
2635    <td class="mdRow">
2636      <table cellpadding="0" cellspacing="0" border="0">
2637        <tr>
2638          <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>
2639      </table>
2640    </td>
2641  </tr>
2642</table>
2643<table cellspacing=5 cellpadding=0 border=0>
2644  <tr>
2645    <td>
2646      &nbsp;
2647    </td>
2648    <td>
2649
2650<p>
2651
2652<p>
2653Definition at line <a class="el" href="OgreHardwarePixelBuffer_8h-source.html#l00047">47</a> of file <a class="el" href="OgreHardwarePixelBuffer_8h-source.html">OgreHardwarePixelBuffer.h</a>.    </td>
2654  </tr>
2655</table>
2656<hr>The documentation for this class was generated from the following file:<ul>
2657<li><a class="el" href="OgreD3D9HardwarePixelBuffer_8h-source.html">OgreD3D9HardwarePixelBuffer.h</a></ul>
2658<hr>
2659<p>
2660Copyright &copy; 2000-2005 by The OGRE Team<br />
2661<!--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/>
2662This 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/>
2663                <!--/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#">
2664                <Work rdf:about="">
2665                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
2666        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
2667                </Work>
2668                <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> -->
2669
2670Last modified Sun Mar 12 14:50:42 2006
2671</p>
2672</body>
2673</html>
Note: See TracBrowser for help on using the repository browser.