\hypertarget{class_ogre_1_1_hardware_buffer_manager}{}\doxysection{Ogre\+::Hardware\+Buffer\+Manager Class Reference}
\label{class_ogre_1_1_hardware_buffer_manager}\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}


\mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} wrapper for hardware buffer manager.  




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



Inheritance diagram for Ogre\+::Hardware\+Buffer\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_hardware_buffer_manager__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}{Buffer\+License\+Type}} \{ \mbox{\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}}, 
\mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_a42e3b9e477b2b408d8043d2885741064}{Hardware\+Buffer\+Manager}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_aabd161897c942b29fd21373427dd8485}{$\sim$\+Hardware\+Buffer\+Manager}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a876ce18832783cd168f4e55d989c3f1c}{\+\_\+force\+Release\+Buffer\+Copies}} (const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a8cd2588a1b57f4b417d6816f7ddb5584}{\+\_\+force\+Release\+Buffer\+Copies}} (\mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a45fe3ad0964310d9b150d45eaddf67d3}{\+\_\+notify\+Counter\+Buffer\+Destroyed}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_aa12ae6a67af715b2be80182bd05abb46}{\+\_\+notify\+Index\+Buffer\+Destroyed}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ad19793152eef356380827edb755c613e}{\+\_\+notify\+Uniform\+Buffer\+Destroyed}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a29b2e243bab8522ae27ec23268ea154a}{\+\_\+notify\+Vertex\+Buffer\+Destroyed}} (\mbox{\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 \mbox{\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 
\mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a557fa7f938bee48841e21e995eb095d6}{allocate\+Vertex\+Buffer\+Copy}} (const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&source\+Buffer, \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}{Buffer\+License\+Type}} license\+Type, \mbox{\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 
virtual \mbox{\hyperlink{namespace_ogre_a148bab0ca4ae7eba547b07d880e809b1}{Hardware\+Counter\+Buffer\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_aec7eea2d5d1853ea29b412f43986140b}{create\+Counter\+Buffer}} (size\+\_\+t size\+Bytes, \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} usage=\mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name=\char`\"{}\char`\"{})=0
\begin{DoxyCompactList}\small\item\em Create counter buffer. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_ae906cf8e579ba8ade19879ec05b1a456}{Hardware\+Index\+Buffer\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ae46262b1cc1e8bfe136e9bb203894c41}{create\+Index\+Buffer}} (\mbox{\hyperlink{class_ogre_1_1_hardware_index_buffer_a25ba4923e015d46de162f7cc4c256326}{Hardware\+Index\+Buffer\+::\+Index\+Type}} itype, size\+\_\+t num\+Indexes, \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} usage, bool use\+Shadow\+Buffer=false)=0
\begin{DoxyCompactList}\small\item\em Create a hardware index buffer. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_a00531851f476b9a8432258652828902a}{Render\+To\+Vertex\+Buffer\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a830cd072c0e063e729b67201f04492a1}{create\+Render\+To\+Vertex\+Buffer}} ()=0
\begin{DoxyCompactList}\small\item\em Create a render to vertex buffer. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_a0a6c851c5f3de495932845bb09db1f20}{Hardware\+Uniform\+Buffer\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_adeb459425f647d9b9077bbea77a43f27}{create\+Uniform\+Buffer}} (size\+\_\+t size\+Bytes, \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} usage=\mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name=\char`\"{}\char`\"{})=0
\begin{DoxyCompactList}\small\item\em Create uniform buffer. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a6009815139b407d20347dd3e2262e5ad}{create\+Vertex\+Buffer}} (size\+\_\+t vertex\+Size, size\+\_\+t num\+Verts, \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} usage, bool use\+Shadow\+Buffer=false)=0
\begin{DoxyCompactList}\small\item\em Create a hardware vertex buffer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_acbde393716ec1057024cdff4d3282913}{create\+Vertex\+Buffer\+Binding}} (void)
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration}} $\ast$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a7c2868897d9a417b523f2fe9420f1e22}{destroy\+Vertex\+Buffer\+Binding}} (\mbox{\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}} $\ast$binding)
\begin{DoxyCompactList}\small\item\em Destroys a \mbox{\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ae3b729879133ff816e15f73e921c3b18}{destroy\+Vertex\+Declaration}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a1deff999bf2f7fa437609fca417810e9}{register\+Vertex\+Buffer\+Source\+And\+Copy}} (const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&source\+Buffer, const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_acca9ea14315ef17d74f6ab972d9a1ec8}{release\+Vertex\+Buffer\+Copy}} (const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_ab717df387ec6c1e119ed2ac0e2c9a54b}{touch\+Vertex\+Buffer\+Copy}} (const \mbox{\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}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager}} \& \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager}{Hardware\+Buffer\+Manager}} $\ast$ \mbox{\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}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} wrapper for hardware buffer manager. 

