\hypertarget{class_ogre_1_1_gpu_shared_parameters}{}\doxysection{Ogre\+::Gpu\+Shared\+Parameters Class Reference}
\label{class_ogre_1_1_gpu_shared_parameters}\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}


A group of manually updated parameters that are shared between many parameter sets.  




{\ttfamily \#include $<$Ogre\+Gpu\+Program\+Params.\+h$>$}



Inheritance diagram for Ogre\+::Gpu\+Shared\+Parameters\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=235pt]{class_ogre_1_1_gpu_shared_parameters__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a0d0b2668f52743cc1e949cedb97abefc}{Gpu\+Shared\+Parameters}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\item 
const \mbox{\hyperlink{class_ogre_1_1_any}{Any}} \& \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_abadfc59203ae1b077d6fcf0c8a717f2b}{\+\_\+get\+Render\+System\+Data}} () const
\begin{DoxyCompactList}\small\item\em Internal method that the \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}} might use to store optional data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a1b178e4c6bb62c148d7b57d76c7890f3}{\+\_\+mark\+Clean}} ()
\begin{DoxyCompactList}\small\item\em Mark the shared set as being clean (values successfully updated by the render system). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_aa53d15b0327750087e989b29b1d64946}{\+\_\+mark\+Dirty}} ()
\begin{DoxyCompactList}\small\item\em Mark the shared set as being dirty (values modified and not yet updated in render system). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a96d3f0ffeea45bc3168c427f05565b05}{\+\_\+set\+Render\+System\+Data}} (const \mbox{\hyperlink{class_ogre_1_1_any}{Any}} \&data) const
\begin{DoxyCompactList}\small\item\em Internal method that the \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}} might use to store optional data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ab76a3c158f6e5386831b2e6dcce3478f}{add\+Constant\+Definition}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{group___materials_ga9c5b2950be06ff56a6ee0bace240d447}{Gpu\+Constant\+Type}} const\+Type, size\+\_\+t array\+Size=1)
\begin{DoxyCompactList}\small\item\em Add a new constant definition to this shared set of parameters. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_afbe82e2a5d2207fc79dae1d7ff2acc28}{calculate\+Size}} (void) const
\begin{DoxyCompactList}\small\item\em Calculate the expected size of the shared parameter buffer based on constant definition data types. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}} \& \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a463139c2df218d313e1c7a6e13d9e939}{get\+Constant\+Definition}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em Get a specific \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}} for a named parameter. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_gaff7bf5891ea6cfed80f4e50edc5d3695}{Gpu\+Constant\+Definition\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_aa539dd625fa78cb860b4b38212baa49d}{get\+Constant\+Definition\+Iterator}} (void) const
\begin{DoxyCompactList}\small\item\em Gets an iterator over the named \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}} instances as defined by the user. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{struct_ogre_1_1_gpu_named_constants}{Gpu\+Named\+Constants}} \& \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a3a11a6d800c859a06457ed185df8e95e}{get\+Constant\+Definitions}} () const
\begin{DoxyCompactList}\small\item\em Get the full list of \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}} instances. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___materials_ga54a81007e7be112863a64daaae588546}{Double\+Constant\+List}} \& \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_aee5788ebc9299eb9c7051b9077c692bb}{get\+Double\+Constant\+List}} () const
\begin{DoxyCompactList}\small\item\em Get a reference to the list of double constants. \end{DoxyCompactList}\item 
double $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a26be5bc588438cdfcd2af1dd0aca8b69}{get\+Double\+Pointer}} (size\+\_\+t pos)
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the double buffer. \end{DoxyCompactList}\item 
const double $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ac5942855857e402a552f896825430ec5}{get\+Double\+Pointer}} (size\+\_\+t pos) const
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the double buffer. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___materials_ga9a5a8d6845885e4ca05b8076c64bd0a4}{Float\+Constant\+List}} \& \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_adb49195ff054613a5e5aead52de7644c}{get\+Float\+Constant\+List}} () const
\begin{DoxyCompactList}\small\item\em Get a reference to the list of float constants. \end{DoxyCompactList}\item 
float $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ab20c2b00ad00db39d0fa7a77e8f2a9e1}{get\+Float\+Pointer}} (size\+\_\+t pos)
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the float buffer. \end{DoxyCompactList}\item 
const float $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_aa51c371a8967d4a182a8081c73f53fcc}{get\+Float\+Pointer}} (size\+\_\+t pos) const
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the float buffer. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ae7468d4c313da21840fc14748be3989a}{get\+Frame\+Last\+Updated}} () const
\begin{DoxyCompactList}\small\item\em Get the frame in which this shared parameter set was last updated. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___materials_ga44f8e73325efaff2fb158b6f470f9e7b}{Int\+Constant\+List}} \& \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ad27aef82541b4155f670470ea9c4fd80}{get\+Int\+Constant\+List}} () const
\begin{DoxyCompactList}\small\item\em Get a reference to the list of int constants. \end{DoxyCompactList}\item 
int $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a595714fc035ae70cce7921f1e5c660dd}{get\+Int\+Pointer}} (size\+\_\+t pos)
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the int buffer. \end{DoxyCompactList}\item 
const int $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_aa675a7432dbcb9455e88ee0432bff86b}{get\+Int\+Pointer}} (size\+\_\+t pos) const
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the int buffer. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a88f9ebfeb6334f40c51fa52ebb0a7108}{get\+Name}} ()
\begin{DoxyCompactList}\small\item\em Get the name of this shared parameter set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_af157151f07afc50f61b6de18a6e2cff1}{get\+Unsigned\+Int\+Pointer}} (size\+\_\+t pos)
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the uint buffer. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_aa0e94dfd27137e0e3b8129205fa70fcf}{get\+Unsigned\+Int\+Pointer}} (size\+\_\+t pos) const
\begin{DoxyCompactList}\small\item\em Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the uint buffer. \end{DoxyCompactList}\item 
unsigned long \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a69a08fac2fc0d7479fb8be46e26d43fc}{get\+Version}} () const
\begin{DoxyCompactList}\small\item\em Get the version number of this shared parameter set, can be used to identify when changes have occurred. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ad8a616a195dcfaa38214748c468c6779}{is\+Dirty}} () const
\begin{DoxyCompactList}\small\item\em True if this parameter set is dirty (values have been modified, but the render system has not updated them yet). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a7af37940ab818c310227918e61fe1134}{remove\+All\+Constant\+Definitions}} ()
\begin{DoxyCompactList}\small\item\em Remove a constant definition from this shared set of parameters. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_adaffa8b7ce948ab8474b7745ce29504f}{remove\+Constant\+Definition}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Remove a constant definition from this shared set of parameters. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_af0f9f6c486e5cf67d966f996e99272b5}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&colour)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a1d338e448331ece06b476fa1dec4be2a}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const double $\ast$val, size\+\_\+t count)
\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ac60bc2d912c0610ff23d03fc53341d0c}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const float $\ast$val, size\+\_\+t count)
\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_aa738d63d8a5fdbe3095a73d1824e4497}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const int $\ast$val, size\+\_\+t count)
\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ac912b1953576dd4b34e1019019952738}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} \&m)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a6be98a104e13cbd4c9c550ee88cac6de}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} $\ast$m, size\+\_\+t num\+Entries)
\begin{DoxyCompactList}\small\item\em Sets a list of \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} parameters to the program. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a8ec33fb8190dc9956427fdc4c39cd152}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} $\ast$val, size\+\_\+t count)
\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a32289cc85ebb2a988ce36727a508dac6}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&vec)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ab36766c25247163e7f57d515dbec44f3}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&vec)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a6f0dd794c7a3618f59e4a86bd8ee03d5}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_a739a289a4d5235f5f509a1795f5ffd5b}{Vector4}} \&vec)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ad879a04f00ecc9196d19cd9ff38f66f2}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, int val)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_ab74ba6dc445146e3207a3b3910f43ef6}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} val)
\begin{DoxyCompactList}\small\item\em Sets a single value constant parameter to the program. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_gpu_shared_parameters_a88315ac3a68d42fe43f524f6c4a307d2}{set\+Named\+Constant}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} val)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A group of manually updated parameters that are shared between many parameter sets. 

