\hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer}{}\section{Ogre\+:\+:D3\+D11\+Hardware\+Pixel\+Buffer Class Reference}
\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}


{\ttfamily \#include $<$Ogre\+D3\+D11\+Hardware\+Pixel\+Buffer.\+h$>$}



Inheritance diagram for Ogre\+:\+:D3\+D11\+Hardware\+Pixel\+Buffer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=230pt]{class_ogre_1_1_d3_d11_hardware_pixel_buffer__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Lock\+Options} \{ \newline
\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fae11601d29cd56aad7ea7a1b23a688b0e}{H\+B\+L\+\_\+\+N\+O\+R\+M\+AL}, 
\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fa176ad39ac15fc0a6028d820a6fe228ae}{H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD}, 
\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0faa364c1511514cd4d7ee1e7092eb41288}{H\+B\+L\+\_\+\+R\+E\+A\+D\+\_\+\+O\+N\+LY}, 
\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fa32a2f7b1c3430cc9c3f0f665934d0c4a}{H\+B\+L\+\_\+\+N\+O\+\_\+\+O\+V\+E\+R\+W\+R\+I\+TE}, 
\newline
\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0faf4acad29e302c7c02ce72c3fce8990df}{H\+B\+L\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}
 \}\begin{DoxyCompactList}\small\item\em Locking options. \end{DoxyCompactList}
\item 
enum \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Usage} \{ \newline
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a6f26f67ab31d60248314c9c6c77c9edb}{H\+B\+U\+\_\+\+S\+T\+A\+T\+IC} = 1, 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630abec61c14b13652a06566a79afd6f7518}{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC} = 2, 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a2fe20ff00e9acb928a2d9680f0c505e2}{H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY} = 4, 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a246699879ba7647973a2d8ed86acf76f}{H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE} = 8, 
\newline
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a5ffbb339becd31435c5f616be4c28996}{H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY} = H\+B\+U\+\_\+\+S\+T\+A\+T\+IC $\vert$ H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY, 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630aa0c82d1b27d6cc04e4b5f6d47a22a74c}{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY} = H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC $\vert$ H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY, 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a29ff2e0fd2b408359e84291b27282516}{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+L\+Y\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE} = H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY $\vert$ H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE
 \}\begin{DoxyCompactList}\small\item\em Enums describing buffer usage; not mutually exclusive. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a7662b7217751319c62ad6f46084cfb38}{D3\+D11\+Hardware\+Pixel\+Buffer} (\hyperlink{class_ogre_1_1_d3_d11_texture}{D3\+D11\+Texture} $\ast$parent\+Texture, \hyperlink{class_ogre_1_1_d3_d11_device}{D3\+D11\+Device} \&device, U\+I\+NT mip\+Level, size\+\_\+t width, size\+\_\+t height, size\+\_\+t depth, U\+I\+NT face, \hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} format, \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} usage)
