\hypertarget{class_ogre_1_1_node_1_1_debug_renderable}{}\section{Ogre\+:\+:Node\+:\+:Debug\+Renderable Class Reference}
\label{class_ogre_1_1_node_1_1_debug_renderable}\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}


Inner class for displaying debug renderable for \hyperlink{class_ogre_1_1_node}{Node}.  




{\ttfamily \#include $<$Ogre\+Node.\+h$>$}



Inheritance diagram for Ogre\+:\+:Node\+:\+:Debug\+Renderable\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=266pt]{class_ogre_1_1_node_1_1_debug_renderable__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{class_ogre_1_1_shared_ptr}{Shared\+Ptr}$<$ \hyperlink{class_ogre_1_1_renderable_1_1_render_system_data}{Render\+System\+Data} $>$ \hyperlink{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}{Render\+System\+Data\+Ptr}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a55a914401276f0be0a3da0d39eee004d}{Debug\+Renderable} (\hyperlink{class_ogre_1_1_node}{Node} $\ast$parent)
\item 
\hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a247c43795e47610999aece377c1cb79a}{$\sim$\+Debug\+Renderable} ()
\item 
virtual void \hyperlink{class_ogre_1_1_renderable_a742052f8185975e8b92103c924b005d3}{\+\_\+update\+Custom\+Gpu\+Parameter} (const \hyperlink{class_ogre_1_1_gpu_program_parameters_1_1_auto_constant_entry}{Gpu\+Program\+Parameters\+::\+Auto\+Constant\+Entry} \&constant\+Entry, \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters} $\ast$params) const
\begin{DoxyCompactList}\small\item\em Update a custom \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters} constant which is derived from information only this \hyperlink{class_ogre_1_1_renderable}{Renderable} knows. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_renderable_a3d5e8933145d36977b8c2b64e307bc59}{get\+Casts\+Shadows} (void) const
\begin{DoxyCompactList}\small\item\em Method which reports whether this renderable would normally cast a shadow. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_vector4}{Vector4} \& \hyperlink{class_ogre_1_1_renderable_ae3ad78c8e756ea5fb43d7830462abb1f}{get\+Custom\+Parameter} (size\+\_\+t index) const
\begin{DoxyCompactList}\small\item\em Gets the custom value associated with this \hyperlink{class_ogre_1_1_renderable}{Renderable} at the given index. \end{DoxyCompactList}\item 
const \hyperlink{group___general_gaab30ef14aae93306a6044cb38d835f0c}{Light\+List} \& \hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a801e13663dcf5c62f1dd34954f9d8a25}{get\+Lights} (void) const
\begin{DoxyCompactList}\small\item\em Gets a list of lights, ordered relative to how close they are to this renderable. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr} \& \hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a40dda5f052e0f4da0075f2761efb5252}{get\+Material} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves a weak reference to the material this renderable object uses. \end{DoxyCompactList}\item 
virtual unsigned short \hyperlink{class_ogre_1_1_renderable_a47508d27a6c799998047c50ec43e9897}{get\+Num\+World\+Transforms} (void) const
\begin{DoxyCompactList}\small\item\em Returns the number of world transform matrices this renderable requires. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_renderable_ae944917873dd68126c129f05e51622d3}{get\+Polygon\+Mode\+Overrideable} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether this renderable\textquotesingle{}s chosen detail level can be overridden (downgraded) by the camera setting. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a9f268ab9bb393670ea6cd46b666c5bfa}{get\+Render\+Operation} (\hyperlink{class_ogre_1_1_render_operation}{Render\+Operation} \&op)
\begin{DoxyCompactList}\small\item\em Gets the render operation required to send this object to the frame buffer. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}{Render\+System\+Data\+Ptr} \& \hyperlink{class_ogre_1_1_renderable_a8043bede518f35c709880e4f3248a026}{get\+Render\+System\+Data} () const
\begin{DoxyCompactList}\small\item\em Gets \hyperlink{class_ogre_1_1_render_system}{Render\+System} private data. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a58513470617aaf9f2d07b75a2ceb8f35}{get\+Squared\+View\+Depth} (const \hyperlink{class_ogre_1_1_camera}{Camera} $\ast$cam) const
\begin{DoxyCompactList}\small\item\em Returns the camera-\/relative squared depth of this renderable. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ \hyperlink{class_ogre_1_1_renderable_acc31580439662586a72b25a5604b300f}{get\+Technique} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves a pointer to the \hyperlink{class_ogre_1_1_material}{Material} \hyperlink{class_ogre_1_1_technique}{Technique} this renderable object uses. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_renderable_af630e6230261ecca2ecbfcf0b0ee9ce9}{get\+Use\+Identity\+Projection} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not to use an \textquotesingle{}identity\textquotesingle{} projection. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_renderable_a869e7226c48fbff5dafef92b2b929b5e}{get\+Use\+Identity\+View} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not to use an \textquotesingle{}identity\textquotesingle{} view. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_any}{Any} \& \hyperlink{class_ogre_1_1_renderable_a9cf204a5b5df75c8c745560551657358}{get\+User\+Any} (void) const
\item 
\hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings} \& \hyperlink{class_ogre_1_1_renderable_a2ed9a2f3c1decac6286f8af974ce2ffc}{get\+User\+Object\+Bindings} ()
\begin{DoxyCompactList}\small\item\em Return an instance of user objects binding associated with this class. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings} \& \hyperlink{class_ogre_1_1_renderable_a472c926a6d05d05752fc195c8d606a85}{get\+User\+Object\+Bindings} () const
\begin{DoxyCompactList}\small\item\em Return an instance of user objects binding associated with this class. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a8e42846ab4669997af47fcb687a3bcc7}{get\+World\+Transforms} (\hyperlink{class_ogre_1_1_matrix4}{Matrix4} $\ast$xform) const
\begin{DoxyCompactList}\small\item\em Gets the world transform matrix / matrices for this renderable object. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_renderable_a812d3b0f5df694b92084a98387d8f215}{has\+Custom\+Parameter} (size\+\_\+t index) const
\begin{DoxyCompactList}\small\item\em Checks whether a custom value is associated with this \hyperlink{class_ogre_1_1_renderable}{Renderable} at the given index. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_renderable_a77230eea8136b7c296cc0a5db1dba9ee}{post\+Render} (\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$sm, \hyperlink{class_ogre_1_1_render_system}{Render\+System} $\ast$rsys)
\begin{DoxyCompactList}\small\item\em Called immediately after the \hyperlink{class_ogre_1_1_renderable}{Renderable} has been rendered. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_renderable_afcbf4cb36d5911a9d40a40c57e94f23b}{pre\+Render} (\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$sm, \hyperlink{class_ogre_1_1_render_system}{Render\+System} $\ast$rsys)
\begin{DoxyCompactList}\small\item\em Called just prior to the \hyperlink{class_ogre_1_1_renderable}{Renderable} being rendered. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_renderable_a0c726a0326e8a7d9e80d030541b6bddf}{remove\+Custom\+Parameter} (size\+\_\+t index)
\begin{DoxyCompactList}\small\item\em Removes a custom value which is associated with this \hyperlink{class_ogre_1_1_renderable}{Renderable} at the given index. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_renderable_a572c0331ef2ec650d56063fdc17435f5}{set\+Custom\+Parameter} (size\+\_\+t index, const \hyperlink{class_ogre_1_1_vector4}{Vector4} \&value)
\begin{DoxyCompactList}\small\item\em Sets a custom parameter for this \hyperlink{class_ogre_1_1_renderable}{Renderable}, which may be used to drive calculations for this specific \hyperlink{class_ogre_1_1_renderable}{Renderable}, like G\+PU program parameters. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_renderable_a2f770d6ba9b3d97bdc63ecf0e3888aab}{set\+Polygon\+Mode\+Overrideable} (bool override)
\begin{DoxyCompactList}\small\item\em Sets whether this renderable\textquotesingle{}s chosen detail level can be overridden (downgraded) by the camera setting. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_renderable_a3dc69374127d00ea2c2f9f39cf2105bb}{set\+Render\+System\+Data} (\hyperlink{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}{Render\+System\+Data\+Ptr} val) const
\begin{DoxyCompactList}\small\item\em Sets \hyperlink{class_ogre_1_1_render_system}{Render\+System} private data. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_node_1_1_debug_renderable_a0aa6fef253ed7a749d0c896aee357cb8}{set\+Scaling} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} s)
\item 
void \hyperlink{class_ogre_1_1_renderable_a4136ce4b9d3add5203339327015d872d}{set\+Use\+Identity\+Projection} (bool use\+Identity\+Projection)
\begin{DoxyCompactList}\small\item\em Sets whether or not to use an \textquotesingle{}identity\textquotesingle{} projection. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_renderable_ae53cff42a16304f582ef83ad3017d614}{set\+Use\+Identity\+View} (bool use\+Identity\+View)
\begin{DoxyCompactList}\small\item\em Sets whether or not to use an \textquotesingle{}identity\textquotesingle{} view. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_renderable_abd85c7ae6f5de865b8037f37e426886e}{set\+User\+Any} (const \hyperlink{class_ogre_1_1_any}{Any} \&anything)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Inner class for displaying debug renderable for \hyperlink{class_ogre_1_1_node}{Node}. 



