\hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager}{}\section{Ogre\+:\+:D3\+D9\+Hardware\+Buffer\+Manager Class Reference}
\label{class_ogre_1_1_d3_d9_hardware_buffer_manager}\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}


Implementation of \hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager} for D3\+D9.  




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



Inheritance diagram for Ogre\+:\+:D3\+D9\+Hardware\+Buffer\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_d3_d9_hardware_buffer_manager__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}{Buffer\+License\+Type} \{ \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08faa372ccf538e8a6022bba092d2b47f4fdb}{B\+L\+T\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+R\+E\+L\+E\+A\+SE}, 
\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08faa994cf0191de83556e3c1e6cf30cd6acb}{B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a5aa390ec996bcdf57a3a6de4f512d5c9}{D3\+D9\+Hardware\+Buffer\+Manager} ()
\item 
\hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a70f811563b43b1fe55e2b5b9ac88fde2}{$\sim$\+D3\+D9\+Hardware\+Buffer\+Manager} ()
\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a876ce18832783cd168f4e55d989c3f1c}{\+\_\+force\+Release\+Buffer\+Copies} (const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&source\+Buffer)
\begin{DoxyCompactList}\small\item\em Internal method that forces the release of copies of a given buffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a8cd2588a1b57f4b417d6816f7ddb5584}{\+\_\+force\+Release\+Buffer\+Copies} (\hyperlink{class_ogre_1_1_hardware_vertex_buffer}{Hardware\+Vertex\+Buffer} $\ast$source\+Buffer)
\begin{DoxyCompactList}\small\item\em Internal method that forces the release of copies of a given buffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a01c05c63b98f45df312660e724d95320}{\+\_\+free\+Unused\+Buffer\+Copies} (void)
\begin{DoxyCompactList}\small\item\em Free all unused vertex buffer copies. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a45fe3ad0964310d9b150d45eaddf67d3}{\+\_\+notify\+Counter\+Buffer\+Destroyed} (\hyperlink{class_ogre_1_1_hardware_counter_buffer}{Hardware\+Counter\+Buffer} $\ast$buf)
\begin{DoxyCompactList}\small\item\em Notification that at hardware counter buffer has been destroyed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_aa12ae6a67af715b2be80182bd05abb46}{\+\_\+notify\+Index\+Buffer\+Destroyed} (\hyperlink{class_ogre_1_1_hardware_index_buffer}{Hardware\+Index\+Buffer} $\ast$buf)
\begin{DoxyCompactList}\small\item\em Notification that a hardware index buffer has been destroyed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ad19793152eef356380827edb755c613e}{\+\_\+notify\+Uniform\+Buffer\+Destroyed} (\hyperlink{class_ogre_1_1_hardware_uniform_buffer}{Hardware\+Uniform\+Buffer} $\ast$buf)
\begin{DoxyCompactList}\small\item\em Notification that at hardware uniform buffer has been destroyed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a29b2e243bab8522ae27ec23268ea154a}{\+\_\+notify\+Vertex\+Buffer\+Destroyed} (\hyperlink{class_ogre_1_1_hardware_vertex_buffer}{Hardware\+Vertex\+Buffer} $\ast$buf)
\begin{DoxyCompactList}\small\item\em Notification that a hardware vertex buffer has been destroyed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a5551674a13abf8d3458d2798e58d7cd9}{\+\_\+release\+Buffer\+Copies} (bool force\+Free\+Unused=false)
\begin{DoxyCompactList}\small\item\em Internal method for releasing all temporary buffers which have been allocated using B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE; is called by O\+G\+RE. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a557fa7f938bee48841e21e995eb095d6}{allocate\+Vertex\+Buffer\+Copy} (const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&source\+Buffer, \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}{Buffer\+License\+Type} license\+Type, \hyperlink{class_ogre_1_1_hardware_buffer_licensee}{Hardware\+Buffer\+Licensee} $\ast$licensee, bool copy\+Data=false)
\begin{DoxyCompactList}\small\item\em Allocates a copy of a given vertex buffer. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a148bab0ca4ae7eba547b07d880e809b1}{Hardware\+Counter\+Buffer\+Shared\+Ptr} \hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_ad78b06087a1d545bd42cc626115bcb47}{create\+Counter\+Buffer} (size\+\_\+t size\+Bytes, \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} usage=\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a29ff2e0fd2b408359e84291b27282516}{Hardware\+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}, bool use\+Shadow\+Buffer=false, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name=\char`\"{}\char`\"{})
\begin{DoxyCompactList}\small\item\em Create counter buffer. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_ae906cf8e579ba8ade19879ec05b1a456}{Hardware\+Index\+Buffer\+Shared\+Ptr} \hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a26d4ccf4b1f0b65ab1a7ff5fa78d70cd}{create\+Index\+Buffer} (\hyperlink{class_ogre_1_1_hardware_index_buffer_a25ba4923e015d46de162f7cc4c256326}{Hardware\+Index\+Buffer\+::\+Index\+Type} itype, size\+\_\+t num\+Indexes, \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} usage, bool use\+Shadow\+Buffer=false)
\begin{DoxyCompactList}\small\item\em Create a hardware vertex buffer. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a00531851f476b9a8432258652828902a}{Render\+To\+Vertex\+Buffer\+Shared\+Ptr} \hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a5f7cb836698eccdfb241afb839578af5}{create\+Render\+To\+Vertex\+Buffer} ()
\begin{DoxyCompactList}\small\item\em Create a render to vertex buffer. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a0a6c851c5f3de495932845bb09db1f20}{Hardware\+Uniform\+Buffer\+Shared\+Ptr} \hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a02a5bda5385f1a7509c7ff837aa61620}{create\+Uniform\+Buffer} (size\+\_\+t size\+Bytes, \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} usage, bool use\+Shadow\+Buffer, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name=\char`\"{}\char`\"{})
\begin{DoxyCompactList}\small\item\em Create uniform buffer. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a9dced0ec9165231a649072026bbe1adc}{create\+Vertex\+Buffer} (size\+\_\+t vertex\+Size, size\+\_\+t num\+Verts, \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} usage, bool use\+Shadow\+Buffer=false)
\begin{DoxyCompactList}\small\item\em Creates a vertex buffer. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding} $\ast$ \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_acbde393716ec1057024cdff4d3282913}{create\+Vertex\+Buffer\+Binding} (void)
\begin{DoxyCompactList}\small\item\em Creates a new \hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration} $\ast$ \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_abe3ea209174c3a40286dde425addb814}{create\+Vertex\+Declaration} (void)
\begin{DoxyCompactList}\small\item\em Creates a new vertex declaration. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a7c2868897d9a417b523f2fe9420f1e22}{destroy\+Vertex\+Buffer\+Binding} (\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding} $\ast$binding)
\begin{DoxyCompactList}\small\item\em Destroys a \hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ae3b729879133ff816e15f73e921c3b18}{destroy\+Vertex\+Declaration} (\hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration} $\ast$decl)
\begin{DoxyCompactList}\small\item\em Destroys a vertex declaration. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a1deff999bf2f7fa437609fca417810e9}{register\+Vertex\+Buffer\+Source\+And\+Copy} (const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&source\+Buffer, const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&copy)
\begin{DoxyCompactList}\small\item\em Registers a vertex buffer as a copy of another. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_acca9ea14315ef17d74f6ab972d9a1ec8}{release\+Vertex\+Buffer\+Copy} (const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&buffer\+Copy)
\begin{DoxyCompactList}\small\item\em Manually release a vertex buffer copy for others to subsequently use. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ab717df387ec6c1e119ed2ac0e2c9a54b}{touch\+Vertex\+Buffer\+Copy} (const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&buffer\+Copy)
\begin{DoxyCompactList}\small\item\em Tell engine that the vertex buffer copy intent to reuse. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager} \& \hyperlink{class_ogre_1_1_hardware_buffer_manager_a380063fef4a4563c90d45a03ac196dc7}{get\+Singleton} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager} $\ast$ \hyperlink{class_ogre_1_1_hardware_buffer_manager_ab633b90f5015dc3199f96e0514347b3b}{get\+Singleton\+Ptr} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of \hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager} for D3\+D9. 



