\hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning}{}\doxysection{Ogre\+::R\+T\+Shader\+::Hardware\+Skinning Class Reference}
\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning}\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}


Implement a sub render state which performs hardware skinning.  




{\ttfamily \#include $<$Ogre\+Shader\+Ex\+Hardware\+Skinning.\+h$>$}



Inheritance diagram for Ogre\+::R\+T\+Shader\+::Hardware\+Skinning\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=230pt]{class_ogre_1_1_r_t_shader_1_1_hardware_skinning__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct_ogre_1_1_r_t_shader_1_1_hardware_skinning_1_1_skinning_data}{Skinning\+Data}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a1e08469498f970bd5bbca97ebad06fdb}{Hardware\+Skinning}} ()
\begin{DoxyCompactList}\small\item\em Class default constructor. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_afbaed9f0f34a5e269c3a66e597b1bd7f}{\+\_\+set\+Creator}} (const \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_factory}{Hardware\+Skinning\+Factory}} $\ast$p\+Creator)
\begin{DoxyCompactList}\small\item\em Set the factory which created this sub render state. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a21c57fdf67524a8abe49c2cd499f7a87}{copy\+From}} (const \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} \&rhs)
\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a4b43c261946926ebbc6456deccc6697a}{create\+Cpu\+Sub\+Programs}} (\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_set}{Program\+Set}} $\ast$program\+Set)
\begin{DoxyCompactList}\small\item\em Create sub programs that represents this sub render state as part of a program set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___r_t_shader_gaecbe3817ee5b43f1962309c03d39da99}{Sub\+Render\+State\+Accessor\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_aa73560a3f1b9117cb8b438867848c255}{get\+Accessor}} ()
\begin{DoxyCompactList}\small\item\em Return the accessor object to this sub render state. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___r_t_shader_gaecbe3817ee5b43f1962309c03d39da99}{Sub\+Render\+State\+Accessor\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a9d34ec312d5b8a627be41da5b57382eb}{get\+Accessor}} () const
\begin{DoxyCompactList}\small\item\em Return the accessor object to this sub render state. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ac510a5ea44e2573409984d4e6c83e5db}{get\+Bone\+Count}} ()
\begin{DoxyCompactList}\small\item\em Returns the number of bones in the model assigned to the material. \end{DoxyCompactList}\item 
virtual int \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ad014bc8d7d932405ebe8099c2231968a}{get\+Execution\+Order}} () const
\item 
\mbox{\hyperlink{namespace_ogre_1_1_r_t_shader_a8c100ce939d23573f062f3ad579998a1}{Skinning\+Type}} \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ab6b1f8eae01343ed8c70084c4ad18d55}{get\+Skinning\+Type}} ()
\begin{DoxyCompactList}\small\item\em Returns the current skinning type in use. \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a5482d3476401bfb267daa11298473e39}{get\+Type}} () const
\item 
\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a138a4ec63a02e8d95f452ba17e7f2550}{get\+Weight\+Count}} ()
\begin{DoxyCompactList}\small\item\em Returns the number of weights/bones affecting a vertex. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a47c2a973ec5815b73497f22d0b5d6785}{has\+Correct\+Antipodality\+Handling}} ()
\begin{DoxyCompactList}\small\item\em Only applicable for dual quaternion skinning. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a299f8e0716a9af5c60fddb79cacddd19}{has\+Scaling\+Shearing\+Support}} ()
\begin{DoxyCompactList}\small\item\em Only applicable for dual quaternion skinning. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_aaf555a29a0e6eea40510ca58ae15599d}{pre\+Add\+To\+Render\+State}} (const \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_render_state}{Render\+State}} $\ast$render\+State, \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$src\+Pass, \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$dst\+Pass)
\item 
void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}{set\+Hardware\+Skinning\+Param}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} bone\+Count, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} weight\+Count, \mbox{\hyperlink{namespace_ogre_1_1_r_t_shader_a8c100ce939d23573f062f3ad579998a1}{Skinning\+Type}} skinning\+Type=\mbox{\hyperlink{namespace_ogre_1_1_r_t_shader_a8c100ce939d23573f062f3ad579998a1ab979c94e41c61d62d15f4771c5202e3c}{S\+T\+\_\+\+L\+I\+N\+E\+AR}}, bool correct\+Antipodality\+Handling=false, bool scaling\+Shearing\+Support=false)
\begin{DoxyCompactList}\small\item\em Set the hardware skinning parameters. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a4e7f1ead52ab9eda034441d0f3225af9}{update\+Gpu\+Programs\+Params}} (\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$rend, const \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$pass, const \mbox{\hyperlink{class_ogre_1_1_auto_param_data_source}{Auto\+Param\+Data\+Source}} $\ast$source, const \mbox{\hyperlink{group___general_gaab30ef14aae93306a6044cb38d835f0c}{Light\+List}} $\ast$p\+Light\+List)
\begin{DoxyCompactList}\small\item\em Update G\+PU programs parameters before a rendering operation occurs. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a034e6f97519173fa13a4c38090184fde}{Type}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Implement a sub render state which performs hardware skinning. 