\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}\label{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!Render\+System\+Data\+Ptr@{Render\+System\+Data\+Ptr}}
\index{Render\+System\+Data\+Ptr@{Render\+System\+Data\+Ptr}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{Render\+System\+Data\+Ptr}{RenderSystemDataPtr}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_shared_ptr}{Shared\+Ptr}$<$\hyperlink{class_ogre_1_1_renderable_1_1_render_system_data}{Render\+System\+Data}$>$ \hyperlink{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}{Ogre\+::\+Renderable\+::\+Render\+System\+Data\+Ptr}\hspace{0.3cm}{\ttfamily [inherited]}}



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a55a914401276f0be0a3da0d39eee004d}\label{class_ogre_1_1_node_1_1_debug_renderable_a55a914401276f0be0a3da0d39eee004d}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!Debug\+Renderable@{Debug\+Renderable}}
\index{Debug\+Renderable@{Debug\+Renderable}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{Debug\+Renderable()}{DebugRenderable()}}
{\footnotesize\ttfamily Ogre\+::\+Node\+::\+Debug\+Renderable\+::\+Debug\+Renderable (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_node}{Node} $\ast$}]{parent }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a247c43795e47610999aece377c1cb79a}\label{class_ogre_1_1_node_1_1_debug_renderable_a247c43795e47610999aece377c1cb79a}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!````~Debug\+Renderable@{$\sim$\+Debug\+Renderable}}
\index{````~Debug\+Renderable@{$\sim$\+Debug\+Renderable}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{$\sim$\+Debug\+Renderable()}{~DebugRenderable()}}
{\footnotesize\ttfamily Ogre\+::\+Node\+::\+Debug\+Renderable\+::$\sim$\+Debug\+Renderable (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a40dda5f052e0f4da0075f2761efb5252}\label{class_ogre_1_1_node_1_1_debug_renderable_a40dda5f052e0f4da0075f2761efb5252}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Material@{get\+Material}}
\index{get\+Material@{get\+Material}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Material()}{getMaterial()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}\& Ogre\+::\+Node\+::\+Debug\+Renderable\+::get\+Material (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Retrieves a weak reference to the material this renderable object uses. 

\begin{DoxyRemark}{Remarks}
Note that the \hyperlink{class_ogre_1_1_renderable}{Renderable} also has the option to override the get\+Technique method to specify a particular \hyperlink{class_ogre_1_1_technique}{Technique} to use instead of the best one available. 
\end{DoxyRemark}


Implements \hyperlink{class_ogre_1_1_renderable_a7132944645c7b62d6b2bfff6a64fad31}{Ogre\+::\+Renderable}.

\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a9f268ab9bb393670ea6cd46b666c5bfa}\label{class_ogre_1_1_node_1_1_debug_renderable_a9f268ab9bb393670ea6cd46b666c5bfa}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Render\+Operation@{get\+Render\+Operation}}
\index{get\+Render\+Operation@{get\+Render\+Operation}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Render\+Operation()}{getRenderOperation()}}
{\footnotesize\ttfamily void Ogre\+::\+Node\+::\+Debug\+Renderable\+::get\+Render\+Operation (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_render_operation}{Render\+Operation} \&}]{op }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the render operation required to send this object to the frame buffer. 