\item 
\hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a3adf2b25d3b0360a5176d2cb6dd15722}{$\sim$\+D3\+D11\+Hardware\+Pixel\+Buffer} ()
\item 
virtual void \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a95580550437c8ddfcf7426b1571d5ab0}{\+\_\+clear\+Slice\+R\+TT} (size\+\_\+t zoffset)
\begin{DoxyCompactList}\small\item\em Notify Texture\+Buffer of destruction of render target. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_aef747afc351b1b0fd6342be4c285d626}{\+\_\+gen\+Mipmaps} ()
\begin{DoxyCompactList}\small\item\em Internal function to update mipmaps on update of level 0. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_hardware_buffer_a344c52f2214eaff097d5fbc390e7684b}{\+\_\+update\+From\+Shadow} (void)
\begin{DoxyCompactList}\small\item\em Updates the real buffer from the shadow buffer, if required. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_ad2b169285d653385462ee7d88a024574}{blit} (const \hyperlink{namespace_ogre_a7786bdc8f60fd946ec3e5ff896276bcf}{Hardware\+Pixel\+Buffer\+Shared\+Ptr} \&src, const \hyperlink{struct_ogre_1_1_box}{Box} \&src\+Box, const \hyperlink{struct_ogre_1_1_box}{Box} \&dst\+Box)
\begin{DoxyCompactList}\small\item\em Copies a box from another Pixel\+Buffer to a region of the this Pixel\+Buffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_pixel_buffer_ad4a77bfe5a38c59300124e6cf6305b9e}{blit} (const \hyperlink{namespace_ogre_a7786bdc8f60fd946ec3e5ff896276bcf}{Hardware\+Pixel\+Buffer\+Shared\+Ptr} \&src)
\begin{DoxyCompactList}\small\item\em Convenience function that blits the entire source pixel buffer to this buffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_adc6016a555dc1d5c79c745c4a49ef63e}{blit\+From\+Memory} (const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&src, const \hyperlink{struct_ogre_1_1_box}{Box} \&dst\+Box)
\begin{DoxyCompactList}\small\item\em Copies a region from normal memory to a region of this pixelbuffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a2405dade15f595710a02903d302155bd}{blit\+From\+Memory} (const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&src)
\begin{DoxyCompactList}\small\item\em Convenience function that blits a pixelbox from memory to the entire buffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_acfd9db6fb2a67a62b9e2ad9e9abf73bd}{blit\+To\+Memory} (const \hyperlink{struct_ogre_1_1_box}{Box} \&src\+Box, const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&dst)
\begin{DoxyCompactList}\small\item\em Copies a region of this pixelbuffer to normal memory. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a3d9ff2acd7776be35efd6fa24307012c}{blit\+To\+Memory} (const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&dst)
\begin{DoxyCompactList}\small\item\em Convenience function that blits this entire buffer to a pixelbox. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_hardware_buffer_a721891f0c0bd391dd5848c8a585ba054}{copy\+Data} (\hyperlink{class_ogre_1_1_hardware_buffer}{Hardware\+Buffer} \&src\+Buffer, size\+\_\+t src\+Offset, size\+\_\+t dst\+Offset, size\+\_\+t length, bool discard\+Whole\+Buffer=false)
\begin{DoxyCompactList}\small\item\em Copy data from another buffer into this one. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_hardware_buffer_a0bf3147b1f99a81dd84fb7b978c4686d}{copy\+Data} (\hyperlink{class_ogre_1_1_hardware_buffer}{Hardware\+Buffer} \&src\+Buffer)
\begin{DoxyCompactList}\small\item\em Copy all data from another buffer into this one. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \& \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a9f888e279109a05b5228f71c5b8f9d34}{get\+Current\+Lock} ()
\begin{DoxyCompactList}\small\item\em Get the current locked region. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_hardware_pixel_buffer_adf9e3e1adce1c03b95ebddd2e29781ea}{get\+Depth} () const
\begin{DoxyCompactList}\small\item\em Gets the depth of this buffer. \end{DoxyCompactList}\item 
U\+I\+NT \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a8e91ebab0bc37f78675153fd593873b3}{get\+Face} () const
\item 
\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a671112bc97923b41d318ffddc94f0c56}{get\+Format} () const
\begin{DoxyCompactList}\small\item\em Gets the native pixel format of this buffer. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_hardware_pixel_buffer_aff12f280560ed62d89782d7986b58a36}{get\+Height} () const
\begin{DoxyCompactList}\small\item\em Gets the height of this buffer. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_d3_d11_texture}{D3\+D11\+Texture} $\ast$ \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_acb5be5ab0879048ad7c84ac6c43e7a06}{get\+Parent\+Texture} () const
\item 
\hyperlink{class_ogre_1_1_render_texture}{Render\+Texture} $\ast$ \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a00af3808ecc36639351291657e7393eb}{get\+Render\+Target} (size\+\_\+t zoffset)
\begin{DoxyCompactList}\small\item\em Get rendertarget for z slice. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{class_ogre_1_1_hardware_buffer_a9194c7e8b536f4825b15b9e6a6912ce8}{get\+Size\+In\+Bytes} (void) const
\begin{DoxyCompactList}\small\item\em Returns the size of this buffer in bytes. \end{DoxyCompactList}\item 
D3\+D11\+\_\+\+B\+OX \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a9a02d6cda9a020801fb4aee58a82dc36}{get\+Subresource\+Box} (const \hyperlink{struct_ogre_1_1_box}{Box} \&box) const
\item 
U\+I\+NT \hyperlink{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a9c2a38564664f3e08183bf7a4d6709a8}{get\+Subresource\+Index} (size\+\_\+t box\+\_\+front) const
\item 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Usage} \hyperlink{class_ogre_1_1_hardware_buffer_a9c5ee6468dcb269e422e213b82726e4f}{get\+Usage} (void) const
\begin{DoxyCompactList}\small\item\em Returns the Usage flags with which this buffer was created. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a08822dca42177445a88fe1a712a0420e}{get\+Width} () const
\begin{DoxyCompactList}\small\item\em Gets the width of this buffer. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_hardware_buffer_a40a623d95552d9b1858e5c300a3ad68c}{has\+Shadow\+Buffer} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this buffer has a system memory shadow for quicker reading. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_hardware_buffer_a7c874c6b30c39aa38ae0d6abe2ba42bc}{is\+Locked} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not this buffer is currently locked. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_hardware_buffer_a0e1881a6106c59d5aae27589ca1bca5d}{is\+System\+Memory} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this buffer is held in system memory. \end{DoxyCompactList}\item 
virtual const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \& \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a30312407a4ece07e205b66eadf31363e}{lock} (const \hyperlink{struct_ogre_1_1_box}{Box} \&lock\+Box, \hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Lock\+Options} options)
\begin{DoxyCompactList}\small\item\em Lock the buffer for (potentially) reading / writing. \end{DoxyCompactList}\item 
virtual void $\ast$ \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a8aaa214f42a683f7203ed42f8c0caf17}{lock} (size\+\_\+t offset, size\+\_\+t length, \hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Lock\+Options} options)
\begin{DoxyCompactList}\small\item\em Lock the buffer for (potentially) reading / writing. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{class_ogre_1_1_hardware_buffer_a93b204642190e611bc226ea08d29160e}{lock} (\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Lock\+Options} options)
\item 
virtual void \hyperlink{class_ogre_1_1_hardware_pixel_buffer_abbd6dece7babe2473adc396bb458f53c}{read\+Data} (size\+\_\+t offset, size\+\_\+t length, void $\ast$p\+Dest)
\begin{DoxyCompactList}\small\item\em Reads data from the buffer and places it in the memory pointed to by p\+Dest. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_a688e1be4a913099ce5e06172771e2d45}{suppress\+Hardware\+Update} (bool suppress)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_pass}{Pass} true to suppress hardware upload of shadow buffer changes. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_hardware_buffer_a64ddd429ff2c8ac4f0cca5decb5c6757}{unlock} (void)
\begin{DoxyCompactList}\small\item\em Releases the lock on this buffer. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a117ff90e202f525c2a4b7bb9c51eb4df}{write\+Data} (size\+\_\+t offset, size\+\_\+t length, const void $\ast$p\+Source, bool discard\+Whole\+Buffer=false)
\begin{DoxyCompactList}\small\item\em Writes data to the buffer from an area of system memory; note that you must ensure that your buffer is big enough. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!Usage@{Usage}}
\index{Usage@{Usage}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{Usage}{Usage}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Ogre\+::\+Hardware\+Buffer\+::\+Usage}\hspace{0.3cm}{\ttfamily [inherited]}}



Enums describing buffer usage; not mutually exclusive. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+U\+\_\+\+S\+T\+A\+T\+IC@{H\+B\+U\+\_\+\+S\+T\+A\+T\+IC}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+U\+\_\+\+S\+T\+A\+T\+IC@{H\+B\+U\+\_\+\+S\+T\+A\+T\+IC}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a6f26f67ab31d60248314c9c6c77c9edb}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a6f26f67ab31d60248314c9c6c77c9edb}} 
H\+B\+U\+\_\+\+S\+T\+A\+T\+IC&Static buffer which the application rarely modifies once created. Modifying the contents of this buffer will involve a performance hit. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC@{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC@{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630abec61c14b13652a06566a79afd6f7518}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630abec61c14b13652a06566a79afd6f7518}} 
H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC&Indicates the application would like to modify this buffer with the C\+PU fairly often. Buffers created with this flag will typically end up in A\+GP memory rather than video memory.

