\hypertarget{a03408}{\section{Runtime Update Types}
\label{a03408}\index{Runtime Update Types@{Runtime Update Types}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a02493_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+R\+T} \hyperlink{a01393}{Update\+Type} \hyperlink{a03408_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{a02493_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+R\+T} \hyperlink{a01393}{Update\+Type} \hyperlink{a03408_gacfbd51e03bea46c400173739d018e526}{update\+Type} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Given an \hyperlink{a01393}{Update\+Type} Identifier string this function will return the id of the \hyperlink{a01393}{Update\+Type}. \end{DoxyCompactList}\item 
\hyperlink{a02493_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+R\+T} Q\+String \hyperlink{a03408_ga64a9d0cd584493a6698f649694cf9cfe}{update\+Type\+Name} (\hyperlink{a01393}{Update\+Type} \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the name of a type with given id. \end{DoxyCompactList}\item 
\hyperlink{a02493_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+R\+T} size\+\_\+t \hyperlink{a03408_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}
\hypertarget{a03408_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[{add\+Update\+Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf D\+L\+L\+E\+X\+P\+O\+R\+T} {\bf Update\+Type} add\+Update\+Type (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name, }
\item[{bool}]{\+\_\+reset\+Needed = {\ttfamily true}}
\end{DoxyParamCaption}
)}}\label{a03408_gaed49e9cdb6a028080e9e08020f2ad8cf}


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

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


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


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

\hypertarget{a03408_gacfbd51e03bea46c400173739d018e526}{\index{Runtime Update Types@{Runtime Update Types}!update\+Type@{update\+Type}}
\index{update\+Type@{update\+Type}!Runtime Update Types@{Runtime Update Types}}
\subsubsection[{update\+Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf D\+L\+L\+E\+X\+P\+O\+R\+T} {\bf Update\+Type} update\+Type (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name}
\end{DoxyParamCaption}
)}}\label{a03408_gacfbd51e03bea46c400173739d018e526}


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

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

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

\hypertarget{a03408_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[{update\+Type\+Count}]{\setlength{\rightskip}{0pt plus 5cm}{\bf D\+L\+L\+E\+X\+P\+O\+R\+T} size\+\_\+t update\+Type\+Count (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{a03408_gab12caf0481b6bd1df93d80aa331151b7}


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 289 of file Update\+Type.\+cc.

\hypertarget{a03408_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[{update\+Type\+Name}]{\setlength{\rightskip}{0pt plus 5cm}{\bf D\+L\+L\+E\+X\+P\+O\+R\+T} Q\+String update\+Type\+Name (
\begin{DoxyParamCaption}
\item[{{\bf Update\+Type}}]{\+\_\+id}
\end{DoxyParamCaption}
)}}\label{a03408_ga64a9d0cd584493a6698f649694cf9cfe}


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 274 of file Update\+Type.\+cc.