Implements \hyperlink{class_ogre_1_1_renderable_a3621cee2a019e59d3671c1a204caf4c7}{Ogre\+::\+Renderable}.

\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a8e42846ab4669997af47fcb687a3bcc7}\label{class_ogre_1_1_node_1_1_debug_renderable_a8e42846ab4669997af47fcb687a3bcc7}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+World\+Transforms@{get\+World\+Transforms}}
\index{get\+World\+Transforms@{get\+World\+Transforms}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+World\+Transforms()}{getWorldTransforms()}}
{\footnotesize\ttfamily void Ogre\+::\+Node\+::\+Debug\+Renderable\+::get\+World\+Transforms (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_matrix4}{Matrix4} $\ast$}]{xform }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the world transform matrix / matrices for this renderable object. 

\begin{DoxyRemark}{Remarks}
If the object has any derived transforms, these are expected to be up to date as long as all the \hyperlink{class_ogre_1_1_scene_node}{Scene\+Node} structures have been updated before this is called. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method will populate transform with 1 matrix if it does not use vertex blending. If it does use vertex blending it will fill the passed in pointer with an array of matrices, the length being the value returned from get\+Num\+World\+Transforms. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
Internal \hyperlink{namespace_ogre}{Ogre} never supports non-\/affine matrix for world transform matrix/matrices, the behavior is undefined if returns non-\/affine matrix here. 
\end{DoxyNote}


Implements \hyperlink{class_ogre_1_1_renderable_a897d64f73a5e6ccc45d52a88e86392e1}{Ogre\+::\+Renderable}.

\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a58513470617aaf9f2d07b75a2ceb8f35}\label{class_ogre_1_1_node_1_1_debug_renderable_a58513470617aaf9f2d07b75a2ceb8f35}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Squared\+View\+Depth@{get\+Squared\+View\+Depth}}
\index{get\+Squared\+View\+Depth@{get\+Squared\+View\+Depth}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Squared\+View\+Depth()}{getSquaredViewDepth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Node\+::\+Debug\+Renderable\+::get\+Squared\+View\+Depth (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_camera}{Camera} $\ast$}]{cam }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns the camera-\/relative squared depth of this renderable. 

\begin{DoxyRemark}{Remarks}
Used to sort transparent objects. Squared depth is used rather than actual depth to avoid having to perform a square root on the result. 
\end{DoxyRemark}


Implements \hyperlink{class_ogre_1_1_renderable_a32353addc2f1d02512314b5d1a53c5c1}{Ogre\+::\+Renderable}.