This is the least optimal buffer setting. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a2fe20ff00e9acb928a2d9680f0c505e2}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a2fe20ff00e9acb928a2d9680f0c505e2}} 
H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY&Indicates the application will never read the contents of the buffer back, it will only ever write data. Locking a buffer with this flag will A\+L\+W\+A\+YS return a pointer to new, blank memory rather than the memory associated with the contents of the buffer; this avoids D\+MA stalls because you can write to a new memory area while the previous one is being used.

However, you may read from it’s shadow buffer if you set one up \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE@{H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE@{H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a246699879ba7647973a2d8ed86acf76f}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a246699879ba7647973a2d8ed86acf76f}} 
H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE&Indicates 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. This allows and additional level of optimisation on the buffer. This option only really makes sense when combined with H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a5ffbb339becd31435c5f616be4c28996}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a5ffbb339becd31435c5f616be4c28996}} 
H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY&Combination of H\+B\+U\+\_\+\+S\+T\+A\+T\+IC and H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY This is the optimal buffer usage setting. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630aa0c82d1b27d6cc04e4b5f6d47a22a74c}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630aa0c82d1b27d6cc04e4b5f6d47a22a74c}} 
H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY&Combination of H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC and H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY. If you use this, strongly consider using H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+L\+Y\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE instead if you update the entire contents of the buffer very regularly. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+L\+Y\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE@{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+L\+Y\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+L\+Y\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE@{H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+L\+Y\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a29ff2e0fd2b408359e84291b27282516}\label{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a29ff2e0fd2b408359e84291b27282516}} 
H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+L\+Y\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE&Combination of H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC, H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY and H\+B\+U\+\_\+\+D\+I\+S\+C\+A\+R\+D\+A\+B\+LE This means that you expect to replace the entire contents of the buffer on an extremely regular basis, most likely every frame. By selecting this option, you free the system up from having to be concerned about losing the existing contents of the buffer at any time, because if it does lose them, you will be replacing them next frame anyway. On some platforms this can make a significant performance difference, so you should try to use this whenever you have a buffer you need to update regularly. Note that if you create a buffer this way, you should use the H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD flag when locking the contents of it for writing. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}\label{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!Lock\+Options@{Lock\+Options}}
\index{Lock\+Options@{Lock\+Options}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{Lock\+Options}{LockOptions}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Ogre\+::\+Hardware\+Buffer\+::\+Lock\+Options}\hspace{0.3cm}{\ttfamily [inherited]}}



Locking options. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+L\+\_\+\+N\+O\+R\+M\+AL@{H\+B\+L\+\_\+\+N\+O\+R\+M\+AL}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+L\+\_\+\+N\+O\+R\+M\+AL@{H\+B\+L\+\_\+\+N\+O\+R\+M\+AL}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fae11601d29cd56aad7ea7a1b23a688b0e}\label{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fae11601d29cd56aad7ea7a1b23a688b0e}} 
H\+B\+L\+\_\+\+N\+O\+R\+M\+AL&Normal mode, ie allows read/write and contents are preserved. This kind of lock allows reading and writing from the buffer -\/ it’s also the least optimal because basically you’re telling the card you could be doing anything at all. If you’re not using a shadow buffer, it requires the buffer to be transferred from the card and back again. If you’re using a shadow buffer the effect is minimal. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD@{H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD@{H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fa176ad39ac15fc0a6028d820a6fe228ae}\label{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fa176ad39ac15fc0a6028d820a6fe228ae}} 
H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD&Discards the {\itshape entire} buffer while locking. This means you are happy for the card to discard the entire current contents of the buffer. Implicitly this means you are not going to read the data -\/ it also means that the card can avoid any stalls if the buffer is currently being rendered from, because it will actually give you an entirely different one. Use this wherever possible when you are locking a buffer which was not created with a shadow buffer. If you are using a shadow buffer it matters less, although with a shadow buffer it’s preferable to lock the entire buffer at once, because that allows the shadow buffer to use H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD when it uploads the updated contents to the real buffer. Only allowed on buffers created with the H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC flag. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+L\+\_\+\+R\+E\+A\+D\+\_\+\+O\+N\+LY@{H\+B\+L\+\_\+\+R\+E\+A\+D\+\_\+\+O\+N\+LY}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+L\+\_\+\+R\+E\+A\+D\+\_\+\+O\+N\+LY@{H\+B\+L\+\_\+\+R\+E\+A\+D\+\_\+\+O\+N\+LY}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0faa364c1511514cd4d7ee1e7092eb41288}\label{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0faa364c1511514cd4d7ee1e7092eb41288}} 
H\+B\+L\+\_\+\+R\+E\+A\+D\+\_\+\+O\+N\+LY&Lock the buffer for reading only. Not allowed in buffers which are created with H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY. Mandatory on static buffers, i.\+e. those created without the H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+IC flag. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+L\+\_\+\+N\+O\+\_\+\+O\+V\+E\+R\+W\+R\+I\+TE@{H\+B\+L\+\_\+\+N\+O\+\_\+\+O\+V\+E\+R\+W\+R\+I\+TE}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+L\+\_\+\+N\+O\+\_\+\+O\+V\+E\+R\+W\+R\+I\+TE@{H\+B\+L\+\_\+\+N\+O\+\_\+\+O\+V\+E\+R\+W\+R\+I\+TE}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fa32a2f7b1c3430cc9c3f0f665934d0c4a}\label{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0fa32a2f7b1c3430cc9c3f0f665934d0c4a}} 
H\+B\+L\+\_\+\+N\+O\+\_\+\+O\+V\+E\+R\+W\+R\+I\+TE&As H\+B\+L\+\_\+\+D\+I\+S\+C\+A\+RD, 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 A\+P\+Is. This is only useful on buffers with no shadow buffer. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{H\+B\+L\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+L\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!H\+B\+L\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY@{H\+B\+L\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0faf4acad29e302c7c02ce72c3fce8990df}\label{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0faf4acad29e302c7c02ce72c3fce8990df}} 
H\+B\+L\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY&Lock the buffer for writing only. \\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a7662b7217751319c62ad6f46084cfb38}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a7662b7217751319c62ad6f46084cfb38}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!D3\+D11\+Hardware\+Pixel\+Buffer@{D3\+D11\+Hardware\+Pixel\+Buffer}}
\index{D3\+D11\+Hardware\+Pixel\+Buffer@{D3\+D11\+Hardware\+Pixel\+Buffer}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{D3\+D11\+Hardware\+Pixel\+Buffer()}{D3D11HardwarePixelBuffer()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::\+D3\+D11\+Hardware\+Pixel\+Buffer (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_d3_d11_texture}{D3\+D11\+Texture} $\ast$}]{parent\+Texture,  }\item[{\hyperlink{class_ogre_1_1_d3_d11_device}{D3\+D11\+Device} \&}]{device,  }\item[{U\+I\+NT}]{mip\+Level,  }\item[{size\+\_\+t}]{width,  }\item[{size\+\_\+t}]{height,  }\item[{size\+\_\+t}]{depth,  }\item[{U\+I\+NT}]{face,  }\item[{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}]{format,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}]{usage }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a3adf2b25d3b0360a5176d2cb6dd15722}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a3adf2b25d3b0360a5176d2cb6dd15722}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!````~D3\+D11\+Hardware\+Pixel\+Buffer@{$\sim$\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\index{````~D3\+D11\+Hardware\+Pixel\+Buffer@{$\sim$\+D3\+D11\+Hardware\+Pixel\+Buffer}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{$\sim$\+D3\+D11\+Hardware\+Pixel\+Buffer()}{~D3D11HardwarePixelBuffer()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::$\sim$\+D3\+D11\+Hardware\+Pixel\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_ad2b169285d653385462ee7d88a024574}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_ad2b169285d653385462ee7d88a024574}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!blit@{blit}}
\index{blit@{blit}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{blit()}{blit()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::blit (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a7786bdc8f60fd946ec3e5ff896276bcf}{Hardware\+Pixel\+Buffer\+Shared\+Ptr} \&}]{src,  }\item[{const \hyperlink{struct_ogre_1_1_box}{Box} \&}]{src\+Box,  }\item[{const \hyperlink{struct_ogre_1_1_box}{Box} \&}]{dst\+Box }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Copies a box from another Pixel\+Buffer to a region of the this Pixel\+Buffer. 