Meaning, this sub render states adds calculations which multiply the points and normals by their assigned bone matricies. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a1e08469498f970bd5bbca97ebad06fdb}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a1e08469498f970bd5bbca97ebad06fdb}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!HardwareSkinning@{HardwareSkinning}}
\index{HardwareSkinning@{HardwareSkinning}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{HardwareSkinning()}{HardwareSkinning()}}
{\footnotesize\ttfamily Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::\+Hardware\+Skinning (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Class default constructor. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a5482d3476401bfb267daa11298473e39}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a5482d3476401bfb267daa11298473e39}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!getType@{getType}}
\index{getType@{getType}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{getType()}{getType()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::get\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_ae91b7b8f76848d67652b6e5832a27a49}{Sub\+Render\+State\+::get\+Type}}. 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_ae91b7b8f76848d67652b6e5832a27a49}{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State}}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ad014bc8d7d932405ebe8099c2231968a}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ad014bc8d7d932405ebe8099c2231968a}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!getExecutionOrder@{getExecutionOrder}}
\index{getExecutionOrder@{getExecutionOrder}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{getExecutionOrder()}{getExecutionOrder()}}
{\footnotesize\ttfamily virtual int Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::get\+Execution\+Order (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_ae91b7b8f76848d67652b6e5832a27a49}{Sub\+Render\+State\+::get\+Type}}. 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_acb48c34ee231f0220f68c967fb32f1e5}{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State}}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a21c57fdf67524a8abe49c2cd499f7a87}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a21c57fdf67524a8abe49c2cd499f7a87}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!copyFrom@{copyFrom}}
\index{copyFrom@{copyFrom}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{copyFrom()}{copyFrom()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::copy\+From (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}} \&}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a5dfe9f03413e0fe99ea2640f06c1f13c}{Sub\+Render\+State\+::copy\+From}}. 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a5dfe9f03413e0fe99ea2640f06c1f13c}{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State}}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!setHardwareSkinningParam@{setHardwareSkinningParam}}
\index{setHardwareSkinningParam@{setHardwareSkinningParam}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{setHardwareSkinningParam()}{setHardwareSkinningParam()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::set\+Hardware\+Skinning\+Param (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{bone\+Count,  }\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{weight\+Count,  }\item[{\mbox{\hyperlink{namespace_ogre_1_1_r_t_shader_a8c100ce939d23573f062f3ad579998a1}{Skinning\+Type}}}]{skinning\+Type = {\ttfamily \mbox{\hyperlink{namespace_ogre_1_1_r_t_shader_a8c100ce939d23573f062f3ad579998a1ab979c94e41c61d62d15f4771c5202e3c}{S\+T\+\_\+\+L\+I\+N\+E\+AR}}},  }\item[{bool}]{correct\+Antipodality\+Handling = {\ttfamily false},  }\item[{bool}]{scaling\+Shearing\+Support = {\ttfamily false} }\end{DoxyParamCaption})}



Set the hardware skinning parameters. 


\begin{DoxyParams}{Parameters}
{\em bone\+Count} & The maximum number of bones in the model this material is assigned to. Note that this parameter can be higher but not lower than the actual number of bones. \\
\hline
{\em weight\+Count} & The maximum number of weights/bones affecting a vertex. \\
\hline
{\em skinning\+Type} & The type of skinning desired. \\
\hline
{\em correct\+Antipodality\+Handling} & If correct antipodality handling should be utilized (Only applicable for dual quaternion skinning). \\
\hline
{\em scaling\+Shearing\+Support} & If scaling and shearing support should be enabled (Only applicable for dual quaternion skinning). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ac510a5ea44e2573409984d4e6c83e5db}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ac510a5ea44e2573409984d4e6c83e5db}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!getBoneCount@{getBoneCount}}
\index{getBoneCount@{getBoneCount}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{getBoneCount()}{getBoneCount()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::get\+Bone\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the number of bones in the model assigned to the material. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}{set\+Hardware\+Skinning\+Param()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a138a4ec63a02e8d95f452ba17e7f2550}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a138a4ec63a02e8d95f452ba17e7f2550}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!getWeightCount@{getWeightCount}}
\index{getWeightCount@{getWeightCount}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{getWeightCount()}{getWeightCount()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::get\+Weight\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the number of weights/bones affecting a vertex. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}{set\+Hardware\+Skinning\+Param()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ab6b1f8eae01343ed8c70084c4ad18d55}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_ab6b1f8eae01343ed8c70084c4ad18d55}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!getSkinningType@{getSkinningType}}
\index{getSkinningType@{getSkinningType}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{getSkinningType()}{getSkinningType()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_1_1_r_t_shader_a8c100ce939d23573f062f3ad579998a1}{Skinning\+Type}} Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::get\+Skinning\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns the current skinning type in use. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}{set\+Hardware\+Skinning\+Param()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a47c2a973ec5815b73497f22d0b5d6785}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a47c2a973ec5815b73497f22d0b5d6785}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!hasCorrectAntipodalityHandling@{hasCorrectAntipodalityHandling}}
\index{hasCorrectAntipodalityHandling@{hasCorrectAntipodalityHandling}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{hasCorrectAntipodalityHandling()}{hasCorrectAntipodalityHandling()}}
{\footnotesize\ttfamily bool Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::has\+Correct\+Antipodality\+Handling (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Only applicable for dual quaternion skinning. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}{set\+Hardware\+Skinning\+Param()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a299f8e0716a9af5c60fddb79cacddd19}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a299f8e0716a9af5c60fddb79cacddd19}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!hasScalingShearingSupport@{hasScalingShearingSupport}}
\index{hasScalingShearingSupport@{hasScalingShearingSupport}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{hasScalingShearingSupport()}{hasScalingShearingSupport()}}
{\footnotesize\ttfamily bool Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::has\+Scaling\+Shearing\+Support (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Only applicable for dual quaternion skinning. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a7c331680f4f37b9c1c8ebdc2f9eb48cc}{set\+Hardware\+Skinning\+Param()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_aaf555a29a0e6eea40510ca58ae15599d}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_aaf555a29a0e6eea40510ca58ae15599d}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!preAddToRenderState@{preAddToRenderState}}
\index{preAddToRenderState@{preAddToRenderState}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{preAddToRenderState()}{preAddToRenderState()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::pre\+Add\+To\+Render\+State (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_render_state}{Render\+State}} $\ast$}]{render\+State,  }\item[{\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$}]{src\+Pass,  }\item[{\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$}]{dst\+Pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_afd08043cfad43a1ae470c3c1be341ba1}{Sub\+Render\+State\+::pre\+Add\+To\+Render\+State}}. 
\end{DoxySeeAlso}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_afd08043cfad43a1ae470c3c1be341ba1}{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State}}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_afbaed9f0f34a5e269c3a66e597b1bd7f}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_afbaed9f0f34a5e269c3a66e597b1bd7f}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!\_setCreator@{\_setCreator}}
\index{\_setCreator@{\_setCreator}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{\_setCreator()}{\_setCreator()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::\+\_\+set\+Creator (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_factory}{Hardware\+Skinning\+Factory}} $\ast$}]{p\+Creator }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the factory which created this sub render state. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a4b43c261946926ebbc6456deccc6697a}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a4b43c261946926ebbc6456deccc6697a}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!createCpuSubPrograms@{createCpuSubPrograms}}
\index{createCpuSubPrograms@{createCpuSubPrograms}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{createCpuSubPrograms()}{createCpuSubPrograms()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+::create\+Cpu\+Sub\+Programs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_set}{Program\+Set}} $\ast$}]{program\+Set }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Create sub programs that represents this sub render state as part of a program set. 