\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a801e13663dcf5c62f1dd34954f9d8a25}\label{class_ogre_1_1_node_1_1_debug_renderable_a801e13663dcf5c62f1dd34954f9d8a25}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Lights@{get\+Lights}}
\index{get\+Lights@{get\+Lights}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Lights()}{getLights()}}
{\footnotesize\ttfamily const \hyperlink{group___general_gaab30ef14aae93306a6044cb38d835f0c}{Light\+List}\& Ogre\+::\+Node\+::\+Debug\+Renderable\+::get\+Lights (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets a list of lights, ordered relative to how close they are to this renderable. 

\begin{DoxyRemark}{Remarks}
Directional lights, which have no position, will always be first on this list. 
\end{DoxyRemark}


Implements \hyperlink{class_ogre_1_1_renderable_a91a5cc5e517b7c79fa510b9fdcc98691}{Ogre\+::\+Renderable}.

\mbox{\Hypertarget{class_ogre_1_1_node_1_1_debug_renderable_a0aa6fef253ed7a749d0c896aee357cb8}\label{class_ogre_1_1_node_1_1_debug_renderable_a0aa6fef253ed7a749d0c896aee357cb8}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!set\+Scaling@{set\+Scaling}}
\index{set\+Scaling@{set\+Scaling}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{set\+Scaling()}{setScaling()}}
{\footnotesize\ttfamily void Ogre\+::\+Node\+::\+Debug\+Renderable\+::set\+Scaling (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{s }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_renderable_acc31580439662586a72b25a5604b300f}\label{class_ogre_1_1_renderable_acc31580439662586a72b25a5604b300f}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Technique@{get\+Technique}}
\index{get\+Technique@{get\+Technique}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Technique()}{getTechnique()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_technique}{Technique}$\ast$ Ogre\+::\+Renderable\+::get\+Technique (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieves a pointer to the \hyperlink{class_ogre_1_1_material}{Material} \hyperlink{class_ogre_1_1_technique}{Technique} this renderable object uses. 

\begin{DoxyRemark}{Remarks}
This is to allow Renderables to use a chosen \hyperlink{class_ogre_1_1_technique}{Technique} if they wish, otherwise they will use the best \hyperlink{class_ogre_1_1_technique}{Technique} available for the \hyperlink{class_ogre_1_1_material}{Material} they are using. 
\end{DoxyRemark}


Reimplemented in \hyperlink{group___scene_ga669f14748bd5c2cf8c8559c83371bdf5}{Ogre\+::\+Instance\+Batch}, \hyperlink{class_ogre_1_1_static_geometry_1_1_geometry_bucket_ae7444c827119bceb08313bb8c73fbab3}{Ogre\+::\+Static\+Geometry\+::\+Geometry\+Bucket}, and \hyperlink{class_ogre_1_1_sub_entity_a782d3a85919ab3b17a4fb79f218eed34}{Ogre\+::\+Sub\+Entity}.

\mbox{\Hypertarget{class_ogre_1_1_renderable_afcbf4cb36d5911a9d40a40c57e94f23b}\label{class_ogre_1_1_renderable_afcbf4cb36d5911a9d40a40c57e94f23b}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!pre\+Render@{pre\+Render}}
\index{pre\+Render@{pre\+Render}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{pre\+Render()}{preRender()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Renderable\+::pre\+Render (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$}]{sm,  }\item[{\hyperlink{class_ogre_1_1_render_system}{Render\+System} $\ast$}]{rsys }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Called just prior to the \hyperlink{class_ogre_1_1_renderable}{Renderable} being rendered. 

\begin{DoxyRemark}{Remarks}
O\+G\+RE is a queued renderer, so the actual render commands are executed at a later time than the point at which an object is discovered to be visible. This allows ordering \& grouping of renders without the discovery process having to be aware of it. It also means O\+G\+RE uses declarative render information rather than immediate mode rendering -\/ this is very useful in that certain effects and processes can automatically be applied to a wide range of scenes, but the downside is that special cases are more difficult to handle, because there is not the declared state to cope with it. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method allows a \hyperlink{class_ogre_1_1_renderable}{Renderable} to do something special at the actual point of rendering if it wishes to. When this method is called, all the material render state as declared by this \hyperlink{class_ogre_1_1_renderable}{Renderable} has already been set, all that is left to do is to bind the buffers and perform the render. The \hyperlink{class_ogre_1_1_renderable}{Renderable} may modify render state itself if it wants to (and restore it in the post\+Render call) before the automated render happens, or by returning \textquotesingle{}false\textquotesingle{} from this method can actually suppress the automatic render and perform one of its own. 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
true if the automatic render should proceed, false to skip it on the assumption that the \hyperlink{class_ogre_1_1_renderable}{Renderable} has done it manually. 
\end{DoxyReturn}


Reimplemented in \hyperlink{class_ogre_1_1_billboard_chain_af43447bc7d8a6090d856c008907cc2c0}{Ogre\+::\+Billboard\+Chain}.

\mbox{\Hypertarget{class_ogre_1_1_renderable_a77230eea8136b7c296cc0a5db1dba9ee}\label{class_ogre_1_1_renderable_a77230eea8136b7c296cc0a5db1dba9ee}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!post\+Render@{post\+Render}}
\index{post\+Render@{post\+Render}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{post\+Render()}{postRender()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Renderable\+::post\+Render (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$}]{sm,  }\item[{\hyperlink{class_ogre_1_1_render_system}{Render\+System} $\ast$}]{rsys }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Called immediately after the \hyperlink{class_ogre_1_1_renderable}{Renderable} has been rendered. 

\mbox{\Hypertarget{class_ogre_1_1_renderable_a47508d27a6c799998047c50ec43e9897}\label{class_ogre_1_1_renderable_a47508d27a6c799998047c50ec43e9897}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Num\+World\+Transforms@{get\+Num\+World\+Transforms}}
\index{get\+Num\+World\+Transforms@{get\+Num\+World\+Transforms}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Num\+World\+Transforms()}{getNumWorldTransforms()}}
{\footnotesize\ttfamily virtual unsigned short Ogre\+::\+Renderable\+::get\+Num\+World\+Transforms (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns the number of world transform matrices this renderable requires. 

\begin{DoxyRemark}{Remarks}
When a renderable uses vertex blending, it uses multiple world matrices instead of a single one. Each vertex sent to the pipeline can reference one or more matrices in this list with given weights. If a renderable does not use vertex blending this method returns 1, which is the default for simplicity. 
\end{DoxyRemark}


Reimplemented in \hyperlink{class_ogre_1_1_border_renderable_a5aa0618332344aa34d1e9aa602375812}{Ogre\+::\+Border\+Renderable}, \hyperlink{class_ogre_1_1_sub_entity_a34ce8f7cdbd23af4880bd32ad2949826}{Ogre\+::\+Sub\+Entity}, \hyperlink{group___scene_ga14b022135fb927a586edef028403a39d}{Ogre\+::\+Base\+Instance\+Batch\+V\+TF}, \hyperlink{group___scene_ga63d739ff9b72315e8466bc8197cf1223}{Ogre\+::\+Instance\+Batch\+HW}, and \hyperlink{group___scene_ga86c7f5afb1cde4b73937c687d02970b6}{Ogre\+::\+Instance\+Batch\+Shader}.

\mbox{\Hypertarget{class_ogre_1_1_renderable_a4136ce4b9d3add5203339327015d872d}\label{class_ogre_1_1_renderable_a4136ce4b9d3add5203339327015d872d}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!set\+Use\+Identity\+Projection@{set\+Use\+Identity\+Projection}}
\index{set\+Use\+Identity\+Projection@{set\+Use\+Identity\+Projection}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{set\+Use\+Identity\+Projection()}{setUseIdentityProjection()}}
{\footnotesize\ttfamily void Ogre\+::\+Renderable\+::set\+Use\+Identity\+Projection (\begin{DoxyParamCaption}\item[{bool}]{use\+Identity\+Projection }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets whether or not to use an \textquotesingle{}identity\textquotesingle{} projection. 

\begin{DoxyRemark}{Remarks}
Usually \hyperlink{class_ogre_1_1_renderable}{Renderable} objects will use a projection matrix as determined by the active camera. However, if they want they can cancel this out and use an identity projection, which effectively projects in 2D using a \{-\/1, 1\} view space. Useful for overlay rendering. Normal renderables need not change this. The default is false. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_renderable_af630e6230261ecca2ecbfcf0b0ee9ce9}{Renderable\+::get\+Use\+Identity\+Projection} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_af630e6230261ecca2ecbfcf0b0ee9ce9}\label{class_ogre_1_1_renderable_af630e6230261ecca2ecbfcf0b0ee9ce9}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Use\+Identity\+Projection@{get\+Use\+Identity\+Projection}}
\index{get\+Use\+Identity\+Projection@{get\+Use\+Identity\+Projection}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Use\+Identity\+Projection()}{getUseIdentityProjection()}}
{\footnotesize\ttfamily bool Ogre\+::\+Renderable\+::get\+Use\+Identity\+Projection (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether or not to use an \textquotesingle{}identity\textquotesingle{} projection. 

\begin{DoxyRemark}{Remarks}
Usually \hyperlink{class_ogre_1_1_renderable}{Renderable} objects will use a projection matrix as determined by the active camera. However, if they want they can cancel this out and use an identity projection, which effectively projects in 2D using a \{-\/1, 1\} view space. Useful for overlay rendering. Normal renderables need not change this. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_renderable_a4136ce4b9d3add5203339327015d872d}{Renderable\+::set\+Use\+Identity\+Projection} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_ae53cff42a16304f582ef83ad3017d614}\label{class_ogre_1_1_renderable_ae53cff42a16304f582ef83ad3017d614}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!set\+Use\+Identity\+View@{set\+Use\+Identity\+View}}
\index{set\+Use\+Identity\+View@{set\+Use\+Identity\+View}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{set\+Use\+Identity\+View()}{setUseIdentityView()}}
{\footnotesize\ttfamily void Ogre\+::\+Renderable\+::set\+Use\+Identity\+View (\begin{DoxyParamCaption}\item[{bool}]{use\+Identity\+View }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets whether or not to use an \textquotesingle{}identity\textquotesingle{} view. 

\begin{DoxyRemark}{Remarks}
Usually \hyperlink{class_ogre_1_1_renderable}{Renderable} objects will use a view matrix as determined by the active camera. However, if they want they can cancel this out and use an identity matrix, which means all geometry is assumed to be relative to camera space already. Useful for overlay rendering. Normal renderables need not change this. The default is false. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_renderable_a869e7226c48fbff5dafef92b2b929b5e}{Renderable\+::get\+Use\+Identity\+View} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_a869e7226c48fbff5dafef92b2b929b5e}\label{class_ogre_1_1_renderable_a869e7226c48fbff5dafef92b2b929b5e}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Use\+Identity\+View@{get\+Use\+Identity\+View}}
\index{get\+Use\+Identity\+View@{get\+Use\+Identity\+View}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Use\+Identity\+View()}{getUseIdentityView()}}
{\footnotesize\ttfamily bool Ogre\+::\+Renderable\+::get\+Use\+Identity\+View (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether or not to use an \textquotesingle{}identity\textquotesingle{} view. 

\begin{DoxyRemark}{Remarks}
Usually \hyperlink{class_ogre_1_1_renderable}{Renderable} objects will use a view matrix as determined by the active camera. However, if they want they can cancel this out and use an identity matrix, which means all geometry is assumed to be relative to camera space already. Useful for overlay rendering. Normal renderables need not change this. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_renderable_ae53cff42a16304f582ef83ad3017d614}{Renderable\+::set\+Use\+Identity\+View} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_a3d5e8933145d36977b8c2b64e307bc59}\label{class_ogre_1_1_renderable_a3d5e8933145d36977b8c2b64e307bc59}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Casts\+Shadows@{get\+Casts\+Shadows}}
\index{get\+Casts\+Shadows@{get\+Casts\+Shadows}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Casts\+Shadows()}{getCastsShadows()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Renderable\+::get\+Casts\+Shadows (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Method which reports whether this renderable would normally cast a shadow. 

\begin{DoxyRemark}{Remarks}
Subclasses should override this if they could have been used to generate a shadow. 
\end{DoxyRemark}


Reimplemented in \hyperlink{class_ogre_1_1_sub_entity_a78ac1f345bce62b0b4e0139de66e58e1}{Ogre\+::\+Sub\+Entity}, and \hyperlink{class_ogre_1_1_static_geometry_1_1_geometry_bucket_a73b08c84308b798a2e18dfdf3d5caea0}{Ogre\+::\+Static\+Geometry\+::\+Geometry\+Bucket}.

\mbox{\Hypertarget{class_ogre_1_1_renderable_a572c0331ef2ec650d56063fdc17435f5}\label{class_ogre_1_1_renderable_a572c0331ef2ec650d56063fdc17435f5}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!set\+Custom\+Parameter@{set\+Custom\+Parameter}}
\index{set\+Custom\+Parameter@{set\+Custom\+Parameter}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{set\+Custom\+Parameter()}{setCustomParameter()}}
{\footnotesize\ttfamily void Ogre\+::\+Renderable\+::set\+Custom\+Parameter (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{index,  }\item[{const \hyperlink{class_ogre_1_1_vector4}{Vector4} \&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets a custom parameter for this \hyperlink{class_ogre_1_1_renderable}{Renderable}, which may be used to drive calculations for this specific \hyperlink{class_ogre_1_1_renderable}{Renderable}, like G\+PU program parameters. 

\begin{DoxyRemark}{Remarks}
Calling this method simply associates a numeric index with a 4-\/dimensional value for this specific \hyperlink{class_ogre_1_1_renderable}{Renderable}. This is most useful if the material which this \hyperlink{class_ogre_1_1_renderable}{Renderable} uses a vertex or fragment program, and has an A\+C\+T\+\_\+\+C\+U\+S\+T\+OM parameter entry. This parameter entry can refer to the index you specify as part of this call, thereby mapping a custom parameter for this renderable to a program parameter. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em index} & The index with which to associate the value. Note that this does not have to start at 0, and can include gaps. It also has no direct correlation with a G\+PU program parameter index -\/ the mapping between the two is performed by the A\+C\+T\+\_\+\+C\+U\+S\+T\+OM entry, if that is used. \\
\hline
{\em value} & The value to associate. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_renderable_a0c726a0326e8a7d9e80d030541b6bddf}\label{class_ogre_1_1_renderable_a0c726a0326e8a7d9e80d030541b6bddf}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!remove\+Custom\+Parameter@{remove\+Custom\+Parameter}}
\index{remove\+Custom\+Parameter@{remove\+Custom\+Parameter}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{remove\+Custom\+Parameter()}{removeCustomParameter()}}
{\footnotesize\ttfamily void Ogre\+::\+Renderable\+::remove\+Custom\+Parameter (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Removes a custom value which is associated with this \hyperlink{class_ogre_1_1_renderable}{Renderable} at the given index. 


\begin{DoxyParams}{Parameters}
{\em index} & Index of the parameter to remove. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_renderable_a572c0331ef2ec650d56063fdc17435f5}{set\+Custom\+Parameter} for full details. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_a812d3b0f5df694b92084a98387d8f215}\label{class_ogre_1_1_renderable_a812d3b0f5df694b92084a98387d8f215}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!has\+Custom\+Parameter@{has\+Custom\+Parameter}}
\index{has\+Custom\+Parameter@{has\+Custom\+Parameter}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{has\+Custom\+Parameter()}{hasCustomParameter()}}
{\footnotesize\ttfamily bool Ogre\+::\+Renderable\+::has\+Custom\+Parameter (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{index }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Checks whether a custom value is associated with this \hyperlink{class_ogre_1_1_renderable}{Renderable} at the given index. 


\begin{DoxyParams}{Parameters}
{\em index} & Index of the parameter to check for existence. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_renderable_a572c0331ef2ec650d56063fdc17435f5}{set\+Custom\+Parameter} for full details. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_ae3ad78c8e756ea5fb43d7830462abb1f}\label{class_ogre_1_1_renderable_ae3ad78c8e756ea5fb43d7830462abb1f}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Custom\+Parameter@{get\+Custom\+Parameter}}
\index{get\+Custom\+Parameter@{get\+Custom\+Parameter}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Custom\+Parameter()}{getCustomParameter()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector4}{Vector4}\& Ogre\+::\+Renderable\+::get\+Custom\+Parameter (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{index }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the custom value associated with this \hyperlink{class_ogre_1_1_renderable}{Renderable} at the given index. 


\begin{DoxyParams}{Parameters}
{\em index} & Index of the parameter to retrieve. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_renderable_a572c0331ef2ec650d56063fdc17435f5}{set\+Custom\+Parameter} for full details. 
\end{DoxySeeAlso}


References Ogre\+::\+Exception\+::\+E\+R\+R\+\_\+\+I\+T\+E\+M\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND, and O\+G\+R\+E\+\_\+\+E\+X\+C\+E\+PT.

\mbox{\Hypertarget{class_ogre_1_1_renderable_a742052f8185975e8b92103c924b005d3}\label{class_ogre_1_1_renderable_a742052f8185975e8b92103c924b005d3}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!\+\_\+update\+Custom\+Gpu\+Parameter@{\+\_\+update\+Custom\+Gpu\+Parameter}}
\index{\+\_\+update\+Custom\+Gpu\+Parameter@{\+\_\+update\+Custom\+Gpu\+Parameter}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{\+\_\+update\+Custom\+Gpu\+Parameter()}{\_updateCustomGpuParameter()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Renderable\+::\+\_\+update\+Custom\+Gpu\+Parameter (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_gpu_program_parameters_1_1_auto_constant_entry}{Gpu\+Program\+Parameters\+::\+Auto\+Constant\+Entry} \&}]{constant\+Entry,  }\item[{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters} $\ast$}]{params }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Update a custom \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters} constant which is derived from information only this \hyperlink{class_ogre_1_1_renderable}{Renderable} knows. 