\begin{DoxyRemark}{Remarks}
Sometimes you want to set some common parameters across many otherwise different parameter sets, and keep them all in sync together. This class allows you to define a set of parameters that you can share across many parameter sets and have the parameters that match automatically be pulled from the shared set, rather than you having to set them on all the parameter sets individually. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Parameters in a shared set are matched up with instances in a \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}} structure by matching names. It is up to you to define the named parameters that a shared set contains, and ensuring the definition matches. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
Shared parameter sets can be named, and looked up using the \mbox{\hyperlink{class_ogre_1_1_gpu_program_manager}{Gpu\+Program\+Manager}}. 
\end{DoxyNote}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a0d0b2668f52743cc1e949cedb97abefc}\label{class_ogre_1_1_gpu_shared_parameters_a0d0b2668f52743cc1e949cedb97abefc}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!GpuSharedParameters@{GpuSharedParameters}}
\index{GpuSharedParameters@{GpuSharedParameters}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{GpuSharedParameters()}{GpuSharedParameters()}}
{\footnotesize\ttfamily Ogre\+::\+Gpu\+Shared\+Parameters\+::\+Gpu\+Shared\+Parameters (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a88f9ebfeb6334f40c51fa52ebb0a7108}\label{class_ogre_1_1_gpu_shared_parameters_a88f9ebfeb6334f40c51fa52ebb0a7108}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getName@{getName}}
\index{getName@{getName}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get the name of this shared parameter set. 



Referenced by Ogre\+::\+Gpu\+Shared\+Parameters\+Usage\+::get\+Name().

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ab76a3c158f6e5386831b2e6dcce3478f}\label{class_ogre_1_1_gpu_shared_parameters_ab76a3c158f6e5386831b2e6dcce3478f}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!addConstantDefinition@{addConstantDefinition}}
\index{addConstantDefinition@{addConstantDefinition}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{addConstantDefinition()}{addConstantDefinition()}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::add\+Constant\+Definition (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{group___materials_ga9c5b2950be06ff56a6ee0bace240d447}{Gpu\+Constant\+Type}}}]{const\+Type,  }\item[{size\+\_\+t}]{array\+Size = {\ttfamily 1} }\end{DoxyParamCaption})}



