\hypertarget{a06167}{}\section{Runtime Update Types}
\label{a06167}\index{Runtime Update Types@{Runtime Update Types}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00203_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{a07096}{Update\+Type} \hyperlink{a06167_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{a00203_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{a07096}{Update\+Type} \hyperlink{a06167_gacfbd51e03bea46c400173739d018e526}{update\+Type} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Given an \hyperlink{a07096}{Update\+Type} Identifier string this function will return the id of the \hyperlink{a07096}{Update\+Type}. \end{DoxyCompactList}\item 
\hyperlink{a00203_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String \hyperlink{a06167_ga64a9d0cd584493a6698f649694cf9cfe}{update\+Type\+Name} (\hyperlink{a07096}{Update\+Type} \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the name of a type with given id. \end{DoxyCompactList}\item 
\hyperlink{a00203_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} size\+\_\+t \hyperlink{a06167_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{a06167_gaed49e9cdb6a028080e9e08020f2ad8cf}\label{a06167_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{a00203_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{a07096}{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{a07096}{Update\+Type} and returns the id for the new type


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Internal name for the new \hyperlink{a07096}{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{a06167_gacfbd51e03bea46c400173739d018e526}\label{a06167_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{a00203_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{a07096}{Update\+Type} update\+Type (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



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

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

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

\mbox{\Hypertarget{a06167_gab12caf0481b6bd1df93d80aa331151b7}\label{a06167_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{a00203_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{a06167_ga64a9d0cd584493a6698f649694cf9cfe}\label{a06167_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{a00203_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String update\+Type\+Name (\begin{DoxyParamCaption}\item[{\hyperlink{a07096}{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.