\begin{DoxyRemark}{Remarks}
This method allows a \hyperlink{class_ogre_1_1_renderable}{Renderable} to map in a custom G\+PU program parameter based on it\textquotesingle{}s own data. This is represented by a G\+PU auto parameter of A\+C\+T\+\_\+\+C\+U\+S\+T\+OM, and to allow there to be more than one of these per \hyperlink{class_ogre_1_1_renderable}{Renderable}, the \textquotesingle{}data\textquotesingle{} field on the auto parameter will identify which parameter is being updated. The implementation of this method must identify the parameter being updated, and call a \textquotesingle{}set\+Constant\textquotesingle{} method on the passed in \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters} object, using the details provided in the incoming auto constant setting to identify the index at which to set the parameter. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
You do not need to override this method if you\textquotesingle{}re using the standard sets of data associated with the \hyperlink{class_ogre_1_1_renderable}{Renderable} as provided by set\+Custom\+Parameter and get\+Custom\+Parameter. By default, the implementation will map from the value indexed by the \textquotesingle{}constant\+Entry.\+data\textquotesingle{} parameter to a value previously set by set\+Custom\+Parameter. But custom Renderables are free to override this if they want, in any case. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em constant\+Entry} & The auto constant entry referring to the parameter being updated \\
\hline
{\em params} & The parameters object which this method should call to set the updated parameters. \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{class_ogre_1_1_sub_entity_a70e8e50ec5b0d713a0b75255a9afe744}{Ogre\+::\+Sub\+Entity}.