Add a new constant definition to this shared set of parameters. 

\begin{DoxyRemark}{Remarks}
Unlike \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}, where the parameter list is defined by the program being compiled, this shared parameter set is defined by the user. Only parameters which have been predefined here may be later updated. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_adaffa8b7ce948ab8474b7745ce29504f}\label{class_ogre_1_1_gpu_shared_parameters_adaffa8b7ce948ab8474b7745ce29504f}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!removeConstantDefinition@{removeConstantDefinition}}
\index{removeConstantDefinition@{removeConstantDefinition}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{removeConstantDefinition()}{removeConstantDefinition()}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::remove\+Constant\+Definition (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Remove a constant definition from this shared set of parameters. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a7af37940ab818c310227918e61fe1134}\label{class_ogre_1_1_gpu_shared_parameters_a7af37940ab818c310227918e61fe1134}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!removeAllConstantDefinitions@{removeAllConstantDefinitions}}
\index{removeAllConstantDefinitions@{removeAllConstantDefinitions}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{removeAllConstantDefinitions()}{removeAllConstantDefinitions()}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::remove\+All\+Constant\+Definitions (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Remove a constant definition from this shared set of parameters. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a69a08fac2fc0d7479fb8be46e26d43fc}\label{class_ogre_1_1_gpu_shared_parameters_a69a08fac2fc0d7479fb8be46e26d43fc}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getVersion@{getVersion}}
\index{getVersion@{getVersion}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getVersion()}{getVersion()}}
{\footnotesize\ttfamily unsigned long Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Version (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the version number of this shared parameter set, can be used to identify when changes have occurred. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_afbe82e2a5d2207fc79dae1d7ff2acc28}\label{class_ogre_1_1_gpu_shared_parameters_afbe82e2a5d2207fc79dae1d7ff2acc28}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!calculateSize@{calculateSize}}
\index{calculateSize@{calculateSize}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{calculateSize()}{calculateSize()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Gpu\+Shared\+Parameters\+::calculate\+Size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Calculate the expected size of the shared parameter buffer based on constant definition data types. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ad8a616a195dcfaa38214748c468c6779}\label{class_ogre_1_1_gpu_shared_parameters_ad8a616a195dcfaa38214748c468c6779}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!isDirty@{isDirty}}
\index{isDirty@{isDirty}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{isDirty()}{isDirty()}}
{\footnotesize\ttfamily bool Ogre\+::\+Gpu\+Shared\+Parameters\+::is\+Dirty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



True if this parameter set is dirty (values have been modified, but the render system has not updated them yet). 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a1b178e4c6bb62c148d7b57d76c7890f3}\label{class_ogre_1_1_gpu_shared_parameters_a1b178e4c6bb62c148d7b57d76c7890f3}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!\_markClean@{\_markClean}}
\index{\_markClean@{\_markClean}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{\_markClean()}{\_markClean()}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::\+\_\+mark\+Clean (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Mark the shared set as being clean (values successfully updated by the render system). 

\begin{DoxyRemark}{Remarks}
You do not need to call this yourself. The set is marked as clean whenever the render system updates dirty shared parameters. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_aa53d15b0327750087e989b29b1d64946}\label{class_ogre_1_1_gpu_shared_parameters_aa53d15b0327750087e989b29b1d64946}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!\_markDirty@{\_markDirty}}
\index{\_markDirty@{\_markDirty}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{\_markDirty()}{\_markDirty()}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::\+\_\+mark\+Dirty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Mark the shared set as being dirty (values modified and not yet updated in render system). 

\begin{DoxyRemark}{Remarks}
You do not need to call this yourself. The set is marked as dirty whenever set\+Named\+Constant or (non const) get\+Float\+Pointer et al are called. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ae7468d4c313da21840fc14748be3989a}\label{class_ogre_1_1_gpu_shared_parameters_ae7468d4c313da21840fc14748be3989a}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getFrameLastUpdated@{getFrameLastUpdated}}
\index{getFrameLastUpdated@{getFrameLastUpdated}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getFrameLastUpdated()}{getFrameLastUpdated()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Frame\+Last\+Updated (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the frame in which this shared parameter set was last updated. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_aa539dd625fa78cb860b4b38212baa49d}\label{class_ogre_1_1_gpu_shared_parameters_aa539dd625fa78cb860b4b38212baa49d}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getConstantDefinitionIterator@{getConstantDefinitionIterator}}
\index{getConstantDefinitionIterator@{getConstantDefinitionIterator}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getConstantDefinitionIterator()}{getConstantDefinitionIterator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_gaff7bf5891ea6cfed80f4e50edc5d3695}{Gpu\+Constant\+Definition\+Iterator}} Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Constant\+Definition\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets an iterator over the named \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}} instances as defined by the user. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a463139c2df218d313e1c7a6e13d9e939}\label{class_ogre_1_1_gpu_shared_parameters_a463139c2df218d313e1c7a6e13d9e939}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getConstantDefinition@{getConstantDefinition}}
\index{getConstantDefinition@{getConstantDefinition}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getConstantDefinition()}{getConstantDefinition()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}}\& Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Constant\+Definition (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const}