\doxysubsection{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::HardwareBufferManager@{Ogre::HardwareBufferManager}!BufferLicenseType@{BufferLicenseType}}
\index{BufferLicenseType@{BufferLicenseType}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{BufferLicenseType}{BufferLicenseType}}
{\footnotesize\ttfamily enum \mbox{\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{BLT\_MANUAL\_RELEASE@{BLT\_MANUAL\_RELEASE}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!BLT\_MANUAL\_RELEASE@{BLT\_MANUAL\_RELEASE}}}\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{BLT\_AUTOMATIC\_RELEASE@{BLT\_AUTOMATIC\_RELEASE}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!BLT\_AUTOMATIC\_RELEASE@{BLT\_AUTOMATIC\_RELEASE}}}\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}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_a42e3b9e477b2b408d8043d2885741064}\label{class_ogre_1_1_hardware_buffer_manager_a42e3b9e477b2b408d8043d2885741064}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!HardwareBufferManager@{HardwareBufferManager}}
\index{HardwareBufferManager@{HardwareBufferManager}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{HardwareBufferManager()}{HardwareBufferManager()}}
{\footnotesize\ttfamily Ogre\+::\+Hardware\+Buffer\+Manager\+::\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_aabd161897c942b29fd21373427dd8485}\label{class_ogre_1_1_hardware_buffer_manager_aabd161897c942b29fd21373427dd8485}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!````~HardwareBufferManager@{$\sim$HardwareBufferManager}}
\index{````~HardwareBufferManager@{$\sim$HardwareBufferManager}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{$\sim$HardwareBufferManager()}{~HardwareBufferManager()}}
{\footnotesize\ttfamily Ogre\+::\+Hardware\+Buffer\+Manager\+::$\sim$\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_a380063fef4a4563c90d45a03ac196dc7}\label{class_ogre_1_1_hardware_buffer_manager_a380063fef4a4563c90d45a03ac196dc7}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\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]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_ab633b90f5015dc3199f96e0514347b3b}\label{class_ogre_1_1_hardware_buffer_manager_ab633b90f5015dc3199f96e0514347b3b}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\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]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a6009815139b407d20347dd3e2262e5ad}\label{class_ogre_1_1_hardware_buffer_manager_base_a6009815139b407d20347dd3e2262e5ad}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!createVertexBuffer@{createVertexBuffer}}
\index{createVertexBuffer@{createVertexBuffer}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{createVertexBuffer()}{createVertexBuffer()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::create\+Vertex\+Buffer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{vertex\+Size,  }\item[{size\+\_\+t}]{num\+Verts,  }\item[{\mbox{\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 [pure virtual]}, {\ttfamily [inherited]}}



Create a hardware vertex buffer. 

\begin{DoxyRemark}{Remarks}
This method creates a new vertex buffer; this will act as a source of geometry data for rendering objects. Note that because the meaning of the contents of the vertex buffer depends on the usage, this method does not specify a vertex format; the user of this buffer can actually insert whatever data they wish, in any format. However, in order to use this with a \mbox{\hyperlink{class_ogre_1_1_render_operation}{Render\+Operation}}, the data in this vertex buffer will have to be associated with a semantic element of the rendering pipeline, e.\+g. a position, or texture coordinates. This is done using the \mbox{\hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration}} class, which itself contains \mbox{\hyperlink{class_ogre_1_1_vertex_element}{Vertex\+Element}} structures referring to the source data. 

Note that because vertex buffers can be shared, they are reference counted so you do not need to worry about destroying themm this will be done automatically. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em vertex\+Size} & The size in bytes of each vertex in this buffer; you must calculate this based on the kind of data you expect to populate this buffer with. \\
\hline
{\em num\+Verts} & The number of vertices in this buffer. \\
\hline
{\em usage} & One or more members of the \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} enumeration; you are strongly advised to use H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY wherever possible, if you need to update regularly, consider H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY and use\+Shadow\+Buffer=true. \\
\hline
{\em use\+Shadow\+Buffer} & If set to {\ttfamily true}, this buffer will be \textquotesingle{}shadowed\textquotesingle{} by one stored in system memory rather than G\+PU or A\+GP memory. You should set this flag if you intend to read data back from the vertex buffer, because reading data from a buffer in the G\+PU or A\+GP memory is very expensive, and is in fact impossible if you specify H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY for the main buffer. If you use this option, all reads and writes will be done to the shadow buffer, and the shadow buffer will be synchronised with the real buffer at an appropriate time. \\
\hline
\end{DoxyParams}