\begin{DoxyParams}{Parameters}
{\em src} & Source pixel buffer \\
\hline
{\em src\+Box} & \hyperlink{struct_ogre_1_1_box}{Box} describing the source region in src \\
\hline
{\em dst\+Box} & \hyperlink{struct_ogre_1_1_box}{Box} describing the destination region in this buffer \\
\hline
\end{DoxyParams}
\begin{DoxyRemark}{Remarks}
The source and destination regions dimensions don\textquotesingle{}t have to match, in which case scaling is done. This scaling is generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Only call this function when both buffers are unlocked. 
\end{DoxyNote}


Reimplemented from \hyperlink{class_ogre_1_1_hardware_pixel_buffer_a51df5ef5580e242fc11a40f64bb1cb17}{Ogre\+::\+Hardware\+Pixel\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_adc6016a555dc1d5c79c745c4a49ef63e}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_adc6016a555dc1d5c79c745c4a49ef63e}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!blit\+From\+Memory@{blit\+From\+Memory}}
\index{blit\+From\+Memory@{blit\+From\+Memory}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{blit\+From\+Memory()}{blitFromMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::blit\+From\+Memory (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&}]{src,  }\item[{const \hyperlink{struct_ogre_1_1_box}{Box} \&}]{dst\+Box }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Copies a region from normal memory to a region of this pixelbuffer. 

The source image can be in any pixel format supported by O\+G\+RE, and in any size. 
\begin{DoxyParams}{Parameters}
{\em src} & \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} containing the source pixels and format in memory \\
\hline
{\em dst\+Box} & \hyperlink{struct_ogre_1_1_box}{Box} describing the destination region in this buffer \\
\hline
\end{DoxyParams}
\begin{DoxyRemark}{Remarks}
The source and destination regions dimensions don\textquotesingle{}t have to match, in which case scaling is done. This scaling is generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Only call this function when the buffer is unlocked. 
\end{DoxyNote}