Get a specific \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}} for a named parameter. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a3a11a6d800c859a06457ed185df8e95e}\label{class_ogre_1_1_gpu_shared_parameters_a3a11a6d800c859a06457ed185df8e95e}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getConstantDefinitions@{getConstantDefinitions}}
\index{getConstantDefinitions@{getConstantDefinitions}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getConstantDefinitions()}{getConstantDefinitions()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{struct_ogre_1_1_gpu_named_constants}{Gpu\+Named\+Constants}}\& Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Constant\+Definitions (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the full list of \mbox{\hyperlink{struct_ogre_1_1_gpu_constant_definition}{Gpu\+Constant\+Definition}} instances. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ab74ba6dc445146e3207a3b3910f43ef6}\label{class_ogre_1_1_gpu_shared_parameters_ab74ba6dc445146e3207a3b3910f43ef6}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [1/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{val }\end{DoxyParamCaption})}



Sets a single value constant parameter to the program. 

Different types of G\+PU programs support different types of constant parameters. For example, it\textquotesingle{}s relatively common to find that vertex programs only support floating point constants, and that fragment programs only support integer (fixed point) parameters. This can vary depending on the program version supported by the graphics card being used. You should consult the documentation for the type of low level program you are using, or alternatively use the methods provided on \mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}} to determine the options.