Implemented in \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_afc4b33f07c23045e13db48baae0e6dc4}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_base_a8fdf01dfbeaff6554d9143678ae1643c}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager\+Base}}, \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_hardware_buffer_manager_a419a77d1d9a0a1a0c389d21a5172c007}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_hardware_buffer_manager_aaf649d29751cf711e4e2949ebf040fc7}{Ogre\+::\+G\+L\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_hardware_buffer_manager_a833f70680fc9cfd7b06ba27768e4f9a1}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_d3_d11_hardware_buffer_manager_a3f4c7f49c287f4b9be96fe55393d7f5c}{Ogre\+::\+D3\+D11\+Hardware\+Buffer\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a9dced0ec9165231a649072026bbe1adc}{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_ae46262b1cc1e8bfe136e9bb203894c41}\label{class_ogre_1_1_hardware_buffer_manager_base_ae46262b1cc1e8bfe136e9bb203894c41}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!createIndexBuffer@{createIndexBuffer}}
\index{createIndexBuffer@{createIndexBuffer}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{createIndexBuffer()}{createIndexBuffer()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_ae906cf8e579ba8ade19879ec05b1a456}{Hardware\+Index\+Buffer\+Shared\+Ptr}} Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::create\+Index\+Buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_hardware_index_buffer_a25ba4923e015d46de162f7cc4c256326}{Hardware\+Index\+Buffer\+::\+Index\+Type}}}]{itype,  }\item[{size\+\_\+t}]{num\+Indexes,  }\item[{\mbox{\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 [pure virtual]}, {\ttfamily [inherited]}}



Create a hardware index buffer. 

\begin{DoxyRemark}{Remarks}
Note that because buffers can be shared, they are reference counted so you do not need to worry about destroying them this will be done automatically. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em itype} & The type in index, either 16-\/ or 32-\/bit, depending on how many vertices you need to be able to address \\
\hline
{\em num\+Indexes} & The number of indexes in the buffer \\
\hline
{\em usage} & One or more members of the \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} enumeration. \\
\hline
{\em use\+Shadow\+Buffer} & If set to {\ttfamily true}, this buffer will be \textquotesingle{}shadowed\textquotesingle{} by one stored in system memory rather than G\+PU or A\+GP memory. You should set this flag if you intend to read data back from the index buffer, because reading data from a buffer in the G\+PU or A\+GP memory is very expensive, and is in fact impossible if you specify H\+B\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY for the main buffer. If you use this option, all reads and writes will be done to the shadow buffer, and the shadow buffer will be synchronised with the real buffer at an appropriate time. \\
\hline
\end{DoxyParams}


