\hypertarget{group__UpdateTypeFunctions}{}\section{Runtime Update Types}
\label{group__UpdateTypeFunctions}\index{Runtime Update Types@{Runtime Update Types}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classUpdateType}{Update\+Type} \hyperlink{group__UpdateTypeFunctions_gaed49e9cdb6a028080e9e08020f2ad8cf}{add\+Update\+Type} (Q\+String \+\_\+name, bool \+\_\+reset\+Needed=true)
\begin{DoxyCompactList}\small\item\em Adds a update\+Type and returns the id for the new type. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classUpdateType}{Update\+Type} \hyperlink{group__UpdateTypeFunctions_gacfbd51e03bea46c400173739d018e526}{update\+Type} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Given an \hyperlink{classUpdateType}{Update\+Type} Identifier string this function will return the id of the \hyperlink{classUpdateType}{Update\+Type}. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String \hyperlink{group__UpdateTypeFunctions_ga64a9d0cd584493a6698f649694cf9cfe}{update\+Type\+Name} (\hyperlink{classUpdateType}{Update\+Type} \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the name of a type with given id. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} size\+\_\+t \hyperlink{group__UpdateTypeFunctions_gab12caf0481b6bd1df93d80aa331151b7}{update\+Type\+Count} ()
\begin{DoxyCompactList}\small\item\em Get the number of registered types. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Use these functions to add custom update types at runtime. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__UpdateTypeFunctions_gaed49e9cdb6a028080e9e08020f2ad8cf}\label{group__UpdateTypeFunctions_gaed49e9cdb6a028080e9e08020f2ad8cf}} 
\index{Runtime Update Types@{Runtime Update Types}!add\+Update\+Type@{add\+Update\+Type}}
\index{add\+Update\+Type@{add\+Update\+Type}!Runtime Update Types@{Runtime Update Types}}
\subsubsection{\texorpdfstring{add\+Update\+Type()}{addUpdateType()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classUpdateType}{Update\+Type} add\+Update\+Type (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name,  }\item[{bool}]{\+\_\+reset\+Needed = {\ttfamily true} }\end{DoxyParamCaption})}



Adds a update\+Type and returns the id for the new type. 

Adds a \hyperlink{classUpdateType}{Update\+Type} and returns the id for the new type


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Internal name for the new \hyperlink{classUpdateType}{Update\+Type} \\
\hline
{\em \+\_\+reset\+Needed} & If a scene\+Graph reset is needed for this update \\
\hline
\end{DoxyParams}


Definition at line 229 of file Update\+Type.\+cc.

\mbox{\Hypertarget{group__UpdateTypeFunctions_gacfbd51e03bea46c400173739d018e526}\label{group__UpdateTypeFunctions_gacfbd51e03bea46c400173739d018e526}} 
\index{Runtime Update Types@{Runtime Update Types}!update\+Type@{update\+Type}}
\index{update\+Type@{update\+Type}!Runtime Update Types@{Runtime Update Types}}
\subsubsection{\texorpdfstring{update\+Type()}{updateType()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classUpdateType}{Update\+Type} update\+Type (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Given an \hyperlink{classUpdateType}{Update\+Type} Identifier string this function will return the id of the \hyperlink{classUpdateType}{Update\+Type}. 

Given an \hyperlink{classUpdateType}{Update\+Type} Identifier string this function will return the id of the \hyperlink{classUpdateType}{Update\+Type}. 

Definition at line 252 of file Update\+Type.\+cc.

\mbox{\Hypertarget{group__UpdateTypeFunctions_gab12caf0481b6bd1df93d80aa331151b7}\label{group__UpdateTypeFunctions_gab12caf0481b6bd1df93d80aa331151b7}} 
\index{Runtime Update Types@{Runtime Update Types}!update\+Type\+Count@{update\+Type\+Count}}
\index{update\+Type\+Count@{update\+Type\+Count}!Runtime Update Types@{Runtime Update Types}}
\subsubsection{\texorpdfstring{update\+Type\+Count()}{updateTypeCount()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} size\+\_\+t update\+Type\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Get the number of registered types. 

This function will return the number of types registered to the core. You can use it to iterate over all types.

Get the number of registered types. 

Definition at line 299 of file Update\+Type.\+cc.

\mbox{\Hypertarget{group__UpdateTypeFunctions_ga64a9d0cd584493a6698f649694cf9cfe}\label{group__UpdateTypeFunctions_ga64a9d0cd584493a6698f649694cf9cfe}} 
\index{Runtime Update Types@{Runtime Update Types}!update\+Type\+Name@{update\+Type\+Name}}
\index{update\+Type\+Name@{update\+Type\+Name}!Runtime Update Types@{Runtime Update Types}}
\subsubsection{\texorpdfstring{update\+Type\+Name()}{updateTypeName()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String update\+Type\+Name (\begin{DoxyParamCaption}\item[{\hyperlink{classUpdateType}{Update\+Type}}]{\+\_\+id }\end{DoxyParamCaption})}



Get the name of a type with given id. 

The ids are organized in a bit field. So use either the macro for getting the type id or use the id directly (they have to be power of 2! ... Bit field) 

Definition at line 267 of file Update\+Type.\+cc.