Another possible limitation is that some systems only allow constants to be set on certain boundaries, e.\+g. in sets of 4 values for example. Again, see \mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}} for full details. \begin{DoxyNote}{Note}
This named option will only work if you are using a parameters object created from a high-\/level program (\mbox{\hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program}}). 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the parameter \\
\hline
{\em val} & The value to set \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ad879a04f00ecc9196d19cd9ff38f66f2}\label{class_ogre_1_1_gpu_shared_parameters_ad879a04f00ecc9196d19cd9ff38f66f2}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [2/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{int}]{val }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a88315ac3a68d42fe43f524f6c4a307d2}\label{class_ogre_1_1_gpu_shared_parameters_a88315ac3a68d42fe43f524f6c4a307d2}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [3/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{val }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a6f0dd794c7a3618f59e4a86bd8ee03d5}\label{class_ogre_1_1_gpu_shared_parameters_a6f0dd794c7a3618f59e4a86bd8ee03d5}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [4/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_a739a289a4d5235f5f509a1795f5ffd5b}{Vector4}} \&}]{vec }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ab36766c25247163e7f57d515dbec44f3}\label{class_ogre_1_1_gpu_shared_parameters_ab36766c25247163e7f57d515dbec44f3}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [5/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{vec }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a32289cc85ebb2a988ce36727a508dac6}\label{class_ogre_1_1_gpu_shared_parameters_a32289cc85ebb2a988ce36727a508dac6}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [6/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&}]{vec }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ac912b1953576dd4b34e1019019952738}\label{class_ogre_1_1_gpu_shared_parameters_ac912b1953576dd4b34e1019019952738}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [7/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} \&}]{m }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a6be98a104e13cbd4c9c550ee88cac6de}\label{class_ogre_1_1_gpu_shared_parameters_a6be98a104e13cbd4c9c550ee88cac6de}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [8/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} $\ast$}]{m,  }\item[{size\+\_\+t}]{num\+Entries }\end{DoxyParamCaption})}