Implemented in \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_a1058293f89bf34bcfacff9b122944ccf}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_base_ab8fff4e2c119799e1ba82310f8b83a33}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager\+Base}}, \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_hardware_buffer_manager_a8b3ff1690fc0a6c5776a4b3899491fe7}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_d3_d11_hardware_buffer_manager_aa33e0ccdd9574751fc2789331a6731dd}{Ogre\+::\+D3\+D11\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_hardware_buffer_manager_a0e74f9daa105e9a7404c8763b7673d86}{Ogre\+::\+G\+L\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_hardware_buffer_manager_a1a2baf608e7070a7f32410794edda932}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Buffer\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a26d4ccf4b1f0b65ab1a7ff5fa78d70cd}{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_a830cd072c0e063e729b67201f04492a1}\label{class_ogre_1_1_hardware_buffer_manager_base_a830cd072c0e063e729b67201f04492a1}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!createRenderToVertexBuffer@{createRenderToVertexBuffer}}
\index{createRenderToVertexBuffer@{createRenderToVertexBuffer}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{createRenderToVertexBuffer()}{createRenderToVertexBuffer()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_a00531851f476b9a8432258652828902a}{Render\+To\+Vertex\+Buffer\+Shared\+Ptr}} Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::create\+Render\+To\+Vertex\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}, {\ttfamily [inherited]}}



Create a render to vertex buffer. 

\begin{DoxyRemark}{Remarks}
The parameters (such as vertex size etc) are determined later and are allocated when needed. 
\end{DoxyRemark}


Implemented in \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_a1485b66a2e3a8679a0681d527ff2349a}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_base_a16b62aaec109b459ac7403ce1852bd51}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager\+Base}}, \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_hardware_buffer_manager_ac710b201a316ddef6fd8a5d7e779df0e}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_hardware_buffer_manager_ab1bffce6ba86bad62ceb6babaf2dbe64}{Ogre\+::\+G\+L\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_d3_d11_hardware_buffer_manager_ad1a400658b8368e5059d8733c1da1ab7}{Ogre\+::\+D3\+D11\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_hardware_buffer_manager_a616e928b1538a5398f8a07168b21cbd7}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Buffer\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a5f7cb836698eccdfb241afb839578af5}{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_adeb459425f647d9b9077bbea77a43f27}\label{class_ogre_1_1_hardware_buffer_manager_base_adeb459425f647d9b9077bbea77a43f27}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!createUniformBuffer@{createUniformBuffer}}
\index{createUniformBuffer@{createUniformBuffer}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{createUniformBuffer()}{createUniformBuffer()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_a0a6c851c5f3de495932845bb09db1f20}{Hardware\+Uniform\+Buffer\+Shared\+Ptr}} Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::create\+Uniform\+Buffer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{size\+Bytes,  }\item[{\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}}]{usage = {\ttfamily \mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}, {\ttfamily [inherited]}}



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 \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}, if is dirty 