\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}\label{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!Buffer\+License\+Type@{Buffer\+License\+Type}}
\index{Buffer\+License\+Type@{Buffer\+License\+Type}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{Buffer\+License\+Type}{BufferLicenseType}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}{Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+Buffer\+License\+Type}\hspace{0.3cm}{\ttfamily [inherited]}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{B\+L\+T\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+R\+E\+L\+E\+A\+SE@{B\+L\+T\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+R\+E\+L\+E\+A\+SE}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!B\+L\+T\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+R\+E\+L\+E\+A\+SE@{B\+L\+T\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+R\+E\+L\+E\+A\+SE}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08faa372ccf538e8a6022bba092d2b47f4fdb}\label{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08faa372ccf538e8a6022bba092d2b47f4fdb}} 
B\+L\+T\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+R\+E\+L\+E\+A\+SE&Licensee will only release buffer when it says so. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE@{B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE@{B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE}}}\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08faa994cf0191de83556e3c1e6cf30cd6acb}\label{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08faa994cf0191de83556e3c1e6cf30cd6acb}} 
B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE&Licensee can have license revoked. \\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager_a5aa390ec996bcdf57a3a6de4f512d5c9}\label{class_ogre_1_1_d3_d9_hardware_buffer_manager_a5aa390ec996bcdf57a3a6de4f512d5c9}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!D3\+D9\+Hardware\+Buffer\+Manager@{D3\+D9\+Hardware\+Buffer\+Manager}}
\index{D3\+D9\+Hardware\+Buffer\+Manager@{D3\+D9\+Hardware\+Buffer\+Manager}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{D3\+D9\+Hardware\+Buffer\+Manager()}{D3D9HardwareBufferManager()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager\+::\+D3\+D9\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager_a70f811563b43b1fe55e2b5b9ac88fde2}\label{class_ogre_1_1_d3_d9_hardware_buffer_manager_a70f811563b43b1fe55e2b5b9ac88fde2}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!````~D3\+D9\+Hardware\+Buffer\+Manager@{$\sim$\+D3\+D9\+Hardware\+Buffer\+Manager}}
\index{````~D3\+D9\+Hardware\+Buffer\+Manager@{$\sim$\+D3\+D9\+Hardware\+Buffer\+Manager}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{$\sim$\+D3\+D9\+Hardware\+Buffer\+Manager()}{~D3D9HardwareBufferManager()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager\+::$\sim$\+D3\+D9\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager_a9dced0ec9165231a649072026bbe1adc}\label{class_ogre_1_1_d3_d9_hardware_buffer_manager_a9dced0ec9165231a649072026bbe1adc}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!create\+Vertex\+Buffer@{create\+Vertex\+Buffer}}
\index{create\+Vertex\+Buffer@{create\+Vertex\+Buffer}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{create\+Vertex\+Buffer()}{createVertexBuffer()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager\+::create\+Vertex\+Buffer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{vertex\+Size,  }\item[{size\+\_\+t}]{num\+Verts,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}]{usage,  }\item[{bool}]{use\+Shadow\+Buffer = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Creates a vertex buffer. 



Implements \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a6009815139b407d20347dd3e2262e5ad}{Ogre\+::\+Hardware\+Buffer\+Manager\+Base}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager_a26d4ccf4b1f0b65ab1a7ff5fa78d70cd}\label{class_ogre_1_1_d3_d9_hardware_buffer_manager_a26d4ccf4b1f0b65ab1a7ff5fa78d70cd}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!create\+Index\+Buffer@{create\+Index\+Buffer}}
\index{create\+Index\+Buffer@{create\+Index\+Buffer}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{create\+Index\+Buffer()}{createIndexBuffer()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_ae906cf8e579ba8ade19879ec05b1a456}{Hardware\+Index\+Buffer\+Shared\+Ptr} Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager\+::create\+Index\+Buffer (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_index_buffer_a25ba4923e015d46de162f7cc4c256326}{Hardware\+Index\+Buffer\+::\+Index\+Type}}]{itype,  }\item[{size\+\_\+t}]{num\+Indexes,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}]{usage,  }\item[{bool}]{use\+Shadow\+Buffer = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create a hardware vertex buffer. 



Implements \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ae46262b1cc1e8bfe136e9bb203894c41}{Ogre\+::\+Hardware\+Buffer\+Manager\+Base}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager_a5f7cb836698eccdfb241afb839578af5}\label{class_ogre_1_1_d3_d9_hardware_buffer_manager_a5f7cb836698eccdfb241afb839578af5}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!create\+Render\+To\+Vertex\+Buffer@{create\+Render\+To\+Vertex\+Buffer}}
\index{create\+Render\+To\+Vertex\+Buffer@{create\+Render\+To\+Vertex\+Buffer}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{create\+Render\+To\+Vertex\+Buffer()}{createRenderToVertexBuffer()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a00531851f476b9a8432258652828902a}{Render\+To\+Vertex\+Buffer\+Shared\+Ptr} Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager\+::create\+Render\+To\+Vertex\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create a render to vertex buffer. 



Implements \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a830cd072c0e063e729b67201f04492a1}{Ogre\+::\+Hardware\+Buffer\+Manager\+Base}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager_a02a5bda5385f1a7509c7ff837aa61620}\label{class_ogre_1_1_d3_d9_hardware_buffer_manager_a02a5bda5385f1a7509c7ff837aa61620}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!create\+Uniform\+Buffer@{create\+Uniform\+Buffer}}
\index{create\+Uniform\+Buffer@{create\+Uniform\+Buffer}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{create\+Uniform\+Buffer()}{createUniformBuffer()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a0a6c851c5f3de495932845bb09db1f20}{Hardware\+Uniform\+Buffer\+Shared\+Ptr} Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager\+::create\+Uniform\+Buffer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{size\+Bytes,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}]{usage,  }\item[{bool}]{use\+Shadow\+Buffer,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create uniform buffer. 

This type of buffer allows the upload of shader constants once, and sharing between shader stages or even shaders from another materials. The update shall be triggered by \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}, if is dirty 