Implements \hyperlink{class_ogre_1_1_hardware_pixel_buffer_ae12e40bc3a6461d93b7bfae20e58c866}{Ogre\+::\+Hardware\+Pixel\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_acfd9db6fb2a67a62b9e2ad9e9abf73bd}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_acfd9db6fb2a67a62b9e2ad9e9abf73bd}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!blit\+To\+Memory@{blit\+To\+Memory}}
\index{blit\+To\+Memory@{blit\+To\+Memory}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{blit\+To\+Memory()}{blitToMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::blit\+To\+Memory (\begin{DoxyParamCaption}\item[{const \hyperlink{struct_ogre_1_1_box}{Box} \&}]{src\+Box,  }\item[{const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&}]{dst }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Copies a region of this pixelbuffer to normal memory. 


\begin{DoxyParams}{Parameters}
{\em src\+Box} & \hyperlink{struct_ogre_1_1_box}{Box} describing the source region of this buffer \\
\hline
{\em dst} & \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} describing the destination pixels and format in memory \\
\hline
\end{DoxyParams}
\begin{DoxyRemark}{Remarks}
The source and destination regions don\textquotesingle{}t have to match, in which case scaling is done. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Only call this function when the buffer is unlocked. 
\end{DoxyNote}


Implements \hyperlink{class_ogre_1_1_hardware_pixel_buffer_ad46d21527ad100d90cce2294d2157170}{Ogre\+::\+Hardware\+Pixel\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_aef747afc351b1b0fd6342be4c285d626}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_aef747afc351b1b0fd6342be4c285d626}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!\+\_\+gen\+Mipmaps@{\+\_\+gen\+Mipmaps}}
\index{\+\_\+gen\+Mipmaps@{\+\_\+gen\+Mipmaps}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{\+\_\+gen\+Mipmaps()}{\_genMipmaps()}}
{\footnotesize\ttfamily void Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::\+\_\+gen\+Mipmaps (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Internal function to update mipmaps on update of level 0. 

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a00af3808ecc36639351291657e7393eb}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a00af3808ecc36639351291657e7393eb}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Render\+Target@{get\+Render\+Target}}
\index{get\+Render\+Target@{get\+Render\+Target}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Render\+Target()}{getRenderTarget()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_render_texture}{Render\+Texture}$\ast$ Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::get\+Render\+Target (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{zoffset }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Get rendertarget for z slice. 



Reimplemented from \hyperlink{class_ogre_1_1_hardware_pixel_buffer_aadcc10954fe5d710eb8cde1ebf0082a3}{Ogre\+::\+Hardware\+Pixel\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a95580550437c8ddfcf7426b1571d5ab0}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a95580550437c8ddfcf7426b1571d5ab0}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!\+\_\+clear\+Slice\+R\+TT@{\+\_\+clear\+Slice\+R\+TT}}
\index{\+\_\+clear\+Slice\+R\+TT@{\+\_\+clear\+Slice\+R\+TT}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{\+\_\+clear\+Slice\+R\+T\+T()}{\_clearSliceRTT()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::\+\_\+clear\+Slice\+R\+TT (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{zoffset }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Notify Texture\+Buffer of destruction of render target. 



Reimplemented from \hyperlink{class_ogre_1_1_hardware_pixel_buffer}{Ogre\+::\+Hardware\+Pixel\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_acb5be5ab0879048ad7c84ac6c43e7a06}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_acb5be5ab0879048ad7c84ac6c43e7a06}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Parent\+Texture@{get\+Parent\+Texture}}
\index{get\+Parent\+Texture@{get\+Parent\+Texture}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Parent\+Texture()}{getParentTexture()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_d3_d11_texture}{D3\+D11\+Texture}$\ast$ Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::get\+Parent\+Texture (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a8e91ebab0bc37f78675153fd593873b3}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a8e91ebab0bc37f78675153fd593873b3}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Face@{get\+Face}}
\index{get\+Face@{get\+Face}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Face()}{getFace()}}
{\footnotesize\ttfamily U\+I\+NT Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::get\+Face (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a9c2a38564664f3e08183bf7a4d6709a8}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a9c2a38564664f3e08183bf7a4d6709a8}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Subresource\+Index@{get\+Subresource\+Index}}
\index{get\+Subresource\+Index@{get\+Subresource\+Index}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Subresource\+Index()}{getSubresourceIndex()}}
{\footnotesize\ttfamily U\+I\+NT Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::get\+Subresource\+Index (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{box\+\_\+front }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a9a02d6cda9a020801fb4aee58a82dc36}\label{class_ogre_1_1_d3_d11_hardware_pixel_buffer_a9a02d6cda9a020801fb4aee58a82dc36}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Subresource\+Box@{get\+Subresource\+Box}}
\index{get\+Subresource\+Box@{get\+Subresource\+Box}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Subresource\+Box()}{getSubresourceBox()}}
{\footnotesize\ttfamily D3\+D11\+\_\+\+B\+OX Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer\+::get\+Subresource\+Box (\begin{DoxyParamCaption}\item[{const \hyperlink{struct_ogre_1_1_box}{Box} \&}]{box }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a30312407a4ece07e205b66eadf31363e}\label{class_ogre_1_1_hardware_pixel_buffer_a30312407a4ece07e205b66eadf31363e}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!lock@{lock}}
\index{lock@{lock}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{lock()}{lock()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily virtual const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}\& Ogre\+::\+Hardware\+Pixel\+Buffer\+::lock (\begin{DoxyParamCaption}\item[{const \hyperlink{struct_ogre_1_1_box}{Box} \&}]{lock\+Box,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Lock\+Options}}]{options }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Lock the buffer for (potentially) reading / writing. 


