\hypertarget{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer}{}\section{Ogre\+:\+:G\+L3\+Plus\+Render\+To\+Vertex\+Buffer Class Reference}
\label{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer}\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}


An object which renders geometry to a vertex.  




{\ttfamily \#include $<$Ogre\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer.\+h$>$}



Inheritance diagram for Ogre\+:\+:G\+L3\+Plus\+Render\+To\+Vertex\+Buffer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=241pt]{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a137aaa96f807731719f505f6db9c5c13}{G\+L3\+Plus\+Render\+To\+Vertex\+Buffer} ()
\item 
virtual \hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a591fc4d39257c071686418570cc957cb}{$\sim$\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer} ()
\item 
unsigned int \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a6233ddbcd5ce7896c499fd4a4fc9052c}{get\+Max\+Vertex\+Count} () const
\begin{DoxyCompactList}\small\item\em Get the maximum number of vertices that the buffer will hold. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type} \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a4cbc780824040f915c0c4c4e0a295d84}{get\+Operation\+Type} () const
\begin{DoxyCompactList}\small\item\em What type of primitives does this object generate? \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_afbb2a03a1c2679af2c83ef1c0f38b37b}{get\+Render\+Operation} (\hyperlink{class_ogre_1_1_render_operation}{Render\+Operation} \&op)
\begin{DoxyCompactList}\small\item\em Get the render operation for this buffer. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr} \& \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a6c530df86894044d524825e0be11fe33}{get\+Render\+To\+Buffer\+Material} ()
\begin{DoxyCompactList}\small\item\em Get the material which is used to render the geometry into the vertex buffer. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a7ae8586590a3fbda24fac11b8bbcb33d}{get\+Resets\+Every\+Update} () const
\begin{DoxyCompactList}\small\item\em Does this object reset its buffer each time it updates? \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$ \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a330c054dad8a5aa97e19ad949358f95e}{get\+Source\+Renderable} () const
\begin{DoxyCompactList}\small\item\em Get the source renderable of this object. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration} $\ast$ \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a9fa1e6de60796f2af453581b553cb0ac}{get\+Vertex\+Declaration} ()
\begin{DoxyCompactList}\small\item\em Get the vertex declaration that the pass will output. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a276cd906b96a46a596d7f0abdf122302}{reset} ()
\begin{DoxyCompactList}\small\item\em Reset the vertex buffer to the initial state. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a2db0eaaf24eb8de2427e5a33a923544b}{set\+Max\+Vertex\+Count} (unsigned int max\+Vertex\+Count)
\begin{DoxyCompactList}\small\item\em Set the maximum number of vertices that the buffer will hold. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a3a23fc7f800fcd9014919ff977e55905}{set\+Operation\+Type} (\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type} operation\+Type)
\begin{DoxyCompactList}\small\item\em Set the type of primitives that this object generates. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a1b91c72db34e837e2753ec419bacb88e}{set\+Render\+To\+Buffer\+Material\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&material\+Name)
\begin{DoxyCompactList}\small\item\em Set the material name which is used to render the geometry into the vertex buffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_to_vertex_buffer_aa6b992fb1f1f4098edb85c782b860f24}{set\+Resets\+Every\+Update} (bool resets\+Every\+Update)
\begin{DoxyCompactList}\small\item\em Set whether this object resets its buffers each time it updates. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a1ac41c57f4cb8c493dfedca2d83692ca}{set\+Source\+Renderable} (\hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$source)
\begin{DoxyCompactList}\small\item\em Set the source renderable of this object. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a56fe33cb083253ae9ca4bbcaf56d8935}{update} (\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$scene\+Mgr)
\begin{DoxyCompactList}\small\item\em Update the contents of this vertex buffer by rendering. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
An object which renders geometry to a vertex. 