Implements \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_adeb459425f647d9b9077bbea77a43f27}{Ogre\+::\+Hardware\+Buffer\+Manager\+Base}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_hardware_buffer_manager_ad78b06087a1d545bd42cc626115bcb47}\label{class_ogre_1_1_d3_d9_hardware_buffer_manager_ad78b06087a1d545bd42cc626115bcb47}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!create\+Counter\+Buffer@{create\+Counter\+Buffer}}
\index{create\+Counter\+Buffer@{create\+Counter\+Buffer}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{create\+Counter\+Buffer()}{createCounterBuffer()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a148bab0ca4ae7eba547b07d880e809b1}{Hardware\+Counter\+Buffer\+Shared\+Ptr} Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager\+::create\+Counter\+Buffer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{size\+Bytes,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}]{usage = {\ttfamily \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a29ff2e0fd2b408359e84291b27282516}{Hardware\+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}},  }\item[{bool}]{use\+Shadow\+Buffer = {\ttfamily false},  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create counter buffer. 

The update shall be triggered by \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}, if is dirty 

Implements \hyperlink{class_ogre_1_1_hardware_buffer_manager_base_aec7eea2d5d1853ea29b412f43986140b}{Ogre\+::\+Hardware\+Buffer\+Manager\+Base}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_a380063fef4a4563c90d45a03ac196dc7}\label{class_ogre_1_1_hardware_buffer_manager_a380063fef4a4563c90d45a03ac196dc7}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!get\+Singleton@{get\+Singleton}}
\index{get\+Singleton@{get\+Singleton}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{get\+Singleton()}{getSingleton()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager}\& Ogre\+::\+Hardware\+Buffer\+Manager\+::get\+Singleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



Get the singleton instance. 



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

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_ab633b90f5015dc3199f96e0514347b3b}\label{class_ogre_1_1_hardware_buffer_manager_ab633b90f5015dc3199f96e0514347b3b}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!get\+Singleton\+Ptr@{get\+Singleton\+Ptr}}
\index{get\+Singleton\+Ptr@{get\+Singleton\+Ptr}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{get\+Singleton\+Ptr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager}$\ast$ Ogre\+::\+Hardware\+Buffer\+Manager\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_abe3ea209174c3a40286dde425addb814}\label{class_ogre_1_1_hardware_buffer_manager_base_abe3ea209174c3a40286dde425addb814}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!create\+Vertex\+Declaration@{create\+Vertex\+Declaration}}
\index{create\+Vertex\+Declaration@{create\+Vertex\+Declaration}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{create\+Vertex\+Declaration()}{createVertexDeclaration()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration}$\ast$ Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::create\+Vertex\+Declaration (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Creates a new vertex declaration. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_ae3b729879133ff816e15f73e921c3b18}\label{class_ogre_1_1_hardware_buffer_manager_base_ae3b729879133ff816e15f73e921c3b18}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!destroy\+Vertex\+Declaration@{destroy\+Vertex\+Declaration}}
\index{destroy\+Vertex\+Declaration@{destroy\+Vertex\+Declaration}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{destroy\+Vertex\+Declaration()}{destroyVertexDeclaration()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::destroy\+Vertex\+Declaration (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration} $\ast$}]{decl }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Destroys a vertex declaration. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_acbde393716ec1057024cdff4d3282913}\label{class_ogre_1_1_hardware_buffer_manager_base_acbde393716ec1057024cdff4d3282913}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!create\+Vertex\+Buffer\+Binding@{create\+Vertex\+Buffer\+Binding}}
\index{create\+Vertex\+Buffer\+Binding@{create\+Vertex\+Buffer\+Binding}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{create\+Vertex\+Buffer\+Binding()}{createVertexBufferBinding()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}$\ast$ Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::create\+Vertex\+Buffer\+Binding (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Creates a new \hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a7c2868897d9a417b523f2fe9420f1e22}\label{class_ogre_1_1_hardware_buffer_manager_base_a7c2868897d9a417b523f2fe9420f1e22}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!destroy\+Vertex\+Buffer\+Binding@{destroy\+Vertex\+Buffer\+Binding}}
\index{destroy\+Vertex\+Buffer\+Binding@{destroy\+Vertex\+Buffer\+Binding}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{destroy\+Vertex\+Buffer\+Binding()}{destroyVertexBufferBinding()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::destroy\+Vertex\+Buffer\+Binding (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding} $\ast$}]{binding }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Destroys a \hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a1deff999bf2f7fa437609fca417810e9}\label{class_ogre_1_1_hardware_buffer_manager_base_a1deff999bf2f7fa437609fca417810e9}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!register\+Vertex\+Buffer\+Source\+And\+Copy@{register\+Vertex\+Buffer\+Source\+And\+Copy}}
\index{register\+Vertex\+Buffer\+Source\+And\+Copy@{register\+Vertex\+Buffer\+Source\+And\+Copy}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{register\+Vertex\+Buffer\+Source\+And\+Copy()}{registerVertexBufferSourceAndCopy()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::register\+Vertex\+Buffer\+Source\+And\+Copy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{source\+Buffer,  }\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{copy }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Registers a vertex buffer as a copy of another. 

\begin{DoxyRemark}{Remarks}
This is useful for registering an existing buffer as a temporary buffer which can be allocated just like a copy. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a557fa7f938bee48841e21e995eb095d6}\label{class_ogre_1_1_hardware_buffer_manager_base_a557fa7f938bee48841e21e995eb095d6}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!allocate\+Vertex\+Buffer\+Copy@{allocate\+Vertex\+Buffer\+Copy}}
\index{allocate\+Vertex\+Buffer\+Copy@{allocate\+Vertex\+Buffer\+Copy}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{allocate\+Vertex\+Buffer\+Copy()}{allocateVertexBufferCopy()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::allocate\+Vertex\+Buffer\+Copy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{source\+Buffer,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}{Buffer\+License\+Type}}]{license\+Type,  }\item[{\hyperlink{class_ogre_1_1_hardware_buffer_licensee}{Hardware\+Buffer\+Licensee} $\ast$}]{licensee,  }\item[{bool}]{copy\+Data = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Allocates a copy of a given vertex buffer. 

\begin{DoxyRemark}{Remarks}
This method allocates a temporary copy of an existing vertex buffer. This buffer is subsequently stored and can be made available for other purposes later without incurring the cost of construction / destruction. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em source\+Buffer} & The source buffer to use as a copy. \\
\hline
{\em license\+Type} & The type of license required on this buffer -\/ automatic release causes this class to release licenses every frame so that they can be reallocated anew. \\
\hline
{\em licensee} & Pointer back to the class requesting the copy, which must implement Hardware\+Buffer\+License in order to be notified when the license expires. \\
\hline
{\em copy\+Data} & If {\ttfamily true}, the current data is copied as well as the structure of the buffer/ \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_acca9ea14315ef17d74f6ab972d9a1ec8}\label{class_ogre_1_1_hardware_buffer_manager_base_acca9ea14315ef17d74f6ab972d9a1ec8}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!release\+Vertex\+Buffer\+Copy@{release\+Vertex\+Buffer\+Copy}}
\index{release\+Vertex\+Buffer\+Copy@{release\+Vertex\+Buffer\+Copy}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{release\+Vertex\+Buffer\+Copy()}{releaseVertexBufferCopy()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::release\+Vertex\+Buffer\+Copy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{buffer\+Copy }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Manually release a vertex buffer copy for others to subsequently use. 

\begin{DoxyRemark}{Remarks}
Only required if the original call to allocate\+Vertex\+Buffer\+Copy included a license\+Type of B\+L\+T\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+R\+E\+L\+E\+A\+SE. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em buffer\+Copy} & The buffer copy. The caller is expected to delete or at least no longer use this reference, since another user may well begin to modify the contents of the buffer. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_ab717df387ec6c1e119ed2ac0e2c9a54b}\label{class_ogre_1_1_hardware_buffer_manager_base_ab717df387ec6c1e119ed2ac0e2c9a54b}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!touch\+Vertex\+Buffer\+Copy@{touch\+Vertex\+Buffer\+Copy}}
\index{touch\+Vertex\+Buffer\+Copy@{touch\+Vertex\+Buffer\+Copy}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{touch\+Vertex\+Buffer\+Copy()}{touchVertexBufferCopy()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::touch\+Vertex\+Buffer\+Copy (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{buffer\+Copy }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Tell engine that the vertex buffer copy intent to reuse. 

\begin{DoxyRemark}{Remarks}
\hyperlink{namespace_ogre}{Ogre} internal keep an expired delay counter of B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE buffers, when the counter count down to zero, it\textquotesingle{}ll release for other purposes later. But you can use this function to reset the counter to the internal configured value, keep the buffer not get released for some frames. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em buffer\+Copy} & The buffer copy. The caller is expected to keep this buffer copy for use. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a01c05c63b98f45df312660e724d95320}\label{class_ogre_1_1_hardware_buffer_manager_base_a01c05c63b98f45df312660e724d95320}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+free\+Unused\+Buffer\+Copies@{\+\_\+free\+Unused\+Buffer\+Copies}}
\index{\+\_\+free\+Unused\+Buffer\+Copies@{\+\_\+free\+Unused\+Buffer\+Copies}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+free\+Unused\+Buffer\+Copies()}{\_freeUnusedBufferCopies()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+free\+Unused\+Buffer\+Copies (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Free all unused vertex buffer copies. 

\begin{DoxyRemark}{Remarks}
This method free all temporary vertex buffers that not in used. In normally, temporary vertex buffers are subsequently stored and can be made available for other purposes later without incurring the cost of construction / destruction. But in some cases you want to free them to save hardware memory (e.\+g. application was runs in a long time, you might free temporary buffers periodically to avoid memory overload). 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a5551674a13abf8d3458d2798e58d7cd9}\label{class_ogre_1_1_hardware_buffer_manager_base_a5551674a13abf8d3458d2798e58d7cd9}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+release\+Buffer\+Copies@{\+\_\+release\+Buffer\+Copies}}
\index{\+\_\+release\+Buffer\+Copies@{\+\_\+release\+Buffer\+Copies}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+release\+Buffer\+Copies()}{\_releaseBufferCopies()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+release\+Buffer\+Copies (\begin{DoxyParamCaption}\item[{bool}]{force\+Free\+Unused = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Internal method for releasing all temporary buffers which have been allocated using B\+L\+T\+\_\+\+A\+U\+T\+O\+M\+A\+T\+I\+C\+\_\+\+R\+E\+L\+E\+A\+SE; is called by O\+G\+RE. 


\begin{DoxyParams}{Parameters}
{\em force\+Free\+Unused} & If {\ttfamily true}, free all unused temporary buffers. If {\ttfamily false}, auto detect and free all unused temporary buffers based on temporary buffers utilization. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a876ce18832783cd168f4e55d989c3f1c}\label{class_ogre_1_1_hardware_buffer_manager_base_a876ce18832783cd168f4e55d989c3f1c}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+force\+Release\+Buffer\+Copies@{\+\_\+force\+Release\+Buffer\+Copies}}
\index{\+\_\+force\+Release\+Buffer\+Copies@{\+\_\+force\+Release\+Buffer\+Copies}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+force\+Release\+Buffer\+Copies()}{\_forceReleaseBufferCopies()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+force\+Release\+Buffer\+Copies (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{source\+Buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Internal method that forces the release of copies of a given buffer. 

\begin{DoxyRemark}{Remarks}
This usually means that the buffer which the copies are based on has been changed in some fundamental way, and the owner of the original wishes to make that known so that new copies will reflect the changes. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em source\+Buffer} & The source buffer as a shared pointer. \hyperlink{class_ogre_1_1_any}{Any} buffer copies created from the source buffer are deleted. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a8cd2588a1b57f4b417d6816f7ddb5584}\label{class_ogre_1_1_hardware_buffer_manager_base_a8cd2588a1b57f4b417d6816f7ddb5584}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+force\+Release\+Buffer\+Copies@{\+\_\+force\+Release\+Buffer\+Copies}}
\index{\+\_\+force\+Release\+Buffer\+Copies@{\+\_\+force\+Release\+Buffer\+Copies}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+force\+Release\+Buffer\+Copies()}{\_forceReleaseBufferCopies()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+force\+Release\+Buffer\+Copies (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_vertex_buffer}{Hardware\+Vertex\+Buffer} $\ast$}]{source\+Buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Internal method that forces the release of copies of a given buffer. 

\begin{DoxyRemark}{Remarks}
This usually means that the buffer which the copies are based on has been changed in some fundamental way, and the owner of the original wishes to make that known so that new copies will reflect the changes. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em source\+Buffer} & The source buffer as a pointer. \hyperlink{class_ogre_1_1_any}{Any} buffer copies created from the source buffer are deleted. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a29b2e243bab8522ae27ec23268ea154a}\label{class_ogre_1_1_hardware_buffer_manager_base_a29b2e243bab8522ae27ec23268ea154a}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+notify\+Vertex\+Buffer\+Destroyed@{\+\_\+notify\+Vertex\+Buffer\+Destroyed}}
\index{\+\_\+notify\+Vertex\+Buffer\+Destroyed@{\+\_\+notify\+Vertex\+Buffer\+Destroyed}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Vertex\+Buffer\+Destroyed()}{\_notifyVertexBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Vertex\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_vertex_buffer}{Hardware\+Vertex\+Buffer} $\ast$}]{buf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Notification that a hardware vertex buffer has been destroyed. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_aa12ae6a67af715b2be80182bd05abb46}\label{class_ogre_1_1_hardware_buffer_manager_base_aa12ae6a67af715b2be80182bd05abb46}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+notify\+Index\+Buffer\+Destroyed@{\+\_\+notify\+Index\+Buffer\+Destroyed}}
\index{\+\_\+notify\+Index\+Buffer\+Destroyed@{\+\_\+notify\+Index\+Buffer\+Destroyed}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Index\+Buffer\+Destroyed()}{\_notifyIndexBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Index\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_index_buffer}{Hardware\+Index\+Buffer} $\ast$}]{buf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Notification that a hardware index buffer has been destroyed. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_ad19793152eef356380827edb755c613e}\label{class_ogre_1_1_hardware_buffer_manager_base_ad19793152eef356380827edb755c613e}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+notify\+Uniform\+Buffer\+Destroyed@{\+\_\+notify\+Uniform\+Buffer\+Destroyed}}
\index{\+\_\+notify\+Uniform\+Buffer\+Destroyed@{\+\_\+notify\+Uniform\+Buffer\+Destroyed}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Uniform\+Buffer\+Destroyed()}{\_notifyUniformBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Uniform\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_uniform_buffer}{Hardware\+Uniform\+Buffer} $\ast$}]{buf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Notification that at hardware uniform buffer has been destroyed. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a45fe3ad0964310d9b150d45eaddf67d3}\label{class_ogre_1_1_hardware_buffer_manager_base_a45fe3ad0964310d9b150d45eaddf67d3}} 
\index{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}!\+\_\+notify\+Counter\+Buffer\+Destroyed@{\+\_\+notify\+Counter\+Buffer\+Destroyed}}
\index{\+\_\+notify\+Counter\+Buffer\+Destroyed@{\+\_\+notify\+Counter\+Buffer\+Destroyed}!Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager@{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Counter\+Buffer\+Destroyed()}{\_notifyCounterBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Counter\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_counter_buffer}{Hardware\+Counter\+Buffer} $\ast$}]{buf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Notification that at hardware counter buffer has been destroyed. 



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