\begin{DoxyParams}{Parameters}
{\em lock\+Box} & Region of the buffer to lock \\
\hline
{\em options} & Locking options \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} containing the locked region, the pitches and the pixel format 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a8aaa214f42a683f7203ed42f8c0caf17}\label{class_ogre_1_1_hardware_pixel_buffer_a8aaa214f42a683f7203ed42f8c0caf17}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!lock@{lock}}
\index{lock@{lock}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{lock()}{lock()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily virtual void$\ast$ Ogre\+::\+Hardware\+Pixel\+Buffer\+::lock (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{offset,  }\item[{size\+\_\+t}]{length,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Lock\+Options}}]{options }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Lock the buffer for (potentially) reading / writing. 


\begin{DoxyParams}{Parameters}
{\em offset} & The byte offset from the start of the buffer to lock \\
\hline
{\em length} & The size of the area to lock, in bytes \\
\hline
{\em options} & Locking options \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the locked memory 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_ogre_1_1_hardware_buffer_ab1caebda1f7442706df97531c2d90aaf}{Ogre\+::\+Hardware\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a93b204642190e611bc226ea08d29160e}\label{class_ogre_1_1_hardware_buffer_a93b204642190e611bc226ea08d29160e}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!lock@{lock}}
\index{lock@{lock}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{lock()}{lock()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void$\ast$ Ogre\+::\+Hardware\+Buffer\+::lock (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_buffer_aac34930556f611928ec9157c04bd1b0f}{Lock\+Options}}]{options }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a9f888e279109a05b5228f71c5b8f9d34}\label{class_ogre_1_1_hardware_pixel_buffer_a9f888e279109a05b5228f71c5b8f9d34}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Current\+Lock@{get\+Current\+Lock}}
\index{get\+Current\+Lock@{get\+Current\+Lock}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Current\+Lock()}{getCurrentLock()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}\& Ogre\+::\+Hardware\+Pixel\+Buffer\+::get\+Current\+Lock (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Get the current locked region. 

This is the same value as returned by lock(const Box, Lock\+Options) \begin{DoxyReturn}{Returns}
\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} containing the locked region 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_abbd6dece7babe2473adc396bb458f53c}\label{class_ogre_1_1_hardware_pixel_buffer_abbd6dece7babe2473adc396bb458f53c}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!read\+Data@{read\+Data}}
\index{read\+Data@{read\+Data}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{read\+Data()}{readData()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Pixel\+Buffer\+::read\+Data (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{offset,  }\item[{size\+\_\+t}]{length,  }\item[{void $\ast$}]{p\+Dest }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Reads data from the buffer and places it in the memory pointed to by p\+Dest. 


\begin{DoxyParams}{Parameters}
{\em offset} & The byte offset from the start of the buffer to read \\
\hline
{\em length} & The size of the area to read, in bytes \\
\hline
{\em p\+Dest} & The area of memory in which to place the data, must be large enough to accommodate the data! \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_ogre_1_1_hardware_buffer_a552f466b57ba77f29e083266d4688765}{Ogre\+::\+Hardware\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a117ff90e202f525c2a4b7bb9c51eb4df}\label{class_ogre_1_1_hardware_pixel_buffer_a117ff90e202f525c2a4b7bb9c51eb4df}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!write\+Data@{write\+Data}}
\index{write\+Data@{write\+Data}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{write\+Data()}{writeData()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Pixel\+Buffer\+::write\+Data (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{offset,  }\item[{size\+\_\+t}]{length,  }\item[{const void $\ast$}]{p\+Source,  }\item[{bool}]{discard\+Whole\+Buffer = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Writes data to the buffer from an area of system memory; note that you must ensure that your buffer is big enough. 


\begin{DoxyParams}{Parameters}
{\em offset} & The byte offset from the start of the buffer to start writing \\
\hline
{\em length} & The size of the data to write to, in bytes \\
\hline
{\em p\+Source} & The source of the data to be written \\
\hline
{\em discard\+Whole\+Buffer} & If true, this allows the driver to discard the entire buffer when writing, such that D\+MA stalls can be avoided; use if you can. \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_ogre_1_1_hardware_buffer_a8c313688a0df3c28a36738c31fcbc3ee}{Ogre\+::\+Hardware\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_ad4a77bfe5a38c59300124e6cf6305b9e}\label{class_ogre_1_1_hardware_pixel_buffer_ad4a77bfe5a38c59300124e6cf6305b9e}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!blit@{blit}}
\index{blit@{blit}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{blit()}{blit()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Pixel\+Buffer\+::blit (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a7786bdc8f60fd946ec3e5ff896276bcf}{Hardware\+Pixel\+Buffer\+Shared\+Ptr} \&}]{src }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Convenience function that blits the entire source pixel buffer to this buffer. 

If source and destination dimensions don\textquotesingle{}t match, scaling is done. 
\begin{DoxyParams}{Parameters}
{\em src} & \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} containing the source pixels and format in memory \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Only call this function when the buffer is unlocked. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a2405dade15f595710a02903d302155bd}\label{class_ogre_1_1_hardware_pixel_buffer_a2405dade15f595710a02903d302155bd}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!blit\+From\+Memory@{blit\+From\+Memory}}
\index{blit\+From\+Memory@{blit\+From\+Memory}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{blit\+From\+Memory()}{blitFromMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Pixel\+Buffer\+::blit\+From\+Memory (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&}]{src }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Convenience function that blits a pixelbox from memory to the entire buffer. 

The source image is scaled as needed. 
\begin{DoxyParams}{Parameters}
{\em src} & \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} containing the source pixels and format in memory \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Only call this function when the buffer is unlocked. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a3d9ff2acd7776be35efd6fa24307012c}\label{class_ogre_1_1_hardware_pixel_buffer_a3d9ff2acd7776be35efd6fa24307012c}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!blit\+To\+Memory@{blit\+To\+Memory}}
\index{blit\+To\+Memory@{blit\+To\+Memory}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{blit\+To\+Memory()}{blitToMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Pixel\+Buffer\+::blit\+To\+Memory (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} \&}]{dst }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Convenience function that blits this entire buffer to a pixelbox. 