\begin{DoxyRemark}{Remarks}
This is especially useful together with geometry shaders, as you can render procedural geometry which will get saved to a vertex buffer for reuse later, without regenerating it again. You can also create shaders that run on previous results of those shaders, creating stateful shaders. 
\end{DoxyRemark}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a137aaa96f807731719f505f6db9c5c13}\label{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a137aaa96f807731719f505f6db9c5c13}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\index{G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{G\+L3\+Plus\+Render\+To\+Vertex\+Buffer()}{GL3PlusRenderToVertexBuffer()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a591fc4d39257c071686418570cc957cb}\label{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a591fc4d39257c071686418570cc957cb}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!````~G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{$\sim$\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\index{````~G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{$\sim$\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{$\sim$\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer()}{~GL3PlusRenderToVertexBuffer()}}
{\footnotesize\ttfamily virtual Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer\+::$\sim$\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_afbb2a03a1c2679af2c83ef1c0f38b37b}\label{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_afbb2a03a1c2679af2c83ef1c0f38b37b}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!get\+Render\+Operation@{get\+Render\+Operation}}
\index{get\+Render\+Operation@{get\+Render\+Operation}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{get\+Render\+Operation()}{getRenderOperation()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer\+::get\+Render\+Operation (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_render_operation}{Render\+Operation} \&}]{op }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Get the render operation for this buffer. 



Implements \hyperlink{class_ogre_1_1_render_to_vertex_buffer_a328f90969feb5013cb1d8f268ad7956e}{Ogre\+::\+Render\+To\+Vertex\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a56fe33cb083253ae9ca4bbcaf56d8935}\label{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a56fe33cb083253ae9ca4bbcaf56d8935}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!update@{update}}
\index{update@{update}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer\+::update (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$}]{scene\+Mgr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Update the contents of this vertex buffer by rendering. 



Implements \hyperlink{class_ogre_1_1_render_to_vertex_buffer_ae5fbfc3b45898156d9f5523fbfbbf2f7}{Ogre\+::\+Render\+To\+Vertex\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a9fa1e6de60796f2af453581b553cb0ac}\label{class_ogre_1_1_render_to_vertex_buffer_a9fa1e6de60796f2af453581b553cb0ac}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!get\+Vertex\+Declaration@{get\+Vertex\+Declaration}}
\index{get\+Vertex\+Declaration@{get\+Vertex\+Declaration}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{get\+Vertex\+Declaration()}{getVertexDeclaration()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration}$\ast$ Ogre\+::\+Render\+To\+Vertex\+Buffer\+::get\+Vertex\+Declaration (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Get the vertex declaration that the pass will output. 

\begin{DoxyRemark}{Remarks}
Use this object to set the elements of the buffer. Object will calculate buffers on its own. Only one source allowed! 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a6233ddbcd5ce7896c499fd4a4fc9052c}\label{class_ogre_1_1_render_to_vertex_buffer_a6233ddbcd5ce7896c499fd4a4fc9052c}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!get\+Max\+Vertex\+Count@{get\+Max\+Vertex\+Count}}
\index{get\+Max\+Vertex\+Count@{get\+Max\+Vertex\+Count}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{get\+Max\+Vertex\+Count()}{getMaxVertexCount()}}
{\footnotesize\ttfamily unsigned int Ogre\+::\+Render\+To\+Vertex\+Buffer\+::get\+Max\+Vertex\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the maximum number of vertices that the buffer will hold. 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a2db0eaaf24eb8de2427e5a33a923544b}\label{class_ogre_1_1_render_to_vertex_buffer_a2db0eaaf24eb8de2427e5a33a923544b}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!set\+Max\+Vertex\+Count@{set\+Max\+Vertex\+Count}}
\index{set\+Max\+Vertex\+Count@{set\+Max\+Vertex\+Count}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{set\+Max\+Vertex\+Count()}{setMaxVertexCount()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Max\+Vertex\+Count (\begin{DoxyParamCaption}\item[{unsigned int}]{max\+Vertex\+Count }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set the maximum number of vertices that the buffer will hold. 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a4cbc780824040f915c0c4c4e0a295d84}\label{class_ogre_1_1_render_to_vertex_buffer_a4cbc780824040f915c0c4c4e0a295d84}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!get\+Operation\+Type@{get\+Operation\+Type}}
\index{get\+Operation\+Type@{get\+Operation\+Type}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{get\+Operation\+Type()}{getOperationType()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type} Ogre\+::\+Render\+To\+Vertex\+Buffer\+::get\+Operation\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



What type of primitives does this object generate? 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a3a23fc7f800fcd9014919ff977e55905}\label{class_ogre_1_1_render_to_vertex_buffer_a3a23fc7f800fcd9014919ff977e55905}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!set\+Operation\+Type@{set\+Operation\+Type}}
\index{set\+Operation\+Type@{set\+Operation\+Type}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{set\+Operation\+Type()}{setOperationType()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Operation\+Type (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type}}]{operation\+Type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set the type of primitives that this object generates. 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_aa6b992fb1f1f4098edb85c782b860f24}\label{class_ogre_1_1_render_to_vertex_buffer_aa6b992fb1f1f4098edb85c782b860f24}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!set\+Resets\+Every\+Update@{set\+Resets\+Every\+Update}}
\index{set\+Resets\+Every\+Update@{set\+Resets\+Every\+Update}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{set\+Resets\+Every\+Update()}{setResetsEveryUpdate()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Resets\+Every\+Update (\begin{DoxyParamCaption}\item[{bool}]{resets\+Every\+Update }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set whether this object resets its buffers each time it updates. 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a7ae8586590a3fbda24fac11b8bbcb33d}\label{class_ogre_1_1_render_to_vertex_buffer_a7ae8586590a3fbda24fac11b8bbcb33d}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!get\+Resets\+Every\+Update@{get\+Resets\+Every\+Update}}
\index{get\+Resets\+Every\+Update@{get\+Resets\+Every\+Update}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{get\+Resets\+Every\+Update()}{getResetsEveryUpdate()}}
{\footnotesize\ttfamily bool Ogre\+::\+Render\+To\+Vertex\+Buffer\+::get\+Resets\+Every\+Update (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Does this object reset its buffer each time it updates? 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a276cd906b96a46a596d7f0abdf122302}\label{class_ogre_1_1_render_to_vertex_buffer_a276cd906b96a46a596d7f0abdf122302}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!reset@{reset}}
\index{reset@{reset}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{reset()}{reset()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::reset (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Reset the vertex buffer to the initial state. 

In the next update, the source renderable will be used as input. \mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a1ac41c57f4cb8c493dfedca2d83692ca}\label{class_ogre_1_1_render_to_vertex_buffer_a1ac41c57f4cb8c493dfedca2d83692ca}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!set\+Source\+Renderable@{set\+Source\+Renderable}}
\index{set\+Source\+Renderable@{set\+Source\+Renderable}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{set\+Source\+Renderable()}{setSourceRenderable()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Source\+Renderable (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set the source renderable of this object. 

During the first (and perhaps later) update of this object, this object\textquotesingle{}s data will be used as input) \mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a330c054dad8a5aa97e19ad949358f95e}\label{class_ogre_1_1_render_to_vertex_buffer_a330c054dad8a5aa97e19ad949358f95e}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!get\+Source\+Renderable@{get\+Source\+Renderable}}
\index{get\+Source\+Renderable@{get\+Source\+Renderable}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{get\+Source\+Renderable()}{getSourceRenderable()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_renderable}{Renderable}$\ast$ Ogre\+::\+Render\+To\+Vertex\+Buffer\+::get\+Source\+Renderable (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the source renderable of this object. 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a6c530df86894044d524825e0be11fe33}\label{class_ogre_1_1_render_to_vertex_buffer_a6c530df86894044d524825e0be11fe33}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!get\+Render\+To\+Buffer\+Material@{get\+Render\+To\+Buffer\+Material}}
\index{get\+Render\+To\+Buffer\+Material@{get\+Render\+To\+Buffer\+Material}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{get\+Render\+To\+Buffer\+Material()}{getRenderToBufferMaterial()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}\& Ogre\+::\+Render\+To\+Vertex\+Buffer\+::get\+Render\+To\+Buffer\+Material (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the material which is used to render the geometry into the vertex buffer. 

\mbox{\Hypertarget{class_ogre_1_1_render_to_vertex_buffer_a1b91c72db34e837e2753ec419bacb88e}\label{class_ogre_1_1_render_to_vertex_buffer_a1b91c72db34e837e2753ec419bacb88e}} 
\index{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}!set\+Render\+To\+Buffer\+Material\+Name@{set\+Render\+To\+Buffer\+Material\+Name}}
\index{set\+Render\+To\+Buffer\+Material\+Name@{set\+Render\+To\+Buffer\+Material\+Name}!Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer@{Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}}
\subsubsection{\texorpdfstring{set\+Render\+To\+Buffer\+Material\+Name()}{setRenderToBufferMaterialName()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Render\+To\+Buffer\+Material\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{material\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Set the material name which is used to render the geometry into the vertex buffer. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_g_l3_plus_render_to_vertex_buffer_8h}{Ogre\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer.\+h}\end{DoxyCompactItemize}