Implemented in \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_base_a15501e8d15eb24efed1f0971c84251ae}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager\+Base}}, \mbox{\hyperlink{class_ogre_1_1_d3_d11_hardware_buffer_manager_a6c795cc5bac199ef9ee92854ae060d2e}{Ogre\+::\+D3\+D11\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_aa1b7898f96fbfaa36c7244e0105e0890}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_hardware_buffer_manager_a94504eeeb39a7c91a4c843645345b134}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_hardware_buffer_manager_a1fb179e767b967983e61306344a68731}{Ogre\+::\+G\+L\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_hardware_buffer_manager_acc84eb318f7fa7e0a52b129efa34e647}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Buffer\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_a02a5bda5385f1a7509c7ff837aa61620}{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_aec7eea2d5d1853ea29b412f43986140b}\label{class_ogre_1_1_hardware_buffer_manager_base_aec7eea2d5d1853ea29b412f43986140b}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!createCounterBuffer@{createCounterBuffer}}
\index{createCounterBuffer@{createCounterBuffer}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{createCounterBuffer()}{createCounterBuffer()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_a148bab0ca4ae7eba547b07d880e809b1}{Hardware\+Counter\+Buffer\+Shared\+Ptr}} Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::create\+Counter\+Buffer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{size\+Bytes,  }\item[{\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}}]{usage = {\ttfamily \mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}, {\ttfamily [inherited]}}



Create counter buffer. 

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