The image is scaled as needed. 
\begin{DoxyParams}{Parameters}
{\em dst} & \hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box} describing the destination pixels and format in memory \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Only call this function when the buffer is unlocked. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a08822dca42177445a88fe1a712a0420e}\label{class_ogre_1_1_hardware_pixel_buffer_a08822dca42177445a88fe1a712a0420e}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Width@{get\+Width}}
\index{get\+Width@{get\+Width}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Width()}{getWidth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Hardware\+Pixel\+Buffer\+::get\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the width of this buffer. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_aff12f280560ed62d89782d7986b58a36}\label{class_ogre_1_1_hardware_pixel_buffer_aff12f280560ed62d89782d7986b58a36}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Height@{get\+Height}}
\index{get\+Height@{get\+Height}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Height()}{getHeight()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Hardware\+Pixel\+Buffer\+::get\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the height of this buffer. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_adf9e3e1adce1c03b95ebddd2e29781ea}\label{class_ogre_1_1_hardware_pixel_buffer_adf9e3e1adce1c03b95ebddd2e29781ea}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Depth@{get\+Depth}}
\index{get\+Depth@{get\+Depth}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Depth()}{getDepth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Hardware\+Pixel\+Buffer\+::get\+Depth (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the depth of this buffer. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_pixel_buffer_a671112bc97923b41d318ffddc94f0c56}\label{class_ogre_1_1_hardware_pixel_buffer_a671112bc97923b41d318ffddc94f0c56}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Format@{get\+Format}}
\index{get\+Format@{get\+Format}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Format()}{getFormat()}}
{\footnotesize\ttfamily \hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} Ogre\+::\+Hardware\+Pixel\+Buffer\+::get\+Format (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the native pixel format of this buffer. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a64ddd429ff2c8ac4f0cca5decb5c6757}\label{class_ogre_1_1_hardware_buffer_a64ddd429ff2c8ac4f0cca5decb5c6757}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!unlock@{unlock}}
\index{unlock@{unlock}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{unlock()}{unlock()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Buffer\+::unlock (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Releases the lock on this buffer. 

\begin{DoxyRemark}{Remarks}
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. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Note that using the \textquotesingle{}read\textquotesingle{} and \textquotesingle{}write\textquotesingle{} 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 \textquotesingle{}read\textquotesingle{} and \textquotesingle{}write\textquotesingle{} forms instead. 
\end{DoxyParagraph}


Reimplemented in \hyperlink{class_ogre_1_1_default_hardware_counter_buffer_aa0106887fa02d52596d77b601ebc0859}{Ogre\+::\+Default\+Hardware\+Counter\+Buffer}, \hyperlink{class_ogre_1_1_default_hardware_uniform_buffer_a85bb33aad86990cdf6ebcf7fd14ef83e}{Ogre\+::\+Default\+Hardware\+Uniform\+Buffer}, \hyperlink{class_ogre_1_1_default_hardware_index_buffer_a99e0bdf70d975699bffaf987a4616b3e}{Ogre\+::\+Default\+Hardware\+Index\+Buffer}, \hyperlink{class_ogre_1_1_default_hardware_vertex_buffer_af532954d6a6a748a654446feb428fbd0}{Ogre\+::\+Default\+Hardware\+Vertex\+Buffer}, \hyperlink{class_ogre_1_1_d3_d11_hardware_uniform_buffer_ac60b28af28adcdbe502bcca233e37993}{Ogre\+::\+D3\+D11\+Hardware\+Uniform\+Buffer}, \hyperlink{class_ogre_1_1_d3_d11_hardware_vertex_buffer_aed62ee8ce3658cbd3a410592b149e7a5}{Ogre\+::\+D3\+D11\+Hardware\+Vertex\+Buffer}, and \hyperlink{class_ogre_1_1_d3_d11_hardware_index_buffer_a77856e935639af73302824505af41dc5}{Ogre\+::\+D3\+D11\+Hardware\+Index\+Buffer}.



Referenced by Ogre\+::\+Hardware\+Buffer\+::copy\+Data(), and Ogre\+::\+Lod0\+Stripifier\+::$\sim$\+Lod0\+Stripifier().

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a721891f0c0bd391dd5848c8a585ba054}\label{class_ogre_1_1_hardware_buffer_a721891f0c0bd391dd5848c8a585ba054}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!copy\+Data@{copy\+Data}}
\index{copy\+Data@{copy\+Data}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{copy\+Data()}{copyData()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Buffer\+::copy\+Data (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_buffer}{Hardware\+Buffer} \&}]{src\+Buffer,  }\item[{size\+\_\+t}]{src\+Offset,  }\item[{size\+\_\+t}]{dst\+Offset,  }\item[{size\+\_\+t}]{length,  }\item[{bool}]{discard\+Whole\+Buffer = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Copy data from another buffer into this one. 

\begin{DoxyRemark}{Remarks}
Note that the source buffer must not be created with the usage H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY otherwise this will fail. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em src\+Buffer} & The buffer from which to read the copied data \\
\hline
{\em src\+Offset} & Offset in the source buffer at which to start reading \\
\hline
{\em dst\+Offset} & Offset in the destination buffer to start writing \\
\hline
{\em length} & Length of the data to copy, in bytes. \\
\hline
{\em discard\+Whole\+Buffer} & If true, will discard the entire contents of this buffer before copying \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{class_ogre_1_1_d3_d11_hardware_buffer_a09a5a1ce569c36ad6b180b9cb3ebb67d}{Ogre\+::\+D3\+D11\+Hardware\+Buffer}, \hyperlink{class_ogre_1_1_g_l_e_s2_hardware_index_buffer_a3bd36b4afae92a7290ef2e10914fb036}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Index\+Buffer}, \hyperlink{class_ogre_1_1_g_l_e_s2_hardware_vertex_buffer_afefa05dcff66fa31f42fdaa3cfea3306}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Vertex\+Buffer}, \hyperlink{class_ogre_1_1_g_l3_plus_hardware_shader_storage_buffer_af07ad7987c6163b9c35806258731174e}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Shader\+Storage\+Buffer}, \hyperlink{class_ogre_1_1_g_l3_plus_hardware_uniform_buffer_ae6ffa229d8a5cc47b89daeca337569ff}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Uniform\+Buffer}, \hyperlink{class_ogre_1_1_g_l_e_s2_hardware_uniform_buffer_abe6f9462acaf1030f71688b891e6e3b4}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Uniform\+Buffer}, \hyperlink{class_ogre_1_1_g_l3_plus_hardware_counter_buffer_a28234be9fd3744901c51edef35db8d70}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Counter\+Buffer}, \hyperlink{class_ogre_1_1_g_l3_plus_hardware_vertex_buffer_ad4c0b74df9eb2b9558f79e52b568cdc8}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Vertex\+Buffer}, \hyperlink{class_ogre_1_1_g_l3_plus_hardware_index_buffer_ad79b3e5a58bb93202ac0e6975b745f0c}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Index\+Buffer}, \hyperlink{class_ogre_1_1_d3_d11_hardware_uniform_buffer_aaea2187a82b97ccab8188cfd1377a763}{Ogre\+::\+D3\+D11\+Hardware\+Uniform\+Buffer}, \hyperlink{class_ogre_1_1_d3_d11_hardware_vertex_buffer_aeeb8e6df6043a3d77ae487f7a1f6ed86}{Ogre\+::\+D3\+D11\+Hardware\+Vertex\+Buffer}, and \hyperlink{class_ogre_1_1_d3_d11_hardware_index_buffer_aa7657864dada56b4849b556ffb5da86e}{Ogre\+::\+D3\+D11\+Hardware\+Index\+Buffer}.