Sets a list of \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} parameters to the program. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the parameter; this must be the first index of an array, for examples \textquotesingle{}matrices\mbox{[}0\mbox{]}\textquotesingle{} NB since a \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} is 16 floats long, so each entry will take up 4 indexes. \\
\hline
{\em m} & Pointer to an array of matrices to set \\
\hline
{\em num\+Entries} & Number of \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} entries \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ac60bc2d912c0610ff23d03fc53341d0c}\label{class_ogre_1_1_gpu_shared_parameters_ac60bc2d912c0610ff23d03fc53341d0c}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [9/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const float $\ast$}]{val,  }\item[{size\+\_\+t}]{count }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a1d338e448331ece06b476fa1dec4be2a}\label{class_ogre_1_1_gpu_shared_parameters_a1d338e448331ece06b476fa1dec4be2a}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [10/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const double $\ast$}]{val,  }\item[{size\+\_\+t}]{count }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_af0f9f6c486e5cf67d966f996e99272b5}\label{class_ogre_1_1_gpu_shared_parameters_af0f9f6c486e5cf67d966f996e99272b5}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [11/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{colour }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_aa738d63d8a5fdbe3095a73d1824e4497}\label{class_ogre_1_1_gpu_shared_parameters_aa738d63d8a5fdbe3095a73d1824e4497}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [12/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const int $\ast$}]{val,  }\item[{size\+\_\+t}]{count }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a8ec33fb8190dc9956427fdc4c39cd152}\label{class_ogre_1_1_gpu_shared_parameters_a8ec33fb8190dc9956427fdc4c39cd152}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!setNamedConstant@{setNamedConstant}}
\index{setNamedConstant@{setNamedConstant}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{setNamedConstant()}{setNamedConstant()}\hspace{0.1cm}{\footnotesize\ttfamily [13/13]}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::set\+Named\+Constant (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} $\ast$}]{val,  }\item[{size\+\_\+t}]{count }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ab20c2b00ad00db39d0fa7a77e8f2a9e1}\label{class_ogre_1_1_gpu_shared_parameters_ab20c2b00ad00db39d0fa7a77e8f2a9e1}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getFloatPointer@{getFloatPointer}}
\index{getFloatPointer@{getFloatPointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getFloatPointer()}{getFloatPointer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily float$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Float\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the float buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_aa51c371a8967d4a182a8081c73f53fcc}\label{class_ogre_1_1_gpu_shared_parameters_aa51c371a8967d4a182a8081c73f53fcc}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getFloatPointer@{getFloatPointer}}
\index{getFloatPointer@{getFloatPointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getFloatPointer()}{getFloatPointer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const float$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Float\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the float buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a26be5bc588438cdfcd2af1dd0aca8b69}\label{class_ogre_1_1_gpu_shared_parameters_a26be5bc588438cdfcd2af1dd0aca8b69}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getDoublePointer@{getDoublePointer}}
\index{getDoublePointer@{getDoublePointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getDoublePointer()}{getDoublePointer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily double$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Double\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the double buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ac5942855857e402a552f896825430ec5}\label{class_ogre_1_1_gpu_shared_parameters_ac5942855857e402a552f896825430ec5}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getDoublePointer@{getDoublePointer}}
\index{getDoublePointer@{getDoublePointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getDoublePointer()}{getDoublePointer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const double$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Double\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the double buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a595714fc035ae70cce7921f1e5c660dd}\label{class_ogre_1_1_gpu_shared_parameters_a595714fc035ae70cce7921f1e5c660dd}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getIntPointer@{getIntPointer}}
\index{getIntPointer@{getIntPointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getIntPointer()}{getIntPointer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily int$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Int\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the int buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_aa675a7432dbcb9455e88ee0432bff86b}\label{class_ogre_1_1_gpu_shared_parameters_aa675a7432dbcb9455e88ee0432bff86b}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getIntPointer@{getIntPointer}}
\index{getIntPointer@{getIntPointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getIntPointer()}{getIntPointer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const int$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Int\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the int buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_af157151f07afc50f61b6de18a6e2cff1}\label{class_ogre_1_1_gpu_shared_parameters_af157151f07afc50f61b6de18a6e2cff1}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getUnsignedIntPointer@{getUnsignedIntPointer}}
\index{getUnsignedIntPointer@{getUnsignedIntPointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getUnsignedIntPointer()}{getUnsignedIntPointer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Unsigned\+Int\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the uint buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_aa0e94dfd27137e0e3b8129205fa70fcf}\label{class_ogre_1_1_gpu_shared_parameters_aa0e94dfd27137e0e3b8129205fa70fcf}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getUnsignedIntPointer@{getUnsignedIntPointer}}
\index{getUnsignedIntPointer@{getUnsignedIntPointer}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getUnsignedIntPointer()}{getUnsignedIntPointer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}$\ast$ Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Unsigned\+Int\+Pointer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{pos }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a pointer to the \textquotesingle{}nth\textquotesingle{} item in the uint buffer. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_adb49195ff054613a5e5aead52de7644c}\label{class_ogre_1_1_gpu_shared_parameters_adb49195ff054613a5e5aead52de7644c}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getFloatConstantList@{getFloatConstantList}}
\index{getFloatConstantList@{getFloatConstantList}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getFloatConstantList()}{getFloatConstantList()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___materials_ga9a5a8d6845885e4ca05b8076c64bd0a4}{Float\+Constant\+List}}\& Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Float\+Constant\+List (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a reference to the list of float constants. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_aee5788ebc9299eb9c7051b9077c692bb}\label{class_ogre_1_1_gpu_shared_parameters_aee5788ebc9299eb9c7051b9077c692bb}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getDoubleConstantList@{getDoubleConstantList}}
\index{getDoubleConstantList@{getDoubleConstantList}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getDoubleConstantList()}{getDoubleConstantList()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___materials_ga54a81007e7be112863a64daaae588546}{Double\+Constant\+List}}\& Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Double\+Constant\+List (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a reference to the list of double constants. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_ad27aef82541b4155f670470ea9c4fd80}\label{class_ogre_1_1_gpu_shared_parameters_ad27aef82541b4155f670470ea9c4fd80}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!getIntConstantList@{getIntConstantList}}
\index{getIntConstantList@{getIntConstantList}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{getIntConstantList()}{getIntConstantList()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___materials_ga44f8e73325efaff2fb158b6f470f9e7b}{Int\+Constant\+List}}\& Ogre\+::\+Gpu\+Shared\+Parameters\+::get\+Int\+Constant\+List (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a reference to the list of int constants. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_a96d3f0ffeea45bc3168c427f05565b05}\label{class_ogre_1_1_gpu_shared_parameters_a96d3f0ffeea45bc3168c427f05565b05}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!\_setRenderSystemData@{\_setRenderSystemData}}
\index{\_setRenderSystemData@{\_setRenderSystemData}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{\_setRenderSystemData()}{\_setRenderSystemData()}}
{\footnotesize\ttfamily void Ogre\+::\+Gpu\+Shared\+Parameters\+::\+\_\+set\+Render\+System\+Data (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_any}{Any}} \&}]{data }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Internal method that the \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}} might use to store optional data. 

\mbox{\Hypertarget{class_ogre_1_1_gpu_shared_parameters_abadfc59203ae1b077d6fcf0c8a717f2b}\label{class_ogre_1_1_gpu_shared_parameters_abadfc59203ae1b077d6fcf0c8a717f2b}} 
\index{Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}!\_getRenderSystemData@{\_getRenderSystemData}}
\index{\_getRenderSystemData@{\_getRenderSystemData}!Ogre::GpuSharedParameters@{Ogre::GpuSharedParameters}}
\doxysubsubsection{\texorpdfstring{\_getRenderSystemData()}{\_getRenderSystemData()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_any}{Any}}\& Ogre\+::\+Gpu\+Shared\+Parameters\+::\+\_\+get\+Render\+System\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Internal method that the \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}} might use to store optional data. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_gpu_program_params_8h}{Ogre\+Gpu\+Program\+Params.\+h}}\end{DoxyCompactItemize}
