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


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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a137aaa96f807731719f505f6db9c5c13}{G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a591fc4d39257c071686418570cc957cb}{$\sim$\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer}} ()
\item 
unsigned int \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10d}{Render\+Operation\+::\+Operation\+Type}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_afbb2a03a1c2679af2c83ef1c0f38b37b}{get\+Render\+Operation}} (\mbox{\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 \mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \& \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$ \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_vertex_declaration}{Vertex\+Declaration}} $\ast$ \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_render_to_vertex_buffer_a3a23fc7f800fcd9014919ff977e55905}{set\+Operation\+Type}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_render_to_vertex_buffer_a1b91c72db34e837e2753ec419bacb88e}{set\+Render\+To\+Buffer\+Material\+Name}} (const \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_render_to_vertex_buffer_a1ac41c57f4cb8c493dfedca2d83692ca}{set\+Source\+Renderable}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_render_to_vertex_buffer_a56fe33cb083253ae9ca4bbcaf56d8935}{update}} (\mbox{\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}


\doxysubsection{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}


\doxysubsection{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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!GL3PlusRenderToVertexBuffer@{GL3PlusRenderToVertexBuffer}}
\index{GL3PlusRenderToVertexBuffer@{GL3PlusRenderToVertexBuffer}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{GL3PlusRenderToVertexBuffer()}{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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!````~GL3PlusRenderToVertexBuffer@{$\sim$GL3PlusRenderToVertexBuffer}}
\index{````~GL3PlusRenderToVertexBuffer@{$\sim$GL3PlusRenderToVertexBuffer}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{$\sim$GL3PlusRenderToVertexBuffer()}{~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]}}



\doxysubsection{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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!getRenderOperation@{getRenderOperation}}
\index{getRenderOperation@{getRenderOperation}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{getRenderOperation()}{getRenderOperation()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer\+::get\+Render\+Operation (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!update@{update}}
\index{update@{update}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer\+::update (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!getVertexDeclaration@{getVertexDeclaration}}
\index{getVertexDeclaration@{getVertexDeclaration}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{getVertexDeclaration()}{getVertexDeclaration()}}
{\footnotesize\ttfamily \mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!getMaxVertexCount@{getMaxVertexCount}}
\index{getMaxVertexCount@{getMaxVertexCount}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{getMaxVertexCount()}{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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!setMaxVertexCount@{setMaxVertexCount}}
\index{setMaxVertexCount@{setMaxVertexCount}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{setMaxVertexCount()}{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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!getOperationType@{getOperationType}}
\index{getOperationType@{getOperationType}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{getOperationType()}{getOperationType()}}
{\footnotesize\ttfamily \mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!setOperationType@{setOperationType}}
\index{setOperationType@{setOperationType}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{setOperationType()}{setOperationType()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Operation\+Type (\begin{DoxyParamCaption}\item[{\mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!setResetsEveryUpdate@{setResetsEveryUpdate}}
\index{setResetsEveryUpdate@{setResetsEveryUpdate}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{setResetsEveryUpdate()}{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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!getResetsEveryUpdate@{getResetsEveryUpdate}}
\index{getResetsEveryUpdate@{getResetsEveryUpdate}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{getResetsEveryUpdate()}{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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!reset@{reset}}
\index{reset@{reset}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!setSourceRenderable@{setSourceRenderable}}
\index{setSourceRenderable@{setSourceRenderable}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{setSourceRenderable()}{setSourceRenderable()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Source\+Renderable (\begin{DoxyParamCaption}\item[{\mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!getSourceRenderable@{getSourceRenderable}}
\index{getSourceRenderable@{getSourceRenderable}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{getSourceRenderable()}{getSourceRenderable()}}
{\footnotesize\ttfamily const \mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!getRenderToBufferMaterial@{getRenderToBufferMaterial}}
\index{getRenderToBufferMaterial@{getRenderToBufferMaterial}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{getRenderToBufferMaterial()}{getRenderToBufferMaterial()}}
{\footnotesize\ttfamily const \mbox{\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::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}!setRenderToBufferMaterialName@{setRenderToBufferMaterialName}}
\index{setRenderToBufferMaterialName@{setRenderToBufferMaterialName}!Ogre::GL3PlusRenderToVertexBuffer@{Ogre::GL3PlusRenderToVertexBuffer}}
\doxysubsubsection{\texorpdfstring{setRenderToBufferMaterialName()}{setRenderToBufferMaterialName()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+To\+Vertex\+Buffer\+::set\+Render\+To\+Buffer\+Material\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\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 
\mbox{\hyperlink{_ogre_g_l3_plus_render_to_vertex_buffer_8h}{Ogre\+G\+L3\+Plus\+Render\+To\+Vertex\+Buffer.\+h}}\end{DoxyCompactItemize}
