\hypertarget{class_ogre_1_1_r_t_shader_1_1_s_g_material_serializer_listener}{}\section{Ogre\+:\+:R\+T\+Shader\+:\+:S\+G\+Material\+Serializer\+Listener Class Reference}
\label{class_ogre_1_1_r_t_shader_1_1_s_g_material_serializer_listener}\index{Ogre\+::\+R\+T\+Shader\+::\+S\+G\+Material\+Serializer\+Listener@{Ogre\+::\+R\+T\+Shader\+::\+S\+G\+Material\+Serializer\+Listener}}


This class responsible for translating core features of the RT Shader System for \hyperlink{namespace_ogre}{Ogre} material scripts.  




{\ttfamily \#include $<$Ogre\+Shader\+Material\+Serializer\+Listener.\+h$>$}



Inheritance diagram for Ogre\+:\+:R\+T\+Shader\+:\+:S\+G\+Material\+Serializer\+Listener\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_r_t_shader_1_1_s_g_material_serializer_listener__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_ogre_1_1_material_serializer_1_1_listener_a192341794a44b9096b891b676be06b35}{gpu\+Program\+Ref\+Event\+Raised} (\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$ser, Serialize\+Event event, bool \&skip, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&attrib, const \hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr} \&program, const \hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr} \&params, \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters} $\ast$default\+Params)
\begin{DoxyCompactList}\small\item\em Called when G\+PU program reference section event raised. \end{DoxyCompactList}\item 
virtual void \hyperlink{group___r_t_shader_ga0c4d6065a7366a2c7cec871582b59662}{material\+Event\+Raised} (\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$ser, \hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event} event, bool \&skip, const \hyperlink{class_ogre_1_1_material}{Material} $\ast$mat)
\item 
virtual void \hyperlink{group___r_t_shader_gae7cd570f009ae6daa1436bb3a1b93b1c}{pass\+Event\+Raised} (\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$ser, \hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event} event, bool \&skip, const \hyperlink{class_ogre_1_1_pass}{Pass} $\ast$tech)
\item 
virtual void \hyperlink{group___r_t_shader_gae69f34379ca56e44da81e6bb94e569d2}{technique\+Event\+Raised} (\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$ser, \hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event} event, bool \&skip, const \hyperlink{class_ogre_1_1_technique}{Technique} $\ast$tech)
\item 
virtual void \hyperlink{group___r_t_shader_gaf51bcbc1062b97a10c74ea7e70dec651}{texture\+Unit\+State\+Event\+Raised} (\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$ser, \hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event} event, bool \&skip, const \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} $\ast$texture\+Unit)
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{group___r_t_shader_gadcb2ff432738c3d0e602910347d3785a}{Shader\+Generator}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class responsible for translating core features of the RT Shader System for \hyperlink{namespace_ogre}{Ogre} material scripts. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_material_serializer_1_1_listener_a192341794a44b9096b891b676be06b35}\label{class_ogre_1_1_material_serializer_1_1_listener_a192341794a44b9096b891b676be06b35}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+S\+G\+Material\+Serializer\+Listener@{Ogre\+::\+R\+T\+Shader\+::\+S\+G\+Material\+Serializer\+Listener}!gpu\+Program\+Ref\+Event\+Raised@{gpu\+Program\+Ref\+Event\+Raised}}
\index{gpu\+Program\+Ref\+Event\+Raised@{gpu\+Program\+Ref\+Event\+Raised}!Ogre\+::\+R\+T\+Shader\+::\+S\+G\+Material\+Serializer\+Listener@{Ogre\+::\+R\+T\+Shader\+::\+S\+G\+Material\+Serializer\+Listener}}
\subsubsection{\texorpdfstring{gpu\+Program\+Ref\+Event\+Raised()}{gpuProgramRefEventRaised()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+Serializer\+::\+Listener\+::gpu\+Program\+Ref\+Event\+Raised (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$}]{ser,  }\item[{\hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Serialize\+Event}}]{event,  }\item[{bool \&}]{skip,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{attrib,  }\item[{const \hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr} \&}]{program,  }\item[{const \hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr} \&}]{params,  }\item[{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters} $\ast$}]{default\+Params }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Called when G\+PU program reference section event raised. 


\begin{DoxyParams}{Parameters}
{\em ser} & The \hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} instance that writes the given material. \\
\hline
{\em event} & The current section writing stage. \\
\hline
{\em skip} & May set to true by sub-\/class instances in order to skip the following section write. This parameter relevant only when stage equals M\+S\+E\+\_\+\+P\+R\+E\+\_\+\+W\+R\+I\+TE. \\
\hline
{\em attrib} & The G\+PU program reference description (vertex\+\_\+program\+\_\+ref, fragment\+\_\+program\+\_\+ref, etc). \\
\hline
{\em program} & The program being written. \\
\hline
{\em params} & The program parameters. \\
\hline
{\em default\+Params} & The default program parameters. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_shader_material_serializer_listener_8h}{Ogre\+Shader\+Material\+Serializer\+Listener.\+h}\end{DoxyCompactItemize}