References Ogre\+::\+Hardware\+Buffer\+::lock(), and Ogre\+::\+Hardware\+Buffer\+::unlock().

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a0bf3147b1f99a81dd84fb7b978c4686d}\label{class_ogre_1_1_hardware_buffer_a0bf3147b1f99a81dd84fb7b978c4686d}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!copy\+Data@{copy\+Data}}
\index{copy\+Data@{copy\+Data}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{copy\+Data()}{copyData()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Buffer\+::copy\+Data (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_buffer}{Hardware\+Buffer} \&}]{src\+Buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Copy all data from another buffer into this one. 

\begin{DoxyRemark}{Remarks}
Normally these buffers should be of identical size, but if they\textquotesingle{}re not, the routine will use the smallest of the two sizes. 
\end{DoxyRemark}


References Ogre\+::\+Hardware\+Buffer\+::get\+Size\+In\+Bytes().

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a344c52f2214eaff097d5fbc390e7684b}\label{class_ogre_1_1_hardware_buffer_a344c52f2214eaff097d5fbc390e7684b}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!\+\_\+update\+From\+Shadow@{\+\_\+update\+From\+Shadow}}
\index{\+\_\+update\+From\+Shadow@{\+\_\+update\+From\+Shadow}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{\+\_\+update\+From\+Shadow()}{\_updateFromShadow()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Buffer\+::\+\_\+update\+From\+Shadow (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Updates the real buffer from the shadow buffer, if required. 



Reimplemented in \hyperlink{class_ogre_1_1_d3_d11_hardware_buffer_ad40dc0a7f9b7de45253809aa204b1b71}{Ogre\+::\+D3\+D11\+Hardware\+Buffer}, \hyperlink{class_ogre_1_1_g_l_e_s2_hardware_index_buffer_ad3219addcfdce2d004259d77030197fb}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Index\+Buffer}, \hyperlink{class_ogre_1_1_g_l_e_s2_hardware_vertex_buffer_a0c195f00d7faf0c4f2a69a9f266dd1e7}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Vertex\+Buffer}, \hyperlink{class_ogre_1_1_g_l3_plus_hardware_vertex_buffer_a917af878074a23bf62feec742ec31b4a}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Vertex\+Buffer}, \hyperlink{class_ogre_1_1_g_l3_plus_hardware_index_buffer_a50d34e04964ae41fd391a5c78c32382a}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Index\+Buffer}, \hyperlink{class_ogre_1_1_g_l_hardware_vertex_buffer_a770bdaf9b841a146c1f9254129d26a03}{Ogre\+::\+G\+L\+Hardware\+Vertex\+Buffer}, and \hyperlink{class_ogre_1_1_g_l_hardware_index_buffer_a2e41fb0146913c740432a990b75216a5}{Ogre\+::\+G\+L\+Hardware\+Index\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a9194c7e8b536f4825b15b9e6a6912ce8}\label{class_ogre_1_1_hardware_buffer_a9194c7e8b536f4825b15b9e6a6912ce8}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Size\+In\+Bytes@{get\+Size\+In\+Bytes}}
\index{get\+Size\+In\+Bytes@{get\+Size\+In\+Bytes}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Size\+In\+Bytes()}{getSizeInBytes()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Hardware\+Buffer\+::get\+Size\+In\+Bytes (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the size of this buffer in bytes. 



Referenced by Ogre\+::\+Hardware\+Buffer\+::copy\+Data().

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a9c5ee6468dcb269e422e213b82726e4f}\label{class_ogre_1_1_hardware_buffer_a9c5ee6468dcb269e422e213b82726e4f}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!get\+Usage@{get\+Usage}}
\index{get\+Usage@{get\+Usage}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{get\+Usage()}{getUsage()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Usage} Ogre\+::\+Hardware\+Buffer\+::get\+Usage (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the Usage flags with which this buffer was created. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::$\sim$\+Lod0\+Stripifier().

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a0e1881a6106c59d5aae27589ca1bca5d}\label{class_ogre_1_1_hardware_buffer_a0e1881a6106c59d5aae27589ca1bca5d}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!is\+System\+Memory@{is\+System\+Memory}}
\index{is\+System\+Memory@{is\+System\+Memory}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{is\+System\+Memory()}{isSystemMemory()}}
{\footnotesize\ttfamily bool Ogre\+::\+Hardware\+Buffer\+::is\+System\+Memory (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether this buffer is held in system memory. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a40a623d95552d9b1858e5c300a3ad68c}\label{class_ogre_1_1_hardware_buffer_a40a623d95552d9b1858e5c300a3ad68c}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!has\+Shadow\+Buffer@{has\+Shadow\+Buffer}}
\index{has\+Shadow\+Buffer@{has\+Shadow\+Buffer}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{has\+Shadow\+Buffer()}{hasShadowBuffer()}}
{\footnotesize\ttfamily bool Ogre\+::\+Hardware\+Buffer\+::has\+Shadow\+Buffer (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether this buffer has a system memory shadow for quicker reading. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::$\sim$\+Lod0\+Stripifier().

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a7c874c6b30c39aa38ae0d6abe2ba42bc}\label{class_ogre_1_1_hardware_buffer_a7c874c6b30c39aa38ae0d6abe2ba42bc}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!is\+Locked@{is\+Locked}}
\index{is\+Locked@{is\+Locked}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{is\+Locked()}{isLocked()}}
{\footnotesize\ttfamily bool Ogre\+::\+Hardware\+Buffer\+::is\+Locked (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether or not this buffer is currently locked. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_a688e1be4a913099ce5e06172771e2d45}\label{class_ogre_1_1_hardware_buffer_a688e1be4a913099ce5e06172771e2d45}} 
\index{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}!suppress\+Hardware\+Update@{suppress\+Hardware\+Update}}
\index{suppress\+Hardware\+Update@{suppress\+Hardware\+Update}!Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer@{Ogre\+::\+D3\+D11\+Hardware\+Pixel\+Buffer}}
\subsubsection{\texorpdfstring{suppress\+Hardware\+Update()}{suppressHardwareUpdate()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+::suppress\+Hardware\+Update (\begin{DoxyParamCaption}\item[{bool}]{suppress }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



\hyperlink{class_ogre_1_1_pass}{Pass} true to suppress hardware upload of shadow buffer changes. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_d3_d11_hardware_pixel_buffer_8h}{Ogre\+D3\+D11\+Hardware\+Pixel\+Buffer.\+h}\end{DoxyCompactItemize}