The given program set contains C\+PU programs that represents a vertex shader and pixel shader. One should use these program class A\+PI to create a representation of the sub state he wished to implement. 
\begin{DoxyParams}{Parameters}
{\em program\+Set} & container class of C\+PU and G\+PU programs that this sub state will affect on. \\
\hline
\end{DoxyParams}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_f_f_p_transform_a92be790cb34c6f56f18cb75e428a0e54}{Ogre\+::\+R\+T\+Shader\+::\+F\+F\+P\+Transform}}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a4e7f1ead52ab9eda034441d0f3225af9}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a4e7f1ead52ab9eda034441d0f3225af9}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!updateGpuProgramsParams@{updateGpuProgramsParams}}
\index{updateGpuProgramsParams@{updateGpuProgramsParams}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{updateGpuProgramsParams()}{updateGpuProgramsParams()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+::update\+Gpu\+Programs\+Params (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$}]{rend,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$}]{pass,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_auto_param_data_source}{Auto\+Param\+Data\+Source}} $\ast$}]{source,  }\item[{const \mbox{\hyperlink{group___general_gaab30ef14aae93306a6044cb38d835f0c}{Light\+List}} $\ast$}]{p\+Light\+List }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Update G\+PU programs parameters before a rendering operation occurs. 

This method is called in the context of Scene\+Manager\+::render\+Single object via the \mbox{\hyperlink{class_ogre_1_1_render_object_listener}{Render\+Object\+Listener}} interface and lets this sub render state instance opportunity to update custom G\+PU program parameters before the rendering action occurs. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_render_object_listener_a99b1b17e89efbbce74756925a4acad38}{Render\+Object\+Listener\+::notify\+Render\+Single\+Object}}. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em rend} & The renderable that is about to be rendered. \\
\hline
{\em pass} & The pass that used for this rendering. \\
\hline
{\em source} & The auto parameter source. \\
\hline
{\em p\+Light\+List} & The light list used in the current rendering context. \\
\hline
\end{DoxyParams}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_triplanar_texturing_a3ef781cfaddc6dfa0a7304097d50154a}{Ogre\+::\+R\+T\+Shader\+::\+Triplanar\+Texturing}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_a2c76b2d5fb2987a00afa89ac3791fe71}{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_f_f_p_alpha_test_acb51c3ab9d29e1ceab2cb07bddd3ce2d}{Ogre\+::\+R\+T\+Shader\+::\+F\+F\+P\+Alpha\+Test}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_f_f_p_fog_aa30fb4a1b8ff8729ddd1dee72a1773a7}{Ogre\+::\+R\+T\+Shader\+::\+F\+F\+P\+Fog}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_integrated_p_s_s_m3_ab2f76951f52f6ebd234a3140e2e9841c}{Ogre\+::\+R\+T\+Shader\+::\+Integrated\+P\+S\+S\+M3}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_f_f_p_texturing_a116c0f1629b41df77d42f23908631489}{Ogre\+::\+R\+T\+Shader\+::\+F\+F\+P\+Texturing}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_f_f_p_lighting_adf8e004b962ba95d5d11fb47fe7a7530}{Ogre\+::\+R\+T\+Shader\+::\+F\+F\+P\+Lighting}}, and \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_normal_map_lighting_ac1ae6e2ad7ccdfb4f4ae68fa60cce4a1}{Ogre\+::\+R\+T\+Shader\+::\+Normal\+Map\+Lighting}}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_aa73560a3f1b9117cb8b438867848c255}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_aa73560a3f1b9117cb8b438867848c255}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!getAccessor@{getAccessor}}
\index{getAccessor@{getAccessor}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{getAccessor()}{getAccessor()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___r_t_shader_gaecbe3817ee5b43f1962309c03d39da99}{Sub\+Render\+State\+Accessor\+Ptr}} Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+::get\+Accessor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Return the accessor object to this sub render state. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor}{Sub\+Render\+State\+Accessor}}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a9d34ec312d5b8a627be41da5b57382eb}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_a9d34ec312d5b8a627be41da5b57382eb}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!getAccessor@{getAccessor}}
\index{getAccessor@{getAccessor}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{getAccessor()}{getAccessor()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___r_t_shader_gaecbe3817ee5b43f1962309c03d39da99}{Sub\+Render\+State\+Accessor\+Ptr}} Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+::get\+Accessor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Return the accessor object to this sub render state. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_accessor}{Sub\+Render\+State\+Accessor}}. 
\end{DoxySeeAlso}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a034e6f97519173fa13a4c38090184fde}\label{class_ogre_1_1_r_t_shader_1_1_hardware_skinning_a034e6f97519173fa13a4c38090184fde}} 
\index{Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}!Type@{Type}}
\index{Type@{Type}!Ogre::RTShader::HardwareSkinning@{Ogre::RTShader::HardwareSkinning}}
\doxysubsubsection{\texorpdfstring{Type}{Type}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+R\+T\+Shader\+::\+Hardware\+Skinning\+::\+Type\hspace{0.3cm}{\ttfamily [static]}}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_shader_ex_hardware_skinning_8h}{Ogre\+Shader\+Ex\+Hardware\+Skinning.\+h}}\end{DoxyCompactItemize}
