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

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

added ogre dependencies and patched ogre sources

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