References Ogre\+::\+Gpu\+Program\+Parameters\+::\+\_\+write\+Raw\+Constant(), Ogre\+::\+Gpu\+Program\+Parameters\+::\+Auto\+Constant\+Entry\+::data, Ogre\+::\+Gpu\+Program\+Parameters\+::\+Auto\+Constant\+Entry\+::element\+Count, and Ogre\+::\+Gpu\+Program\+Parameters\+::\+Auto\+Constant\+Entry\+::physical\+Index.

\mbox{\Hypertarget{class_ogre_1_1_renderable_a2f770d6ba9b3d97bdc63ecf0e3888aab}\label{class_ogre_1_1_renderable_a2f770d6ba9b3d97bdc63ecf0e3888aab}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!set\+Polygon\+Mode\+Overrideable@{set\+Polygon\+Mode\+Overrideable}}
\index{set\+Polygon\+Mode\+Overrideable@{set\+Polygon\+Mode\+Overrideable}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{set\+Polygon\+Mode\+Overrideable()}{setPolygonModeOverrideable()}}
{\footnotesize\ttfamily void Ogre\+::\+Renderable\+::set\+Polygon\+Mode\+Overrideable (\begin{DoxyParamCaption}\item[{bool}]{override }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets whether this renderable\textquotesingle{}s chosen detail level can be overridden (downgraded) by the camera setting. 


\begin{DoxyParams}{Parameters}
{\em override} & true means that a lower camera detail will override this renderables detail level, false means it won\textquotesingle{}t. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_renderable_ae944917873dd68126c129f05e51622d3}\label{class_ogre_1_1_renderable_ae944917873dd68126c129f05e51622d3}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Polygon\+Mode\+Overrideable@{get\+Polygon\+Mode\+Overrideable}}
\index{get\+Polygon\+Mode\+Overrideable@{get\+Polygon\+Mode\+Overrideable}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Polygon\+Mode\+Overrideable()}{getPolygonModeOverrideable()}}
{\footnotesize\ttfamily bool Ogre\+::\+Renderable\+::get\+Polygon\+Mode\+Overrideable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets whether this renderable\textquotesingle{}s chosen detail level can be overridden (downgraded) by the camera setting. 



Referenced by Ogre\+::\+Border\+Renderable\+::get\+Polygon\+Mode\+Overrideable().

\mbox{\Hypertarget{class_ogre_1_1_renderable_abd85c7ae6f5de865b8037f37e426886e}\label{class_ogre_1_1_renderable_abd85c7ae6f5de865b8037f37e426886e}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!set\+User\+Any@{set\+User\+Any}}
\index{set\+User\+Any@{set\+User\+Any}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{set\+User\+Any()}{setUserAny()}}
{\footnotesize\ttfamily void Ogre\+::\+Renderable\+::set\+User\+Any (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_any}{Any} \&}]{anything }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000095}{Deprecated}]use \hyperlink{class_ogre_1_1_user_object_bindings_ac6d05bbca44c5c3b44860c36205f9a68}{User\+Object\+Bindings\+::set\+User\+Any} via \hyperlink{class_ogre_1_1_renderable_a2ed9a2f3c1decac6286f8af974ce2ffc}{get\+User\+Object\+Bindings()} instead.\end{DoxyRefDesc}
Sets any kind of user value on this object. \begin{DoxyRemark}{Remarks}
This method allows you to associate any user value you like with this \hyperlink{class_ogre_1_1_renderable}{Renderable}. This can be a pointer back to one of your own classes for instance. 
\end{DoxyRemark}


