\hypertarget{class_ogre_1_1_r_t_shader_1_1_s_g_material_serializer_listener}{}\doxysection{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::RTShader::SGMaterialSerializerListener@{Ogre::RTShader::SGMaterialSerializerListener}}


This class responsible for translating core features of the RT Shader System for \mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_ogre_1_1_material_serializer_1_1_listener_a192341794a44b9096b891b676be06b35}{gpu\+Program\+Ref\+Event\+Raised}} (\mbox{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer}} $\ast$ser, Serialize\+Event event, bool \&skip, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&attrib, const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \&program, const \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \&params, \mbox{\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 \mbox{\hyperlink{group___r_t_shader_ga0c4d6065a7366a2c7cec871582b59662}{material\+Event\+Raised}} (\mbox{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer}} $\ast$ser, \mbox{\hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event}} event, bool \&skip, const \mbox{\hyperlink{class_ogre_1_1_material}{Material}} $\ast$mat)
\item 
virtual void \mbox{\hyperlink{group___r_t_shader_gae7cd570f009ae6daa1436bb3a1b93b1c}{pass\+Event\+Raised}} (\mbox{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer}} $\ast$ser, \mbox{\hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event}} event, bool \&skip, const \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$tech)
\item 
virtual void \mbox{\hyperlink{group___r_t_shader_gae69f34379ca56e44da81e6bb94e569d2}{technique\+Event\+Raised}} (\mbox{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer}} $\ast$ser, \mbox{\hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event}} event, bool \&skip, const \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$tech)
\item 
virtual void \mbox{\hyperlink{group___r_t_shader_gaf51bcbc1062b97a10c74ea7e70dec651}{texture\+Unit\+State\+Event\+Raised}} (\mbox{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer}} $\ast$ser, \mbox{\hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Material\+Serializer\+::\+Serialize\+Event}} event, bool \&skip, const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$texture\+Unit)
\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{group___r_t_shader_gadcb2ff432738c3d0e602910347d3785a}{Shader\+Generator}}
\end{DoxyCompactItemize}


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

\doxysubsection{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::RTShader::SGMaterialSerializerListener@{Ogre::RTShader::SGMaterialSerializerListener}!gpuProgramRefEventRaised@{gpuProgramRefEventRaised}}
\index{gpuProgramRefEventRaised@{gpuProgramRefEventRaised}!Ogre::RTShader::SGMaterialSerializerListener@{Ogre::RTShader::SGMaterialSerializerListener}}
\doxysubsubsection{\texorpdfstring{gpuProgramRefEventRaised()}{gpuProgramRefEventRaised()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+Serializer\+::\+Listener\+::gpu\+Program\+Ref\+Event\+Raised (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer}} $\ast$}]{ser,  }\item[{\mbox{\hyperlink{class_ogre_1_1_material_serializer_a237c1a8b1e58e28c793e1c3febc86d4b}{Serialize\+Event}}}]{event,  }\item[{bool \&}]{skip,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{attrib,  }\item[{const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \&}]{program,  }\item[{const \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \&}]{params,  }\item[{\mbox{\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. 

~\newline
 
\begin{DoxyParams}{Parameters}
{\em ser} & The \mbox{\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). ~\newline
 \\
\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 
\mbox{\hyperlink{_ogre_shader_material_serializer_listener_8h}{Ogre\+Shader\+Material\+Serializer\+Listener.\+h}}\end{DoxyCompactItemize}