Implemented in \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_base_a5e38c5dcbc5c10e8779ef017a5509b6f}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager\+Base}}, \mbox{\hyperlink{class_ogre_1_1_d3_d11_hardware_buffer_manager_ab6f0dfb4e535a3754d413187e8a87aea}{Ogre\+::\+D3\+D11\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_hardware_buffer_manager_a0ffa3f7721cd5c795e70d83ea0b22bbf}{Ogre\+::\+G\+L\+E\+S2\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_hardware_buffer_manager_ac9a81781d36c56b79c498224521c99ec}{Ogre\+::\+G\+L\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_buffer_manager_ad78b06087a1d545bd42cc626115bcb47}{Ogre\+::\+D3\+D9\+Hardware\+Buffer\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_default_hardware_buffer_manager_a0cce075405b6e83335acc40c4d13097b}{Ogre\+::\+Default\+Hardware\+Buffer\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_hardware_buffer_manager_a1c77b662e9ce7d3c1c1b830c6ae1b76a}{Ogre\+::\+G\+L3\+Plus\+Hardware\+Buffer\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_hardware_buffer_manager_base_abe3ea209174c3a40286dde425addb814}\label{class_ogre_1_1_hardware_buffer_manager_base_abe3ea209174c3a40286dde425addb814}} 
\index{Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}!createVertexDeclaration@{createVertexDeclaration}}
\index{createVertexDeclaration@{createVertexDeclaration}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{createVertexDeclaration()}{createVertexDeclaration()}}
{\footnotesize\ttfamily \mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!destroyVertexDeclaration@{destroyVertexDeclaration}}
\index{destroyVertexDeclaration@{destroyVertexDeclaration}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{destroyVertexDeclaration()}{destroyVertexDeclaration()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::destroy\+Vertex\+Declaration (\begin{DoxyParamCaption}\item[{\mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!createVertexBufferBinding@{createVertexBufferBinding}}
\index{createVertexBufferBinding@{createVertexBufferBinding}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{createVertexBufferBinding()}{createVertexBufferBinding()}}
{\footnotesize\ttfamily \mbox{\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 \mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!destroyVertexBufferBinding@{destroyVertexBufferBinding}}
\index{destroyVertexBufferBinding@{destroyVertexBufferBinding}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{destroyVertexBufferBinding()}{destroyVertexBufferBinding()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::destroy\+Vertex\+Buffer\+Binding (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_vertex_buffer_binding}{Vertex\+Buffer\+Binding}} $\ast$}]{binding }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Destroys a \mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!registerVertexBufferSourceAndCopy@{registerVertexBufferSourceAndCopy}}
\index{registerVertexBufferSourceAndCopy@{registerVertexBufferSourceAndCopy}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{registerVertexBufferSourceAndCopy()}{registerVertexBufferSourceAndCopy()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::register\+Vertex\+Buffer\+Source\+And\+Copy (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&}]{source\+Buffer,  }\item[{const \mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!allocateVertexBufferCopy@{allocateVertexBufferCopy}}
\index{allocateVertexBufferCopy@{allocateVertexBufferCopy}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{allocateVertexBufferCopy()}{allocateVertexBufferCopy()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::allocate\+Vertex\+Buffer\+Copy (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&}]{source\+Buffer,  }\item[{\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base_a88f21df1e7ee330033812ddeba4a08fa}{Buffer\+License\+Type}}}]{license\+Type,  }\item[{\mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!releaseVertexBufferCopy@{releaseVertexBufferCopy}}
\index{releaseVertexBufferCopy@{releaseVertexBufferCopy}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{releaseVertexBufferCopy()}{releaseVertexBufferCopy()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::release\+Vertex\+Buffer\+Copy (\begin{DoxyParamCaption}\item[{const \mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!touchVertexBufferCopy@{touchVertexBufferCopy}}
\index{touchVertexBufferCopy@{touchVertexBufferCopy}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{touchVertexBufferCopy()}{touchVertexBufferCopy()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::touch\+Vertex\+Buffer\+Copy (\begin{DoxyParamCaption}\item[{const \mbox{\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}
\mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_freeUnusedBufferCopies@{\_freeUnusedBufferCopies}}
\index{\_freeUnusedBufferCopies@{\_freeUnusedBufferCopies}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_freeUnusedBufferCopies()}{\_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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_releaseBufferCopies@{\_releaseBufferCopies}}
\index{\_releaseBufferCopies@{\_releaseBufferCopies}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_releaseBufferCopies()}{\_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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_forceReleaseBufferCopies@{\_forceReleaseBufferCopies}}
\index{\_forceReleaseBufferCopies@{\_forceReleaseBufferCopies}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_forceReleaseBufferCopies()}{\_forceReleaseBufferCopies()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+force\+Release\+Buffer\+Copies (\begin{DoxyParamCaption}\item[{const \mbox{\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. \mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_forceReleaseBufferCopies@{\_forceReleaseBufferCopies}}
\index{\_forceReleaseBufferCopies@{\_forceReleaseBufferCopies}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_forceReleaseBufferCopies()}{\_forceReleaseBufferCopies()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+force\+Release\+Buffer\+Copies (\begin{DoxyParamCaption}\item[{\mbox{\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. \mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_notifyVertexBufferDestroyed@{\_notifyVertexBufferDestroyed}}
\index{\_notifyVertexBufferDestroyed@{\_notifyVertexBufferDestroyed}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_notifyVertexBufferDestroyed()}{\_notifyVertexBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Vertex\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_notifyIndexBufferDestroyed@{\_notifyIndexBufferDestroyed}}
\index{\_notifyIndexBufferDestroyed@{\_notifyIndexBufferDestroyed}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_notifyIndexBufferDestroyed()}{\_notifyIndexBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Index\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_notifyUniformBufferDestroyed@{\_notifyUniformBufferDestroyed}}
\index{\_notifyUniformBufferDestroyed@{\_notifyUniformBufferDestroyed}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_notifyUniformBufferDestroyed()}{\_notifyUniformBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Uniform\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\mbox{\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::HardwareBufferManager@{Ogre::HardwareBufferManager}!\_notifyCounterBufferDestroyed@{\_notifyCounterBufferDestroyed}}
\index{\_notifyCounterBufferDestroyed@{\_notifyCounterBufferDestroyed}!Ogre::HardwareBufferManager@{Ogre::HardwareBufferManager}}
\doxysubsubsection{\texorpdfstring{\_notifyCounterBufferDestroyed()}{\_notifyCounterBufferDestroyed()}}
{\footnotesize\ttfamily void Ogre\+::\+Hardware\+Buffer\+Manager\+Base\+::\+\_\+notify\+Counter\+Buffer\+Destroyed (\begin{DoxyParamCaption}\item[{\mbox{\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 
\mbox{\hyperlink{_ogre_hardware_buffer_manager_8h}{Ogre\+Hardware\+Buffer\+Manager.\+h}}\end{DoxyCompactItemize}