Referenced by Ogre\+::\+Instance\+Batch\+::get\+Render\+Operation().

\mbox{\Hypertarget{class_ogre_1_1_renderable_a9cf204a5b5df75c8c745560551657358}\label{class_ogre_1_1_renderable_a9cf204a5b5df75c8c745560551657358}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+User\+Any@{get\+User\+Any}}
\index{get\+User\+Any@{get\+User\+Any}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+User\+Any()}{getUserAny()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_any}{Any}\& Ogre\+::\+Renderable\+::get\+User\+Any (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000096}{Deprecated}]use \hyperlink{class_ogre_1_1_user_object_bindings_a7b0c9bd7cf25e2d95aea3ee5138ef5b5}{User\+Object\+Bindings\+::get\+User\+Any} via \hyperlink{class_ogre_1_1_renderable_a2ed9a2f3c1decac6286f8af974ce2ffc}{get\+User\+Object\+Bindings()} instead.\end{DoxyRefDesc}
Retrieves the custom user value associated with this object. 

Referenced by Ogre\+::\+Instance\+Batch\+::get\+Render\+Operation().

\mbox{\Hypertarget{class_ogre_1_1_renderable_a2ed9a2f3c1decac6286f8af974ce2ffc}\label{class_ogre_1_1_renderable_a2ed9a2f3c1decac6286f8af974ce2ffc}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+User\+Object\+Bindings@{get\+User\+Object\+Bindings}}
\index{get\+User\+Object\+Bindings@{get\+User\+Object\+Bindings}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+User\+Object\+Bindings()}{getUserObjectBindings()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings}\& Ogre\+::\+Renderable\+::get\+User\+Object\+Bindings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Return an instance of user objects binding associated with this class. 

