\hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor}{}\doxysection{Ogre\+::R\+T\+Shader\+::Sub\+Render\+State\+Accessor Class Reference}
\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor}\index{Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}}


This class uses as accessor from a template \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} to all of its instances that created based on it.  




{\ttfamily \#include $<$Ogre\+Shader\+Sub\+Render\+State.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00db9cc46aa7601cc858964e6cd6c5d0}{add\+Sub\+Render\+State\+Instance}} (\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} $\ast$sub\+Render\+State) const
\begin{DoxyCompactList}\small\item\em Add \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} instance to this accessor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___r_t_shader_ga9b918e7e9259b2d82e48e788da9f1485}{Sub\+Render\+State\+Set}} \& \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a5f37c0a472ebbcb4b8490d69c55691e7}{get\+Sub\+Render\+State\+Instance\+Set}} ()
\begin{DoxyCompactList}\small\item\em Return a set of all instances of the template \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___r_t_shader_ga9b918e7e9259b2d82e48e788da9f1485}{Sub\+Render\+State\+Set}} \& \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a0038e2e473362d5fe84c6a72efe10085}{get\+Sub\+Render\+State\+Instance\+Set}} () const
\begin{DoxyCompactList}\small\item\em Return a set of all instances of the template \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a7268047892571c6bced796d04fbb4cb3}{remove\+Sub\+Render\+State\+Instance}} (\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} $\ast$sub\+Render\+State) const
\begin{DoxyCompactList}\small\item\em Remove \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} instance to this accessor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00dfbcca6566234803f04f46c66cb1e2}{Sub\+Render\+State}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This class uses as accessor from a template \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} to all of its instances that created based on it. 

Since \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} that added as templates to a \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_render_state}{Render\+State}} are not directly used by the system this class enable accessing the used instances. A common usage will be add a \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} to certain pass, obtain accessor and then call a method on the instanced \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} that will trigger some G\+PU uniform parameter updates. 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00db9cc46aa7601cc858964e6cd6c5d0}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00db9cc46aa7601cc858964e6cd6c5d0}} 
\index{Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}!addSubRenderStateInstance@{addSubRenderStateInstance}}
\index{addSubRenderStateInstance@{addSubRenderStateInstance}!Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}}
\doxysubsubsection{\texorpdfstring{addSubRenderStateInstance()}{addSubRenderStateInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor\+::add\+Sub\+Render\+State\+Instance (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} $\ast$}]{sub\+Render\+State }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Add \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} instance to this accessor. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a7268047892571c6bced796d04fbb4cb3}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a7268047892571c6bced796d04fbb4cb3}} 
\index{Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}!removeSubRenderStateInstance@{removeSubRenderStateInstance}}
\index{removeSubRenderStateInstance@{removeSubRenderStateInstance}!Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}}
\doxysubsubsection{\texorpdfstring{removeSubRenderStateInstance()}{removeSubRenderStateInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor\+::remove\+Sub\+Render\+State\+Instance (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} $\ast$}]{sub\+Render\+State }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Remove \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} instance to this accessor. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a5f37c0a472ebbcb4b8490d69c55691e7}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a5f37c0a472ebbcb4b8490d69c55691e7}} 
\index{Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}!getSubRenderStateInstanceSet@{getSubRenderStateInstanceSet}}
\index{getSubRenderStateInstanceSet@{getSubRenderStateInstanceSet}!Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}}
\doxysubsubsection{\texorpdfstring{getSubRenderStateInstanceSet()}{getSubRenderStateInstanceSet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___r_t_shader_ga9b918e7e9259b2d82e48e788da9f1485}{Sub\+Render\+State\+Set}}\& Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor\+::get\+Sub\+Render\+State\+Instance\+Set (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Return a set of all instances of the template \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}}. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a0038e2e473362d5fe84c6a72efe10085}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a0038e2e473362d5fe84c6a72efe10085}} 
\index{Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}!getSubRenderStateInstanceSet@{getSubRenderStateInstanceSet}}
\index{getSubRenderStateInstanceSet@{getSubRenderStateInstanceSet}!Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}}
\doxysubsubsection{\texorpdfstring{getSubRenderStateInstanceSet()}{getSubRenderStateInstanceSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___r_t_shader_ga9b918e7e9259b2d82e48e788da9f1485}{Sub\+Render\+State\+Set}}\& Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor\+::get\+Sub\+Render\+State\+Instance\+Set (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Return a set of all instances of the template \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}}. 

(const version). 

\doxysubsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00dfbcca6566234803f04f46c66cb1e2}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00dfbcca6566234803f04f46c66cb1e2}} 
\index{Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}!SubRenderState@{SubRenderState}}
\index{SubRenderState@{SubRenderState}!Ogre::RTShader::SubRenderStateAccessor@{Ogre::RTShader::SubRenderStateAccessor}}
\doxysubsubsection{\texorpdfstring{SubRenderState}{SubRenderState}}
{\footnotesize\ttfamily friend class \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}}\hspace{0.3cm}{\ttfamily [friend]}}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_shader_sub_render_state_8h}{Ogre\+Shader\+Sub\+Render\+State.\+h}}\end{DoxyCompactItemize}
