\hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor}{}\section{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\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}}


This class uses as accessor from a template \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$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00db9cc46aa7601cc858964e6cd6c5d0}{add\+Sub\+Render\+State\+Instance} (\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 \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} instance to this accessor. \end{DoxyCompactList}\item 
\hyperlink{group___r_t_shader_ga9b918e7e9259b2d82e48e788da9f1485}{Sub\+Render\+State\+Set} \& \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 \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}. \end{DoxyCompactList}\item 
const \hyperlink{group___r_t_shader_ga9b918e7e9259b2d82e48e788da9f1485}{Sub\+Render\+State\+Set} \& \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 \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a7268047892571c6bced796d04fbb4cb3}{remove\+Sub\+Render\+State\+Instance} (\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 \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} instance to this accessor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor_a00dfbcca6566234803f04f46c66cb1e2}{Sub\+Render\+State}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class uses as accessor from a template \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 \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} that added as templates to a \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 \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 \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. 

\subsection{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\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}!add\+Sub\+Render\+State\+Instance@{add\+Sub\+Render\+State\+Instance}}
\index{add\+Sub\+Render\+State\+Instance@{add\+Sub\+Render\+State\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}}
\subsubsection{\texorpdfstring{add\+Sub\+Render\+State\+Instance()}{addSubRenderStateInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor\+::add\+Sub\+Render\+State\+Instance (\begin{DoxyParamCaption}\item[{\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 \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\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}!remove\+Sub\+Render\+State\+Instance@{remove\+Sub\+Render\+State\+Instance}}
\index{remove\+Sub\+Render\+State\+Instance@{remove\+Sub\+Render\+State\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}}
\subsubsection{\texorpdfstring{remove\+Sub\+Render\+State\+Instance()}{removeSubRenderStateInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor\+::remove\+Sub\+Render\+State\+Instance (\begin{DoxyParamCaption}\item[{\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 \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\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}!get\+Sub\+Render\+State\+Instance\+Set@{get\+Sub\+Render\+State\+Instance\+Set}}
\index{get\+Sub\+Render\+State\+Instance\+Set@{get\+Sub\+Render\+State\+Instance\+Set}!Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}}
\subsubsection{\texorpdfstring{get\+Sub\+Render\+State\+Instance\+Set()}{getSubRenderStateInstanceSet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \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 \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\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}!get\+Sub\+Render\+State\+Instance\+Set@{get\+Sub\+Render\+State\+Instance\+Set}}
\index{get\+Sub\+Render\+State\+Instance\+Set@{get\+Sub\+Render\+State\+Instance\+Set}!Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}}
\subsubsection{\texorpdfstring{get\+Sub\+Render\+State\+Instance\+Set()}{getSubRenderStateInstanceSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \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 \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}. 

(const version). 

\subsection{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\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}!Sub\+Render\+State@{Sub\+Render\+State}}
\index{Sub\+Render\+State@{Sub\+Render\+State}!Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor@{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Accessor}}
\subsubsection{\texorpdfstring{Sub\+Render\+State}{SubRenderState}}
{\footnotesize\ttfamily friend class \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 
\hyperlink{_ogre_shader_sub_render_state_8h}{Ogre\+Shader\+Sub\+Render\+State.\+h}\end{DoxyCompactItemize}