You can use it to associate one or more custom objects with this class instance. \begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_user_object_bindings_ac6d05bbca44c5c3b44860c36205f9a68}{User\+Object\+Bindings\+::set\+User\+Any}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_a472c926a6d05d05752fc195c8d606a85}\label{class_ogre_1_1_renderable_a472c926a6d05d05752fc195c8d606a85}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+User\+Object\+Bindings@{get\+User\+Object\+Bindings}}
\index{get\+User\+Object\+Bindings@{get\+User\+Object\+Bindings}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+User\+Object\+Bindings()}{getUserObjectBindings()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings}\& Ogre\+::\+Renderable\+::get\+User\+Object\+Bindings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Return an instance of user objects binding associated with this class. 

You can use it to associate one or more custom objects with this class instance. \begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_user_object_bindings_ac6d05bbca44c5c3b44860c36205f9a68}{User\+Object\+Bindings\+::set\+User\+Any}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_renderable_a8043bede518f35c709880e4f3248a026}\label{class_ogre_1_1_renderable_a8043bede518f35c709880e4f3248a026}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!get\+Render\+System\+Data@{get\+Render\+System\+Data}}
\index{get\+Render\+System\+Data@{get\+Render\+System\+Data}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{get\+Render\+System\+Data()}{getRenderSystemData()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}{Render\+System\+Data\+Ptr}\& Ogre\+::\+Renderable\+::get\+Render\+System\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets \hyperlink{class_ogre_1_1_render_system}{Render\+System} private data. 

\begin{DoxyRemark}{Remarks}
This should only be used by a \hyperlink{class_ogre_1_1_render_system}{Render\+System} 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_renderable_a3dc69374127d00ea2c2f9f39cf2105bb}\label{class_ogre_1_1_renderable_a3dc69374127d00ea2c2f9f39cf2105bb}} 
\index{Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}!set\+Render\+System\+Data@{set\+Render\+System\+Data}}
\index{set\+Render\+System\+Data@{set\+Render\+System\+Data}!Ogre\+::\+Node\+::\+Debug\+Renderable@{Ogre\+::\+Node\+::\+Debug\+Renderable}}
\subsubsection{\texorpdfstring{set\+Render\+System\+Data()}{setRenderSystemData()}}
{\footnotesize\ttfamily void Ogre\+::\+Renderable\+::set\+Render\+System\+Data (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_renderable_adc7212015bff66546a8a351355d7b5fb}{Render\+System\+Data\+Ptr}}]{val }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets \hyperlink{class_ogre_1_1_render_system}{Render\+System} private data. 

\begin{DoxyRemark}{Remarks}
This should only be used by a \hyperlink{class_ogre_1_1_render_system}{Render\+System} 
\end{DoxyRemark}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_node_8h}{Ogre\+Node.\+h}\end{DoxyCompactItemize}
