\hypertarget{class_ogre_1_1_material}{}\doxysection{Ogre\+::Material Class Reference}
\label{class_ogre_1_1_material}\index{Ogre::Material@{Ogre::Material}}


Class encapsulates rendering properties of an object.  




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



Inheritance diagram for Ogre\+::Material\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=302pt]{class_ogre_1_1_material__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}} = 0, 
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a6ee542226e1cf18df28ab88426be6809}{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}} = 1, 
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a70589e0b87b09b0a4fd98ce490dc9782}{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED}} = 2, 
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ae5f2eca654bd810da4c774570a5b4b77}{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}} = 3, 
\newline
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ad83abf165de5cfa1a4c8e0cd5471ad2c}{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE}} = 4
 \}
\begin{DoxyCompactList}\small\item\em Enum that allow to choose subset of unloaded/reloaded resources and to adjust reloading behavior. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}}, 
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}}, 
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}}, 
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca4228d390b3a9ed614001db177d1f441e}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG}}, 
\newline
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}}, 
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572cab43c913411f4a96722902f17b88f10fb}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG}}
 \}
\begin{DoxyCompactList}\small\item\em Enum identifying the loading state of the resource. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}} $>$ \mbox{\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator}}
\item 
typedef std\+::vector$<$ \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $>$ \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}}
\begin{DoxyCompactList}\small\item\em distance list used to specify L\+OD \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}} $>$ \mbox{\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator}}
\item 
typedef std\+::vector$<$ \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_material_ae3c92b81e6c247286c2304f320a368ef}{Material}} (\mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} $\ast$creator, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} handle, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0)
\begin{DoxyCompactList}\small\item\em Constructor -\/ use resource manager\textquotesingle{}s create method rather than this. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_material_a2e2118319d3d7cb1610869c33ab766eb}{$\sim$\+Material}} ()
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_afcb4a61b965600a67ca2c2f060821db9}{\+\_\+dirty\+State}} ()
\begin{DoxyCompactList}\small\item\em Manually mark the state of this resource as having been changed. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_aa68664db6b8723dc198beef3d21d4ef5}{\+\_\+fire\+Loading\+Complete}} (bool was\+Background\+Loaded)
\begin{DoxyCompactList}\small\item\em Firing of loading complete event. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_aaf63d096584ac7d97fe1d1b0226c9561}{\+\_\+fire\+Preparing\+Complete}} (bool was\+Background\+Loaded)
\begin{DoxyCompactList}\small\item\em Firing of preparing complete event. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_aaf3746937cd11864f53bc1c3b4437541}{\+\_\+fire\+Unloading\+Complete}} (void)
\begin{DoxyCompactList}\small\item\em Firing of unloading complete event. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a66ab9a0f0ef89e66a0f0e0349433af39}{\+\_\+notify\+Needs\+Recompile}} (void)
\begin{DoxyCompactList}\small\item\em Tells the material that it needs recompilation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}{\+\_\+notify\+Origin}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&origin)
\begin{DoxyCompactList}\small\item\em Notify this resource of it\textquotesingle{}s origin. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}{add\+Listener}} (\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener}} $\ast$lis)
\begin{DoxyCompactList}\small\item\em Register a listener on this resource. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_material_a41f86ef8e5ae9e12ef802b6ff0d4d692}{apply\+Texture\+Aliases}} (const \mbox{\hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List}} \&alias\+List, const bool apply=true) const
\begin{DoxyCompactList}\small\item\em Applies texture names to \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State with matching texture name aliases. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}{change\+Group\+Ownership}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&new\+Group)
\begin{DoxyCompactList}\small\item\em Change the resource group ownership of a \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_material_a28e13cc77ce7deb5f0cbe2388251224d}{clone}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&new\+Name, bool change\+Group=false, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&new\+Group=\mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}}) const
\begin{DoxyCompactList}\small\item\em Creates a new copy of this material with the same settings but a new name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a1f51926064eaa39f9d85393b41bb8870}{compile}} (bool auto\+Manage\+Texture\+Units=true)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Compiles\textquotesingle{} this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a255bc92a45a8740b388a2b3f0691ee67}{copy\+Details\+To}} (\mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \&mat) const
\begin{DoxyCompactList}\small\item\em Copies the details of this material into another, preserving the target\textquotesingle{}s handle and name (unlike operator=) but copying everything else. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}{copy\+Parameters\+To}} (\mbox{\hyperlink{class_ogre_1_1_string_interface}{String\+Interface}} $\ast$dest) const
\begin{DoxyCompactList}\small\item\em Method for copying this object\textquotesingle{}s parameters to another object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_material_af4238db138727651e692e015e378134a}{create\+Technique}} (void)
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} for this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_a367f6fe60bb211cb4c32e3825ca67e4c}{escalate\+Loading}} ()
\begin{DoxyCompactList}\small\item\em Escalates the loading of a background loaded resource. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_material_a37ae7259ce89bdc38828ea1b977bdbcf}{get\+Best\+Technique}} (unsigned short lod\+Index=0, const \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$rend=0)
\begin{DoxyCompactList}\small\item\em Gets the best supported technique. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_material_a0473d5bf1469491e9e40a434c4817127}{get\+Compilation\+Required}} () const
\begin{DoxyCompactList}\small\item\em Gets the compilation status of the material. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_resource_ab6e377a3964d566ea112fe63bf1d7678}{get\+Creator}} (void)
\begin{DoxyCompactList}\small\item\em Gets the manager which created this resource. \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_resource_a382919945c07a6a13136889ad3fbf578}{get\+Group}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the group which this resource is a member of. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} \mbox{\hyperlink{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}{get\+Handle}} (void) const
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State}} \mbox{\hyperlink{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}{get\+Loading\+State}} () const
\begin{DoxyCompactList}\small\item\em Returns the current loading state. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_material_af81986e979247fbc612bf88fe9671c5b}{get\+Lod\+Index}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} value) const
\begin{DoxyCompactList}\small\item\em Gets the L\+OD index to use at the given value. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_material_acccbb35d9ff9aa45b4f4469475bafa02}{get\+Lod\+Strategy}} () const
\begin{DoxyCompactList}\small\item\em Get L\+OD strategy used by this material. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_material_afd936b84ca57f7baba8b20d3fa1db1fc}{get\+Lod\+Value\+Iterator}} (void) const
\item 
const \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}} \& \mbox{\hyperlink{class_ogre_1_1_material_a2151ae9ef9d5099d097586cd916eb9b9}{get\+Lod\+Values}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the list of values transformed by the \mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}} at which each L\+OD comes into effect. \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}{get\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Gets resource name. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_material_a90e332b7e44b66bc34e3b90d810f7f2e}{get\+Num\+Lod\+Levels}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&scheme\+Name) const
\begin{DoxyCompactList}\small\item\em Gets the number of levels-\/of-\/detail this material has in the given scheme, based on \mbox{\hyperlink{class_ogre_1_1_technique_ab72db7823cc9a8e872aed1ca6ae2cff8}{Technique\+::set\+Lod\+Index}}. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_material_a329e758eca8bedadf01edc49f29c5b2e}{get\+Num\+Lod\+Levels}} (unsigned short scheme\+Index) const
\begin{DoxyCompactList}\small\item\em Gets the number of levels-\/of-\/detail this material has in the given scheme, based on \mbox{\hyperlink{class_ogre_1_1_technique_ab72db7823cc9a8e872aed1ca6ae2cff8}{Technique\+::set\+Lod\+Index}}. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_material_adb809a1006c92bf84746bf145add297e}{get\+Num\+Supported\+Techniques}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves the number of supported techniques. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_material_a6ee1fe32db9f689a522262922ffa9b39}{get\+Num\+Techniques}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves the number of techniques. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_resource_a13423fa7944d7f2339e78b9de026c3be}{get\+Origin}} (void) const
\begin{DoxyCompactList}\small\item\em Get the origin of this resource, e.\+g. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_string_interface_ae3e13925bde11db245f6c9bbf5031a93}{get\+Param\+Dictionary}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the parameter dictionary for this class. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}{get\+Param\+Dictionary}} (void) const
\item 
\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}{get\+Parameter}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em Generic parameter retrieval method. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___general_ga1838c2b0619ade1f5e29767062212872}{Parameter\+List}} \& \mbox{\hyperlink{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}{get\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves a list of parameters valid for this object. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_material_a75f43a20ac158be5187facacdb4b1f70}{get\+Receive\+Shadows}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not objects using this material will receive shadows. \end{DoxyCompactList}\item 
virtual size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_resource_a0617d9f04ca03bd25f4bde201e6ac13b}{get\+Size}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves info about the size of the resource. \end{DoxyCompactList}\item 
virtual size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}{get\+State\+Count}} () const
\begin{DoxyCompactList}\small\item\em Returns the number of times this resource has changed state, which generally means the number of times it has been loaded. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_material_accfd676f253b906ab3e661b8453465ee}{get\+Supported\+Technique}} (unsigned short index)
\begin{DoxyCompactList}\small\item\em Gets the indexed supported technique. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_material_a96a7e49668804887511eeb1af691ace0}{get\+Supported\+Technique\+Iterator}} (void)
\item 
const \mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}} \& \mbox{\hyperlink{class_ogre_1_1_material_ac61c46313341184929c70fb21c35f102}{get\+Supported\+Techniques}} (void) const
\begin{DoxyCompactList}\small\item\em Gets all the Techniques which are supported by the current card. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_material_a703093b4ce089e73b124c0d04b019303}{get\+Technique}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em searches for the named technique. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_material_a011abd64ab54e84c516068caa5001c91}{get\+Technique}} (unsigned short index) const
\begin{DoxyCompactList}\small\item\em Gets the indexed technique. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_material_a2b00231e68df74a029421e1511ae97d6}{get\+Technique\+Iterator}} (void)
\begin{DoxyCompactList}\small\item\em Get an iterator over the Techniques in this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}} \& \mbox{\hyperlink{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}{get\+Techniques}} (void) const
\begin{DoxyCompactList}\small\item\em Get the Techniques in this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_material_ab10eb8e63b9e2b39aa2872d84a5be596}{get\+Transparency\+Casts\+Shadows}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not objects using this material be classified as opaque to the shadow caster system. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_material_a20a22a23c0f33bcac8141b9ad7a90fe7}{get\+Unsupported\+Techniques\+Explanation}} () const
\begin{DoxyCompactList}\small\item\em Gets a string explaining why any techniques are not supported. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_material_aab7875efbb7e2b0e5fed198469035a31}{get\+User\+Lod\+Value\+Iterator}} (void) const
\item 
const \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}} \& \mbox{\hyperlink{class_ogre_1_1_material_ab7ae9832e271185e4eba2a4ad3c26449}{get\+User\+Lod\+Values}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the user-\/defined list of values which are internally transfomed by the \mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}}. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}{is\+Background\+Loaded}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been earmarked for background loading. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}{is\+Loaded}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been loaded, false otherwise. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_resource_a3af26f716731b64850ea50cfa4d2edef}{is\+Loading}} () const
\begin{DoxyCompactList}\small\item\em Returns whether the resource is currently in the process of background loading. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_resource_a8f541900f7e1f73f4c313a732199029a}{is\+Manually\+Loaded}} (void) const
\begin{DoxyCompactList}\small\item\em Is this resource manually loaded? \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}{is\+Prepared}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been prepared, false otherwise. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}{is\+Reloadable}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} is reloadable, false otherwise. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_material_a00967b56ec980480ba12dc6002462c3b}{is\+Transparent}} (void) const
\begin{DoxyCompactList}\small\item\em Determines if the material has any transparency with the rest of the scene (derived from whether any Techniques say they involve transparency). \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load}} (bool background\+Thread=false)
\begin{DoxyCompactList}\small\item\em Loads the resource, if it is not already. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_material}{Material}} \& \mbox{\hyperlink{class_ogre_1_1_material_ada9d917b97ae23bbd61ab8a811dd14cf}{operator=}} (const \mbox{\hyperlink{class_ogre_1_1_material}{Material}} \&rhs)
\begin{DoxyCompactList}\small\item\em Assignment operator to allow easy copying between materials. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare}} (bool background\+Thread=false)
\begin{DoxyCompactList}\small\item\em Prepares the resource for load, if it is not already. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_a5016aec1762b026997ddd346775879ef}{reload}} (\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}} flags=\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}})
\begin{DoxyCompactList}\small\item\em Reloads the resource, if it is already loaded. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a1158a82d9399448666ea415d5f9a10a9}{remove\+All\+Techniques}} (void)
\begin{DoxyCompactList}\small\item\em Removes all the techniques in this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}{remove\+Listener}} (\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener}} $\ast$lis)
\begin{DoxyCompactList}\small\item\em Remove a listener on this resource. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a8a81c60f958b0f3615c8690583c10d52}{remove\+Technique}} (unsigned short index)
\begin{DoxyCompactList}\small\item\em Removes the technique at the given index. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_af2788cd021eba0164ff6020de64d417e}{set\+Ambient}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&ambient)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_ad6c35dbe79639fc0fa18eb109b7da1af}{set\+Ambient}} (float red, float green, float blue)
\begin{DoxyCompactList}\small\item\em Sets the ambient colour reflectance properties for every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}{set\+Background\+Loaded}} (bool bl)
\begin{DoxyCompactList}\small\item\em Tells the resource whether it is background loaded or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_ab88f2abf1ca49a99555820fce32f75a0}{set\+Colour\+Write\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not colour buffer writing is enabled for each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_ac3f27bc005bba5e2e286156ab0d74a35}{set\+Colour\+Write\+Enabled}} (bool red, bool green, bool blue, bool alpha)
\begin{DoxyCompactList}\small\item\em Sets which colour buffer channels are enabled for writing for each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a8937a20eafba0997f7a6889fd6a188e4}{set\+Culling\+Mode}} (\mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Sets the culling mode for each pass based on the \textquotesingle{}vertex winding\textquotesingle{}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_acb0cf0ddfd03f3c4fd1d6dc278076463}{set\+Depth\+Bias}} (float constant\+Bias, float slope\+Scale\+Bias)
\begin{DoxyCompactList}\small\item\em Sets the depth bias to be used for each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a44413ef81066bc9a44e29361749a0f6e}{set\+Depth\+Check\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} renders with depth-\/buffer checking on or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a5e6e5526611a5f10203225e4d2f86d0c}{set\+Depth\+Function}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func)
\begin{DoxyCompactList}\small\item\em Sets the function used to compare depth values when depth checking is on. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_abdb247ea40cec3c59c3a8726664695c8}{set\+Depth\+Write\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} renders with depth-\/buffer writing on or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_ac074b3eb66c45685be8fb4b0ebbebcd6}{set\+Diffuse}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&diffuse)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a625d27ef43d359a6b4f2dc58a363af95}{set\+Diffuse}} (float red, float green, float blue, float alpha)
\begin{DoxyCompactList}\small\item\em Sets the diffuse colour reflectance properties of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a72e01ffc38eca515f70387c2b1a72c4c}{set\+Fog}} (bool override\+Scene, \mbox{\hyperlink{group___general_ga83edeb2e5d33a3ca8f15834ba40020ba}{Fog\+Mode}} mode=\mbox{\hyperlink{group___general_gga83edeb2e5d33a3ca8f15834ba40020baab7793a21880052c0214d4cc040992310}{F\+O\+G\+\_\+\+N\+O\+NE}}, const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&colour=\mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} exp\+Density=0.\+001f, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} linear\+Start=0.\+0f, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} linear\+End=1.\+0f)
\begin{DoxyCompactList}\small\item\em Sets the fogging mode applied to each pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a758ce629d7d709a7038ede19d21f59cf}{set\+Lighting\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not dynamic lighting is enabled for every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a67d79bf335a4f3a9ed2bc9d70b2e7994}{set\+Lod\+Levels}} (const \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}} \&lod\+Values)
\begin{DoxyCompactList}\small\item\em Sets the distance at which level-\/of-\/detail (L\+OD) levels come into effect. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a8809a6d4f0e4e6380aee7f0e34e5d2cf}{set\+Lod\+Strategy}} (\mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}} $\ast$lod\+Strategy)
\begin{DoxyCompactList}\small\item\em Set the L\+OD strategy used by this material. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_ad7cff3d355ac80a2325ff77448c48177}{set\+Manual\+Culling\+Mode}} (\mbox{\hyperlink{group___general_ga07ec94cf178172a6778223e6f70f23fc}{Manual\+Culling\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Sets the manual culling mode, performed by C\+PU rather than hardware. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}{set\+Parameter}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&value)
\begin{DoxyCompactList}\small\item\em Generic parameter setting method. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}{set\+Parameter\+List}} (const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} \&param\+List)
\begin{DoxyCompactList}\small\item\em Generic multiple parameter setting method. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a8c26b7ccb050d96cd031db31bf996b48}{set\+Point\+Size}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} ps)
\begin{DoxyCompactList}\small\item\em Sets the point size properties for every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_abe6a4371ce72c7bf1cf5a0c2e9259815}{set\+Receive\+Shadows}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether objects using this material will receive shadows. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a145badc7cadec0958241a47b6037b3e6}{set\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor)
\begin{DoxyCompactList}\small\item\em Allows very fine control of blending every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a8c9ccac6e60241a1865ac211e3b203c8}{set\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}} sbt)
\begin{DoxyCompactList}\small\item\em Sets the kind of blending every pass has with the existing contents of the scene. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a27911290eaa7990dea483f62d27c9285}{set\+Self\+Illumination}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&self\+Illum)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a9b7da0a1133ef7f1429faa91895f3735}{set\+Self\+Illumination}} (float red, float green, float blue)
\begin{DoxyCompactList}\small\item\em Sets the amount of self-\/illumination of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_aa934de36e2d8c867b6ed1fc9c0fa8be0}{set\+Separate\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor\+Alpha, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor\+Alpha)
\begin{DoxyCompactList}\small\item\em Allows very fine control of blending every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene, using individual factors for color and alpha channels. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a046659fb27e92554d2a3f4c5a49c7579}{set\+Separate\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}} sbt, const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}} sbta)
\begin{DoxyCompactList}\small\item\em Sets the kind of blending every pass has with the existing contents of the scene, using individual factors for color and alpha channels. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_abe72697aa6f639a23d2003fc10d3939b}{set\+Shading\+Mode}} (\mbox{\hyperlink{group___general_ga7afd4c7d428baaee13f3a0dbcae5f560}{Shade\+Options}} mode)
\begin{DoxyCompactList}\small\item\em Sets the type of light shading required. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a008c264b3fa918677120621d6a112f99}{set\+Shininess}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} val)
\begin{DoxyCompactList}\small\item\em Sets the shininess properties of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_ac0fd7b4c5684270dc61e57ef6ddef4f2}{set\+Specular}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&specular)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_aa164110eb03c76be71a19a599d312695}{set\+Specular}} (float red, float green, float blue, float alpha)
\begin{DoxyCompactList}\small\item\em Sets the specular colour reflectance properties of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_aa0725c90c26094f73c04eedd51773bee}{set\+Texture\+Anisotropy}} (int max\+Aniso)
\begin{DoxyCompactList}\small\item\em Sets the anisotropy level to be used for all textures. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a2424a948e95a581d1b7de87ea14e7131}{set\+Texture\+Filtering}} (\mbox{\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options}} filter\+Type)
\begin{DoxyCompactList}\small\item\em Set texture filtering for every texture unit in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a5552baf6c922eb48a981f7c51aadc5e2}{set\+Transparency\+Casts\+Shadows}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether objects using this material be classified as opaque to the shadow caster system. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_material_a340e9c6140a5b0f3467596712aa122a9}{touch}} (void)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Touches\textquotesingle{} the resource to indicate it has been used. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{unload}} (void)
\begin{DoxyCompactList}\small\item\em Unloads the resource; this is not permanent, the resource can be reloaded later if required. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{class_ogre_1_1_string_interface_a1bea65fa2b3c2ac5a9f3be59b46a80e8}{cleanup\+Dictionary}} ()
\begin{DoxyCompactList}\small\item\em Cleans up the static \textquotesingle{}ms\+Dictionary\textquotesingle{} required to reset \mbox{\hyperlink{namespace_ogre}{Ogre}}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} implementers (e.\+g. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}}
\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_material_a00bfe1380be4c044551121bbd7fb8359}{Material\+Manager}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_material_a284464b0561a6f2915f04b0245b987f0}{Scene\+Manager}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class encapsulates rendering properties of an object. 

Ogre\textquotesingle{}s material class encapsulates {\itshape all} aspects of the visual appearance, of an object. It also includes other flags which might not be traditionally thought of as material properties such as culling modes and depth buffer settings, but these affect the appearance of the rendered object and are convenient to attach to the material since it keeps all the settings in one place. This is different to Direct3D which treats a material as just the colour components (diffuse, specular) and not texture maps etc. An \mbox{\hyperlink{namespace_ogre}{Ogre}} \mbox{\hyperlink{class_ogre_1_1_material}{Material}} can be thought of as equivalent to a \textquotesingle{}Shader\textquotesingle{}.

A \mbox{\hyperlink{class_ogre_1_1_material}{Material}} can be rendered in multiple different ways depending on the hardware available. You may configure a \mbox{\hyperlink{class_ogre_1_1_material}{Material}} to use high-\/complexity fragment shaders, but these won\textquotesingle{}t work on every card; therefore a \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} is an approach to creating the visual effect you are looking for. You are advised to create fallback techniques with lower hardware requirements if you decide to use advanced features. In addition, you also might want lower-\/detail techniques for distant geometry.

Each \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} can be made up of multiple passes. A fixed-\/function \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} may combine multiple texture layers using multitexturing, but \mbox{\hyperlink{namespace_ogre}{Ogre}} can break that into multiple passes automatically if the active card cannot handle that many simultaneous textures. Programmable passes, however, cannot be split down automatically, so if the active graphics card cannot handle the technique which contains these passes, O\+G\+RE will try to find another technique which the card can do. If, at the end of the day, the card cannot handle any of the techniques which are listed for the material, the engine will render the geometry plain white, which should alert you to the problem.

Ogre comes configured with a number of default settings for a newly created material. These can be changed if you wish by retrieving the default material settings through \mbox{\hyperlink{class_ogre_1_1_material_manager_ac70230fa9f123976d7f2b1257bd94bd4}{Material\+Manager\+::get\+Default\+Settings}}. \mbox{\hyperlink{class_ogre_1_1_any}{Any}} changes you make to the \mbox{\hyperlink{class_ogre_1_1_material}{Material}} returned from this method will apply to any materials created from this point onward. 

\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}\label{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}} 
\index{Ogre::Material@{Ogre::Material}!LodValueList@{LodValueList}}
\index{LodValueList@{LodValueList}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{LodValueList}{LodValueList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}$>$ \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Ogre\+::\+Material\+::\+Lod\+Value\+List}}}



distance list used to specify L\+OD 

\mbox{\Hypertarget{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}\label{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}} 
\index{Ogre::Material@{Ogre::Material}!LodValueIterator@{LodValueIterator}}
\index{LodValueIterator@{LodValueIterator}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{LodValueIterator}{LodValueIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}}$>$ \mbox{\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Ogre\+::\+Material\+::\+Lod\+Value\+Iterator}}}

\mbox{\Hypertarget{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}\label{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}} 
\index{Ogre::Material@{Ogre::Material}!Techniques@{Techniques}}
\index{Techniques@{Techniques}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{Techniques}{Techniques}}
{\footnotesize\ttfamily typedef std\+::vector$<$\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}$\ast$$>$ \mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Ogre\+::\+Material\+::\+Techniques}}}

\mbox{\Hypertarget{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}\label{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}} 
\index{Ogre::Material@{Ogre::Material}!TechniqueIterator@{TechniqueIterator}}
\index{TechniqueIterator@{TechniqueIterator}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{TechniqueIterator}{TechniqueIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}}$>$ \mbox{\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Ogre\+::\+Material\+::\+Technique\+Iterator}}}



\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}} 
\index{Ogre::Material@{Ogre::Material}!LoadingState@{LoadingState}}
\index{LoadingState@{LoadingState}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{LoadingState}{LoadingState}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Ogre\+::\+Resource\+::\+Loading\+State}}\hspace{0.3cm}{\ttfamily [inherited]}}



Enum identifying the loading state of the resource. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{LOADSTATE\_UNLOADED@{LOADSTATE\_UNLOADED}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LOADSTATE\_UNLOADED@{LOADSTATE\_UNLOADED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED&Not loaded. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LOADSTATE\_LOADING@{LOADSTATE\_LOADING}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LOADSTATE\_LOADING@{LOADSTATE\_LOADING}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG&Loading is in progress. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LOADSTATE\_LOADED@{LOADSTATE\_LOADED}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LOADSTATE\_LOADED@{LOADSTATE\_LOADED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED&Fully loaded. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LOADSTATE\_UNLOADING@{LOADSTATE\_UNLOADING}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LOADSTATE\_UNLOADING@{LOADSTATE\_UNLOADING}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca4228d390b3a9ed614001db177d1f441e}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca4228d390b3a9ed614001db177d1f441e}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG&Currently unloading. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LOADSTATE\_PREPARED@{LOADSTATE\_PREPARED}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LOADSTATE\_PREPARED@{LOADSTATE\_PREPARED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED&Fully prepared. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LOADSTATE\_PREPARING@{LOADSTATE\_PREPARING}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LOADSTATE\_PREPARING@{LOADSTATE\_PREPARING}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572cab43c913411f4a96722902f17b88f10fb}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572cab43c913411f4a96722902f17b88f10fb}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG&Preparing is in progress. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}} 
\index{Ogre::Material@{Ogre::Material}!LoadingFlags@{LoadingFlags}}
\index{LoadingFlags@{LoadingFlags}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{LoadingFlags}{LoadingFlags}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Ogre\+::\+Resource\+::\+Loading\+Flags}}\hspace{0.3cm}{\ttfamily [inherited]}}



Enum that allow to choose subset of unloaded/reloaded resources and to adjust reloading behavior. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{LF\_DEFAULT@{LF\_DEFAULT}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LF\_DEFAULT@{LF\_DEFAULT}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}} 
L\+F\+\_\+\+D\+E\+F\+A\+U\+LT&Only reloadable resources are processed, reload restores initial state. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LF\_INCLUDE\_NON\_RELOADABLE@{LF\_INCLUDE\_NON\_RELOADABLE}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LF\_INCLUDE\_NON\_RELOADABLE@{LF\_INCLUDE\_NON\_RELOADABLE}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a6ee542226e1cf18df28ab88426be6809}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a6ee542226e1cf18df28ab88426be6809}} 
L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE&Process non-\/reloadable resources too. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LF\_ONLY\_UNREFERENCED@{LF\_ONLY\_UNREFERENCED}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LF\_ONLY\_UNREFERENCED@{LF\_ONLY\_UNREFERENCED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a70589e0b87b09b0a4fd98ce490dc9782}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a70589e0b87b09b0a4fd98ce490dc9782}} 
L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED&Process only resources which are not referenced by any other object. Usefull to reduce resource consumption. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE@{LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE@{LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ae5f2eca654bd810da4c774570a5b4b77}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ae5f2eca654bd810da4c774570a5b4b77}} 
L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE&Combination of L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED and L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LF\_PRESERVE\_STATE@{LF\_PRESERVE\_STATE}!Ogre::Material@{Ogre::Material}}\index{Ogre::Material@{Ogre::Material}!LF\_PRESERVE\_STATE@{LF\_PRESERVE\_STATE}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ad83abf165de5cfa1a4c8e0cd5471ad2c}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ad83abf165de5cfa1a4c8e0cd5471ad2c}} 
L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE&Preserve some states during reloading, for example stencil shadows prepareness for Meshes. \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_material_ae3c92b81e6c247286c2304f320a368ef}\label{class_ogre_1_1_material_ae3c92b81e6c247286c2304f320a368ef}} 
\index{Ogre::Material@{Ogre::Material}!Material@{Material}}
\index{Material@{Material}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{Material()}{Material()}}
{\footnotesize\ttfamily Ogre\+::\+Material\+::\+Material (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} $\ast$}]{creator,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}}]{handle,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0} }\end{DoxyParamCaption})}



Constructor -\/ use resource manager\textquotesingle{}s create method rather than this. 

\mbox{\Hypertarget{class_ogre_1_1_material_a2e2118319d3d7cb1610869c33ab766eb}\label{class_ogre_1_1_material_a2e2118319d3d7cb1610869c33ab766eb}} 
\index{Ogre::Material@{Ogre::Material}!````~Material@{$\sim$Material}}
\index{````~Material@{$\sim$Material}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{$\sim$Material()}{~Material()}}
{\footnotesize\ttfamily Ogre\+::\+Material\+::$\sim$\+Material (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_material_ada9d917b97ae23bbd61ab8a811dd14cf}\label{class_ogre_1_1_material_ada9d917b97ae23bbd61ab8a811dd14cf}} 
\index{Ogre::Material@{Ogre::Material}!operator=@{operator=}}
\index{operator=@{operator=}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_material}{Material}}\& Ogre\+::\+Material\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_material}{Material}} \&}]{rhs }\end{DoxyParamCaption})}



Assignment operator to allow easy copying between materials. 

\mbox{\Hypertarget{class_ogre_1_1_material_a00967b56ec980480ba12dc6002462c3b}\label{class_ogre_1_1_material_a00967b56ec980480ba12dc6002462c3b}} 
\index{Ogre::Material@{Ogre::Material}!isTransparent@{isTransparent}}
\index{isTransparent@{isTransparent}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{isTransparent()}{isTransparent()}}
{\footnotesize\ttfamily bool Ogre\+::\+Material\+::is\+Transparent (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Determines if the material has any transparency with the rest of the scene (derived from whether any Techniques say they involve transparency). 

\mbox{\Hypertarget{class_ogre_1_1_material_abe6a4371ce72c7bf1cf5a0c2e9259815}\label{class_ogre_1_1_material_abe6a4371ce72c7bf1cf5a0c2e9259815}} 
\index{Ogre::Material@{Ogre::Material}!setReceiveShadows@{setReceiveShadows}}
\index{setReceiveShadows@{setReceiveShadows}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setReceiveShadows()}{setReceiveShadows()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Receive\+Shadows (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether objects using this material will receive shadows. 

\begin{DoxyRemark}{Remarks}
This method allows a material to opt out of receiving shadows, if it would otherwise do so. Shadows will not be cast on any objects unless the scene is set up to support shadows (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_scene_manager_ad716d3752418408f073d9be9bbfe62d0}{Scene\+Manager\+::set\+Shadow\+Technique}}), and not all techniques cast shadows on all objects. In any case, if you have a need to prevent shadows being received by material, this is the method you call to do it. 
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
Transparent materials never receive shadows despite this setting. The default is to receive shadows. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_material_a75f43a20ac158be5187facacdb4b1f70}\label{class_ogre_1_1_material_a75f43a20ac158be5187facacdb4b1f70}} 
\index{Ogre::Material@{Ogre::Material}!getReceiveShadows@{getReceiveShadows}}
\index{getReceiveShadows@{getReceiveShadows}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getReceiveShadows()}{getReceiveShadows()}}
{\footnotesize\ttfamily bool Ogre\+::\+Material\+::get\+Receive\+Shadows (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns whether or not objects using this material will receive shadows. 

\mbox{\Hypertarget{class_ogre_1_1_material_a5552baf6c922eb48a981f7c51aadc5e2}\label{class_ogre_1_1_material_a5552baf6c922eb48a981f7c51aadc5e2}} 
\index{Ogre::Material@{Ogre::Material}!setTransparencyCastsShadows@{setTransparencyCastsShadows}}
\index{setTransparencyCastsShadows@{setTransparencyCastsShadows}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setTransparencyCastsShadows()}{setTransparencyCastsShadows()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Transparency\+Casts\+Shadows (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether objects using this material be classified as opaque to the shadow caster system. 

\begin{DoxyRemark}{Remarks}
This method allows a material to cast a shadow, even if it is transparent. By default, transparent materials neither cast nor receive shadows. Shadows will not be cast on any objects unless the scene is set up to support shadows (
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_scene_manager_ad716d3752418408f073d9be9bbfe62d0}{Scene\+Manager\+::set\+Shadow\+Technique}}), and not all techniques cast shadows on all objects. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_ab10eb8e63b9e2b39aa2872d84a5be596}\label{class_ogre_1_1_material_ab10eb8e63b9e2b39aa2872d84a5be596}} 
\index{Ogre::Material@{Ogre::Material}!getTransparencyCastsShadows@{getTransparencyCastsShadows}}
\index{getTransparencyCastsShadows@{getTransparencyCastsShadows}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getTransparencyCastsShadows()}{getTransparencyCastsShadows()}}
{\footnotesize\ttfamily bool Ogre\+::\+Material\+::get\+Transparency\+Casts\+Shadows (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns whether or not objects using this material be classified as opaque to the shadow caster system. 

\mbox{\Hypertarget{class_ogre_1_1_material_af4238db138727651e692e015e378134a}\label{class_ogre_1_1_material_af4238db138727651e692e015e378134a}} 
\index{Ogre::Material@{Ogre::Material}!createTechnique@{createTechnique}}
\index{createTechnique@{createTechnique}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{createTechnique()}{createTechnique()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}$\ast$ Ogre\+::\+Material\+::create\+Technique (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Creates a new \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} for this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. 

\begin{DoxyRemark}{Remarks}
A \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} is a single way of rendering geometry in order to achieve the effect you are intending in a material. There are many reason why you would want more than one -\/ the main one being to handle variable graphics card abilities; you might have one technique which is impressive but only runs on 4th-\/generation graphics cards, for example. In this case you will want to create at least one fallback \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. O\+G\+RE will work out which Techniques a card can support and pick the best one. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
If multiple Techniques are available, the order in which they are created is important -\/ the engine will consider lower-\/indexed Techniques to be preferable to higher-\/indexed Techniques, ie when asked for the \textquotesingle{}best\textquotesingle{} technique it will return the first one in the technique list which is supported by the hardware. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_material_a011abd64ab54e84c516068caa5001c91}\label{class_ogre_1_1_material_a011abd64ab54e84c516068caa5001c91}} 
\index{Ogre::Material@{Ogre::Material}!getTechnique@{getTechnique}}
\index{getTechnique@{getTechnique}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getTechnique()}{getTechnique()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}$\ast$ Ogre\+::\+Material\+::get\+Technique (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption}) const}



Gets the indexed technique. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000071}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}{get\+Techniques()}} ~\newline
 \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_a703093b4ce089e73b124c0d04b019303}\label{class_ogre_1_1_material_a703093b4ce089e73b124c0d04b019303}} 
\index{Ogre::Material@{Ogre::Material}!getTechnique@{getTechnique}}
\index{getTechnique@{getTechnique}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getTechnique()}{getTechnique()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}$\ast$ Ogre\+::\+Material\+::get\+Technique (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const}



searches for the named technique. 

Return 0 if technique with name is not found \mbox{\Hypertarget{class_ogre_1_1_material_a6ee1fe32db9f689a522262922ffa9b39}\label{class_ogre_1_1_material_a6ee1fe32db9f689a522262922ffa9b39}} 
\index{Ogre::Material@{Ogre::Material}!getNumTechniques@{getNumTechniques}}
\index{getNumTechniques@{getNumTechniques}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getNumTechniques()}{getNumTechniques()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Material\+::get\+Num\+Techniques (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Retrieves the number of techniques. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000072}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}{get\+Techniques()}} ~\newline
 \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_a8a81c60f958b0f3615c8690583c10d52}\label{class_ogre_1_1_material_a8a81c60f958b0f3615c8690583c10d52}} 
\index{Ogre::Material@{Ogre::Material}!removeTechnique@{removeTechnique}}
\index{removeTechnique@{removeTechnique}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{removeTechnique()}{removeTechnique()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::remove\+Technique (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption})}



Removes the technique at the given index. 

\mbox{\Hypertarget{class_ogre_1_1_material_a1158a82d9399448666ea415d5f9a10a9}\label{class_ogre_1_1_material_a1158a82d9399448666ea415d5f9a10a9}} 
\index{Ogre::Material@{Ogre::Material}!removeAllTechniques@{removeAllTechniques}}
\index{removeAllTechniques@{removeAllTechniques}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{removeAllTechniques()}{removeAllTechniques()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::remove\+All\+Techniques (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Removes all the techniques in this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. 

\mbox{\Hypertarget{class_ogre_1_1_material_a2b00231e68df74a029421e1511ae97d6}\label{class_ogre_1_1_material_a2b00231e68df74a029421e1511ae97d6}} 
\index{Ogre::Material@{Ogre::Material}!getTechniqueIterator@{getTechniqueIterator}}
\index{getTechniqueIterator@{getTechniqueIterator}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getTechniqueIterator()}{getTechniqueIterator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator}} Ogre\+::\+Material\+::get\+Technique\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get an iterator over the Techniques in this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000073}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}{get\+Techniques()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}\label{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}} 
\index{Ogre::Material@{Ogre::Material}!getTechniques@{getTechniques}}
\index{getTechniques@{getTechniques}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getTechniques()}{getTechniques()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}}\& Ogre\+::\+Material\+::get\+Techniques (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Techniques in this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. 

\mbox{\Hypertarget{class_ogre_1_1_material_ac61c46313341184929c70fb21c35f102}\label{class_ogre_1_1_material_ac61c46313341184929c70fb21c35f102}} 
\index{Ogre::Material@{Ogre::Material}!getSupportedTechniques@{getSupportedTechniques}}
\index{getSupportedTechniques@{getSupportedTechniques}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getSupportedTechniques()}{getSupportedTechniques()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}}\& Ogre\+::\+Material\+::get\+Supported\+Techniques (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets all the Techniques which are supported by the current card. 

\begin{DoxyRemark}{Remarks}
The supported technique list is only available after this material has been compiled, which typically happens on loading the material. Therefore, if this method returns an empty list, try calling \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{Material\+::load}}. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_material_a96a7e49668804887511eeb1af691ace0}\label{class_ogre_1_1_material_a96a7e49668804887511eeb1af691ace0}} 
\index{Ogre::Material@{Ogre::Material}!getSupportedTechniqueIterator@{getSupportedTechniqueIterator}}
\index{getSupportedTechniqueIterator@{getSupportedTechniqueIterator}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getSupportedTechniqueIterator()}{getSupportedTechniqueIterator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator}} Ogre\+::\+Material\+::get\+Supported\+Technique\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000074}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_ac61c46313341184929c70fb21c35f102}{get\+Supported\+Techniques()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_accfd676f253b906ab3e661b8453465ee}\label{class_ogre_1_1_material_accfd676f253b906ab3e661b8453465ee}} 
\index{Ogre::Material@{Ogre::Material}!getSupportedTechnique@{getSupportedTechnique}}
\index{getSupportedTechnique@{getSupportedTechnique}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getSupportedTechnique()}{getSupportedTechnique()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}$\ast$ Ogre\+::\+Material\+::get\+Supported\+Technique (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption})}



Gets the indexed supported technique. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000075}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_ac61c46313341184929c70fb21c35f102}{get\+Supported\+Techniques()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_adb809a1006c92bf84746bf145add297e}\label{class_ogre_1_1_material_adb809a1006c92bf84746bf145add297e}} 
\index{Ogre::Material@{Ogre::Material}!getNumSupportedTechniques@{getNumSupportedTechniques}}
\index{getNumSupportedTechniques@{getNumSupportedTechniques}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getNumSupportedTechniques()}{getNumSupportedTechniques()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Material\+::get\+Num\+Supported\+Techniques (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Retrieves the number of supported techniques. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000076}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_ac61c46313341184929c70fb21c35f102}{get\+Supported\+Techniques()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_a20a22a23c0f33bcac8141b9ad7a90fe7}\label{class_ogre_1_1_material_a20a22a23c0f33bcac8141b9ad7a90fe7}} 
\index{Ogre::Material@{Ogre::Material}!getUnsupportedTechniquesExplanation@{getUnsupportedTechniquesExplanation}}
\index{getUnsupportedTechniquesExplanation@{getUnsupportedTechniquesExplanation}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getUnsupportedTechniquesExplanation()}{getUnsupportedTechniquesExplanation()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Material\+::get\+Unsupported\+Techniques\+Explanation (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets a string explaining why any techniques are not supported. 

\mbox{\Hypertarget{class_ogre_1_1_material_a329e758eca8bedadf01edc49f29c5b2e}\label{class_ogre_1_1_material_a329e758eca8bedadf01edc49f29c5b2e}} 
\index{Ogre::Material@{Ogre::Material}!getNumLodLevels@{getNumLodLevels}}
\index{getNumLodLevels@{getNumLodLevels}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getNumLodLevels()}{getNumLodLevels()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Material\+::get\+Num\+Lod\+Levels (\begin{DoxyParamCaption}\item[{unsigned short}]{scheme\+Index }\end{DoxyParamCaption}) const}



Gets the number of levels-\/of-\/detail this material has in the given scheme, based on \mbox{\hyperlink{class_ogre_1_1_technique_ab72db7823cc9a8e872aed1ca6ae2cff8}{Technique\+::set\+Lod\+Index}}. 

\begin{DoxyRemark}{Remarks}
Note that this will not be up to date until the material has been compiled. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_material_a90e332b7e44b66bc34e3b90d810f7f2e}\label{class_ogre_1_1_material_a90e332b7e44b66bc34e3b90d810f7f2e}} 
\index{Ogre::Material@{Ogre::Material}!getNumLodLevels@{getNumLodLevels}}
\index{getNumLodLevels@{getNumLodLevels}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getNumLodLevels()}{getNumLodLevels()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Material\+::get\+Num\+Lod\+Levels (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{scheme\+Name }\end{DoxyParamCaption}) const}



Gets the number of levels-\/of-\/detail this material has in the given scheme, based on \mbox{\hyperlink{class_ogre_1_1_technique_ab72db7823cc9a8e872aed1ca6ae2cff8}{Technique\+::set\+Lod\+Index}}. 

\begin{DoxyRemark}{Remarks}
Note that this will not be up to date until the material has been compiled. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_material_a37ae7259ce89bdc38828ea1b977bdbcf}\label{class_ogre_1_1_material_a37ae7259ce89bdc38828ea1b977bdbcf}} 
\index{Ogre::Material@{Ogre::Material}!getBestTechnique@{getBestTechnique}}
\index{getBestTechnique@{getBestTechnique}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getBestTechnique()}{getBestTechnique()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}$\ast$ Ogre\+::\+Material\+::get\+Best\+Technique (\begin{DoxyParamCaption}\item[{unsigned short}]{lod\+Index = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$}]{rend = {\ttfamily 0} }\end{DoxyParamCaption})}



Gets the best supported technique. 

\begin{DoxyRemark}{Remarks}
This method returns the lowest-\/index supported \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} in this material (since lower-\/indexed Techniques are considered to be better than higher-\/indexed ones). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
The best supported technique is only available after this material has been compiled, which typically happens on loading the material. Therefore, if this method returns N\+U\+LL, try calling \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{Material\+::load}}. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em lod\+Index} & The material L\+OD index to use \\
\hline
{\em rend} & Optional parameter specifying the \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} that is requesting this technique. Only used if no valid technique for the active material scheme is found, at which point it is passed to \mbox{\hyperlink{class_ogre_1_1_material_manager_1_1_listener_a54bc384ab1102063aa00db4c3a5f3fc4}{Material\+Manager\+::\+Listener\+::handle\+Scheme\+Not\+Found}} as information. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_material_a28e13cc77ce7deb5f0cbe2388251224d}\label{class_ogre_1_1_material_a28e13cc77ce7deb5f0cbe2388251224d}} 
\index{Ogre::Material@{Ogre::Material}!clone@{clone}}
\index{clone@{clone}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{clone()}{clone()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} Ogre\+::\+Material\+::clone (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{new\+Name,  }\item[{bool}]{change\+Group = {\ttfamily false},  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{new\+Group = {\ttfamily \mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}}} }\end{DoxyParamCaption}) const}



Creates a new copy of this material with the same settings but a new name. 


\begin{DoxyParams}{Parameters}
{\em new\+Name} & The name for the cloned material \\
\hline
{\em change\+Group} & If true, the resource group of the clone is changed \\
\hline
{\em new\+Group} & Only required if change\+Group is true; the new group to assign \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_material_a255bc92a45a8740b388a2b3f0691ee67}\label{class_ogre_1_1_material_a255bc92a45a8740b388a2b3f0691ee67}} 
\index{Ogre::Material@{Ogre::Material}!copyDetailsTo@{copyDetailsTo}}
\index{copyDetailsTo@{copyDetailsTo}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{copyDetailsTo()}{copyDetailsTo()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::copy\+Details\+To (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \&}]{mat }\end{DoxyParamCaption}) const}



Copies the details of this material into another, preserving the target\textquotesingle{}s handle and name (unlike operator=) but copying everything else. 


\begin{DoxyParams}{Parameters}
{\em mat} & Weak reference to material which will receive this material\textquotesingle{}s settings. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_material_a1f51926064eaa39f9d85393b41bb8870}\label{class_ogre_1_1_material_a1f51926064eaa39f9d85393b41bb8870}} 
\index{Ogre::Material@{Ogre::Material}!compile@{compile}}
\index{compile@{compile}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{compile()}{compile()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::compile (\begin{DoxyParamCaption}\item[{bool}]{auto\+Manage\+Texture\+Units = {\ttfamily true} }\end{DoxyParamCaption})}



\textquotesingle{}Compiles\textquotesingle{} this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. 

\begin{DoxyRemark}{Remarks}
Compiling a material involves determining which Techniques are supported on the card on which O\+G\+RE is currently running, and for fixed-\/function Passes within those Techniques, splitting the passes down where they contain more \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} instances than the current card has texture units. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This process is automatically done when the \mbox{\hyperlink{class_ogre_1_1_material}{Material}} is loaded, but may be repeated if you make some procedural changes. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em auto\+Manage\+Texture\+Units} & If true, when a fixed function pass has too many \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} entries than the card has texture units, the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in question will be split into more than one \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in order to emulate the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. If you set this to false and this situation arises, an \mbox{\hyperlink{class_ogre_1_1_exception}{Exception}} will be thrown. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_material_a8c26b7ccb050d96cd031db31bf996b48}\label{class_ogre_1_1_material_a8c26b7ccb050d96cd031db31bf996b48}} 
\index{Ogre::Material@{Ogre::Material}!setPointSize@{setPointSize}}
\index{setPointSize@{setPointSize}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setPointSize()}{setPointSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Point\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{ps }\end{DoxyParamCaption})}



Sets the point size properties for every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a490736f9eaeffd1c60611869d68931ee}{Pass\+::set\+Point\+Size}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_ad6c35dbe79639fc0fa18eb109b7da1af}\label{class_ogre_1_1_material_ad6c35dbe79639fc0fa18eb109b7da1af}} 
\index{Ogre::Material@{Ogre::Material}!setAmbient@{setAmbient}}
\index{setAmbient@{setAmbient}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setAmbient()}{setAmbient()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Ambient (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue }\end{DoxyParamCaption})}



Sets the ambient colour reflectance properties for every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_aba057d0d19159c21b9a79485512b6f9d}{Pass\+::set\+Ambient}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_af2788cd021eba0164ff6020de64d417e}\label{class_ogre_1_1_material_af2788cd021eba0164ff6020de64d417e}} 
\index{Ogre::Material@{Ogre::Material}!setAmbient@{setAmbient}}
\index{setAmbient@{setAmbient}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setAmbient()}{setAmbient()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Ambient (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{ambient }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_material_a625d27ef43d359a6b4f2dc58a363af95}\label{class_ogre_1_1_material_a625d27ef43d359a6b4f2dc58a363af95}} 
\index{Ogre::Material@{Ogre::Material}!setDiffuse@{setDiffuse}}
\index{setDiffuse@{setDiffuse}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setDiffuse()}{setDiffuse()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Diffuse (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue,  }\item[{float}]{alpha }\end{DoxyParamCaption})}



Sets the diffuse colour reflectance properties of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a823dd0856cf4d8bfa08abc3591c47c02}{Pass\+::set\+Diffuse}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_ac074b3eb66c45685be8fb4b0ebbebcd6}\label{class_ogre_1_1_material_ac074b3eb66c45685be8fb4b0ebbebcd6}} 
\index{Ogre::Material@{Ogre::Material}!setDiffuse@{setDiffuse}}
\index{setDiffuse@{setDiffuse}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setDiffuse()}{setDiffuse()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Diffuse (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{diffuse }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_material_aa164110eb03c76be71a19a599d312695}\label{class_ogre_1_1_material_aa164110eb03c76be71a19a599d312695}} 
\index{Ogre::Material@{Ogre::Material}!setSpecular@{setSpecular}}
\index{setSpecular@{setSpecular}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSpecular()}{setSpecular()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Specular (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue,  }\item[{float}]{alpha }\end{DoxyParamCaption})}



Sets the specular colour reflectance properties of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a4e47ea4922d6da5b58eb9879f7e9da09}{Pass\+::set\+Specular}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_ac0fd7b4c5684270dc61e57ef6ddef4f2}\label{class_ogre_1_1_material_ac0fd7b4c5684270dc61e57ef6ddef4f2}} 
\index{Ogre::Material@{Ogre::Material}!setSpecular@{setSpecular}}
\index{setSpecular@{setSpecular}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSpecular()}{setSpecular()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Specular (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{specular }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_material_a008c264b3fa918677120621d6a112f99}\label{class_ogre_1_1_material_a008c264b3fa918677120621d6a112f99}} 
\index{Ogre::Material@{Ogre::Material}!setShininess@{setShininess}}
\index{setShininess@{setShininess}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setShininess()}{setShininess()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Shininess (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{val }\end{DoxyParamCaption})}



Sets the shininess properties of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a8202cf155d20602fd9c0ec53273a442f}{Pass\+::set\+Shininess}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a9b7da0a1133ef7f1429faa91895f3735}\label{class_ogre_1_1_material_a9b7da0a1133ef7f1429faa91895f3735}} 
\index{Ogre::Material@{Ogre::Material}!setSelfIllumination@{setSelfIllumination}}
\index{setSelfIllumination@{setSelfIllumination}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSelfIllumination()}{setSelfIllumination()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Self\+Illumination (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue }\end{DoxyParamCaption})}



Sets the amount of self-\/illumination of every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a93c36ae948d9e0357c11adb0ce6d5859}{Pass\+::set\+Self\+Illumination}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a27911290eaa7990dea483f62d27c9285}\label{class_ogre_1_1_material_a27911290eaa7990dea483f62d27c9285}} 
\index{Ogre::Material@{Ogre::Material}!setSelfIllumination@{setSelfIllumination}}
\index{setSelfIllumination@{setSelfIllumination}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSelfIllumination()}{setSelfIllumination()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Self\+Illumination (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{self\+Illum }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_material_a44413ef81066bc9a44e29361749a0f6e}\label{class_ogre_1_1_material_a44413ef81066bc9a44e29361749a0f6e}} 
\index{Ogre::Material@{Ogre::Material}!setDepthCheckEnabled@{setDepthCheckEnabled}}
\index{setDepthCheckEnabled@{setDepthCheckEnabled}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setDepthCheckEnabled()}{setDepthCheckEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Depth\+Check\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} renders with depth-\/buffer checking on or not. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_ae454faee87f8cb0b8540810e48118788}{Pass\+::set\+Depth\+Check\+Enabled}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_abdb247ea40cec3c59c3a8726664695c8}\label{class_ogre_1_1_material_abdb247ea40cec3c59c3a8726664695c8}} 
\index{Ogre::Material@{Ogre::Material}!setDepthWriteEnabled@{setDepthWriteEnabled}}
\index{setDepthWriteEnabled@{setDepthWriteEnabled}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setDepthWriteEnabled()}{setDepthWriteEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Depth\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} renders with depth-\/buffer writing on or not. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_aad3e6c7c7b59e2c303c348b4850b1a3a}{Pass\+::set\+Depth\+Write\+Enabled}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a5e6e5526611a5f10203225e4d2f86d0c}\label{class_ogre_1_1_material_a5e6e5526611a5f10203225e4d2f86d0c}} 
\index{Ogre::Material@{Ogre::Material}!setDepthFunction@{setDepthFunction}}
\index{setDepthFunction@{setDepthFunction}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setDepthFunction()}{setDepthFunction()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Depth\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func }\end{DoxyParamCaption})}



Sets the function used to compare depth values when depth checking is on. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_aef6c591b069aa6f7c65afc1419d47de6}{Pass\+::set\+Depth\+Function}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_ab88f2abf1ca49a99555820fce32f75a0}\label{class_ogre_1_1_material_ab88f2abf1ca49a99555820fce32f75a0}} 
\index{Ogre::Material@{Ogre::Material}!setColourWriteEnabled@{setColourWriteEnabled}}
\index{setColourWriteEnabled@{setColourWriteEnabled}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setColourWriteEnabled()}{setColourWriteEnabled()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Colour\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not colour buffer writing is enabled for each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a3bbe37daba7e3be4349177374d4e40ee}{Pass\+::set\+Colour\+Write\+Enabled}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_ac3f27bc005bba5e2e286156ab0d74a35}\label{class_ogre_1_1_material_ac3f27bc005bba5e2e286156ab0d74a35}} 
\index{Ogre::Material@{Ogre::Material}!setColourWriteEnabled@{setColourWriteEnabled}}
\index{setColourWriteEnabled@{setColourWriteEnabled}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setColourWriteEnabled()}{setColourWriteEnabled()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Colour\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{red,  }\item[{bool}]{green,  }\item[{bool}]{blue,  }\item[{bool}]{alpha }\end{DoxyParamCaption})}



Sets which colour buffer channels are enabled for writing for each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a3bbe37daba7e3be4349177374d4e40ee}{Pass\+::set\+Colour\+Write\+Enabled}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a8937a20eafba0997f7a6889fd6a188e4}\label{class_ogre_1_1_material_a8937a20eafba0997f7a6889fd6a188e4}} 
\index{Ogre::Material@{Ogre::Material}!setCullingMode@{setCullingMode}}
\index{setCullingMode@{setCullingMode}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setCullingMode()}{setCullingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Culling\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}}}]{mode }\end{DoxyParamCaption})}



Sets the culling mode for each pass based on the \textquotesingle{}vertex winding\textquotesingle{}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a8942abf3ede0f3cb43584c85c4071734}{Pass\+::set\+Culling\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_ad7cff3d355ac80a2325ff77448c48177}\label{class_ogre_1_1_material_ad7cff3d355ac80a2325ff77448c48177}} 
\index{Ogre::Material@{Ogre::Material}!setManualCullingMode@{setManualCullingMode}}
\index{setManualCullingMode@{setManualCullingMode}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setManualCullingMode()}{setManualCullingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Manual\+Culling\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga07ec94cf178172a6778223e6f70f23fc}{Manual\+Culling\+Mode}}}]{mode }\end{DoxyParamCaption})}



Sets the manual culling mode, performed by C\+PU rather than hardware. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a3b528827b54f17b72bb204321640a6f7}{Pass\+::set\+Manual\+Culling\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a758ce629d7d709a7038ede19d21f59cf}\label{class_ogre_1_1_material_a758ce629d7d709a7038ede19d21f59cf}} 
\index{Ogre::Material@{Ogre::Material}!setLightingEnabled@{setLightingEnabled}}
\index{setLightingEnabled@{setLightingEnabled}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setLightingEnabled()}{setLightingEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Lighting\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not dynamic lighting is enabled for every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{Pass\+::set\+Lighting\+Enabled}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_abe72697aa6f639a23d2003fc10d3939b}\label{class_ogre_1_1_material_abe72697aa6f639a23d2003fc10d3939b}} 
\index{Ogre::Material@{Ogre::Material}!setShadingMode@{setShadingMode}}
\index{setShadingMode@{setShadingMode}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setShadingMode()}{setShadingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Shading\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga7afd4c7d428baaee13f3a0dbcae5f560}{Shade\+Options}}}]{mode }\end{DoxyParamCaption})}



Sets the type of light shading required. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_ade6c00297cd5d46bb365d981cd1764a6}{Pass\+::set\+Shading\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a72e01ffc38eca515f70387c2b1a72c4c}\label{class_ogre_1_1_material_a72e01ffc38eca515f70387c2b1a72c4c}} 
\index{Ogre::Material@{Ogre::Material}!setFog@{setFog}}
\index{setFog@{setFog}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setFog()}{setFog()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Fog (\begin{DoxyParamCaption}\item[{bool}]{override\+Scene,  }\item[{\mbox{\hyperlink{group___general_ga83edeb2e5d33a3ca8f15834ba40020ba}{Fog\+Mode}}}]{mode = {\ttfamily \mbox{\hyperlink{group___general_gga83edeb2e5d33a3ca8f15834ba40020baab7793a21880052c0214d4cc040992310}{F\+O\+G\+\_\+\+N\+O\+NE}}},  }\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{colour = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{exp\+Density = {\ttfamily 0.001f},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{linear\+Start = {\ttfamily 0.0f},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{linear\+End = {\ttfamily 1.0f} }\end{DoxyParamCaption})}



Sets the fogging mode applied to each pass. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a23f2824f0dfd41ec09cbdbd0b3a98e1c}{Pass\+::set\+Fog}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_acb0cf0ddfd03f3c4fd1d6dc278076463}\label{class_ogre_1_1_material_acb0cf0ddfd03f3c4fd1d6dc278076463}} 
\index{Ogre::Material@{Ogre::Material}!setDepthBias@{setDepthBias}}
\index{setDepthBias@{setDepthBias}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setDepthBias()}{setDepthBias()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Depth\+Bias (\begin{DoxyParamCaption}\item[{float}]{constant\+Bias,  }\item[{float}]{slope\+Scale\+Bias }\end{DoxyParamCaption})}



Sets the depth bias to be used for each \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_aa35a3242a45176f8605bd8c866198b67}{Pass\+::set\+Depth\+Bias}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a2424a948e95a581d1b7de87ea14e7131}\label{class_ogre_1_1_material_a2424a948e95a581d1b7de87ea14e7131}} 
\index{Ogre::Material@{Ogre::Material}!setTextureFiltering@{setTextureFiltering}}
\index{setTextureFiltering@{setTextureFiltering}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setTextureFiltering()}{setTextureFiltering()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options}}}]{filter\+Type }\end{DoxyParamCaption})}



Set texture filtering for every texture unit in every \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. For simplicity, this method allows you to set these properties for every current Teexture\+Unit\+State, If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} and \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}{Texture\+Unit\+State\+::set\+Texture\+Filtering}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_aa0725c90c26094f73c04eedd51773bee}\label{class_ogre_1_1_material_aa0725c90c26094f73c04eedd51773bee}} 
\index{Ogre::Material@{Ogre::Material}!setTextureAnisotropy@{setTextureAnisotropy}}
\index{setTextureAnisotropy@{setTextureAnisotropy}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setTextureAnisotropy()}{setTextureAnisotropy()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Texture\+Anisotropy (\begin{DoxyParamCaption}\item[{int}]{max\+Aniso }\end{DoxyParamCaption})}



Sets the anisotropy level to be used for all textures. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. For simplicity, this method allows you to set these properties for every current Teexture\+Unit\+State, If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} and \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_abb2bc03bc72f2098e37c4240f637c5e5}{Texture\+Unit\+State\+::set\+Texture\+Anisotropy}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a8c9ccac6e60241a1865ac211e3b203c8}\label{class_ogre_1_1_material_a8c9ccac6e60241a1865ac211e3b203c8}} 
\index{Ogre::Material@{Ogre::Material}!setSceneBlending@{setSceneBlending}}
\index{setSceneBlending@{setSceneBlending}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSceneBlending()}{setSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}}}]{sbt }\end{DoxyParamCaption})}



Sets the kind of blending every pass has with the existing contents of the scene. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_ae21d6f29c89eeff54ab6de5562818c02}{Pass\+::set\+Scene\+Blending}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a046659fb27e92554d2a3f4c5a49c7579}\label{class_ogre_1_1_material_a046659fb27e92554d2a3f4c5a49c7579}} 
\index{Ogre::Material@{Ogre::Material}!setSeparateSceneBlending@{setSeparateSceneBlending}}
\index{setSeparateSceneBlending@{setSeparateSceneBlending}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSeparateSceneBlending()}{setSeparateSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Separate\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}}}]{sbt,  }\item[{const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}}}]{sbta }\end{DoxyParamCaption})}



Sets the kind of blending every pass has with the existing contents of the scene, using individual factors for color and alpha channels. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_aefbd80d762d78838df626482df1ac81b}{Pass\+::set\+Separate\+Scene\+Blending}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a145badc7cadec0958241a47b6037b3e6}\label{class_ogre_1_1_material_a145badc7cadec0958241a47b6037b3e6}} 
\index{Ogre::Material@{Ogre::Material}!setSceneBlending@{setSceneBlending}}
\index{setSceneBlending@{setSceneBlending}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSceneBlending()}{setSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor }\end{DoxyParamCaption})}



Allows very fine control of blending every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_ae21d6f29c89eeff54ab6de5562818c02}{Pass\+::set\+Scene\+Blending}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_aa934de36e2d8c867b6ed1fc9c0fa8be0}\label{class_ogre_1_1_material_aa934de36e2d8c867b6ed1fc9c0fa8be0}} 
\index{Ogre::Material@{Ogre::Material}!setSeparateSceneBlending@{setSeparateSceneBlending}}
\index{setSeparateSceneBlending@{setSeparateSceneBlending}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setSeparateSceneBlending()}{setSeparateSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Separate\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor\+Alpha,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor\+Alpha }\end{DoxyParamCaption})}



Allows very fine control of blending every \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene, using individual factors for color and alpha channels. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. For simplicity, this method allows you to set these properties for every current \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, and for every current \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} within those Techniques. If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_aefbd80d762d78838df626482df1ac81b}{Pass\+::set\+Separate\+Scene\+Blending}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_material_a66ab9a0f0ef89e66a0f0e0349433af39}\label{class_ogre_1_1_material_a66ab9a0f0ef89e66a0f0e0349433af39}} 
\index{Ogre::Material@{Ogre::Material}!\_notifyNeedsRecompile@{\_notifyNeedsRecompile}}
\index{\_notifyNeedsRecompile@{\_notifyNeedsRecompile}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{\_notifyNeedsRecompile()}{\_notifyNeedsRecompile()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::\+\_\+notify\+Needs\+Recompile (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Tells the material that it needs recompilation. 

\mbox{\Hypertarget{class_ogre_1_1_material_a67d79bf335a4f3a9ed2bc9d70b2e7994}\label{class_ogre_1_1_material_a67d79bf335a4f3a9ed2bc9d70b2e7994}} 
\index{Ogre::Material@{Ogre::Material}!setLodLevels@{setLodLevels}}
\index{setLodLevels@{setLodLevels}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setLodLevels()}{setLodLevels()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Lod\+Levels (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}} \&}]{lod\+Values }\end{DoxyParamCaption})}



Sets the distance at which level-\/of-\/detail (L\+OD) levels come into effect. 

\begin{DoxyRemark}{Remarks}
You should only use this if you have assigned L\+OD indexes to the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} instances attached to this \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. If you have done so, you should call this method to determine the distance at which the lowe levels of detail kick in. The decision about what distance is actually used is a combination of this and the L\+OD bias applied to both the current \mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} and the current \mbox{\hyperlink{class_ogre_1_1_entity}{Entity}}. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em lod\+Values} & A vector of Reals which indicate the L\+OD value at which to switch to lower details. They are listed in L\+OD index order, starting at index 1 (ie the first level down from the highest level 0, which automatically applies from a value of 0). These are \textquotesingle{}user values\textquotesingle{}, before being potentially transformed by the strategy, so for the distance strategy this is an unsquared distance for example. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_material_a2151ae9ef9d5099d097586cd916eb9b9}\label{class_ogre_1_1_material_a2151ae9ef9d5099d097586cd916eb9b9}} 
\index{Ogre::Material@{Ogre::Material}!getLodValues@{getLodValues}}
\index{getLodValues@{getLodValues}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getLodValues()}{getLodValues()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}}\& Ogre\+::\+Material\+::get\+Lod\+Values (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the list of values transformed by the \mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}} at which each L\+OD comes into effect. 

\begin{DoxyRemark}{Remarks}
Note that the iterator returned from this method is not totally analogous to the one passed in by calling set\+Lod\+Levels -\/ the list includes a zero entry at the start (since the highest L\+OD starts at value 0). Also, the values returned are after being transformed by \mbox{\hyperlink{class_ogre_1_1_lod_strategy_a60e9908806b839380729aae13b9a959a}{Lod\+Strategy\+::transform\+User\+Value}}. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_material_afd936b84ca57f7baba8b20d3fa1db1fc}\label{class_ogre_1_1_material_afd936b84ca57f7baba8b20d3fa1db1fc}} 
\index{Ogre::Material@{Ogre::Material}!getLodValueIterator@{getLodValueIterator}}
\index{getLodValueIterator@{getLodValueIterator}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getLodValueIterator()}{getLodValueIterator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator}} Ogre\+::\+Material\+::get\+Lod\+Value\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000077}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_a2151ae9ef9d5099d097586cd916eb9b9}{get\+Lod\+Values()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_ab7ae9832e271185e4eba2a4ad3c26449}\label{class_ogre_1_1_material_ab7ae9832e271185e4eba2a4ad3c26449}} 
\index{Ogre::Material@{Ogre::Material}!getUserLodValues@{getUserLodValues}}
\index{getUserLodValues@{getUserLodValues}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getUserLodValues()}{getUserLodValues()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}}\& Ogre\+::\+Material\+::get\+User\+Lod\+Values (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the user-\/defined list of values which are internally transfomed by the \mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}}. 

\begin{DoxyRemark}{Remarks}
Note that the iterator returned from this method is not totally analogous to the one passed in by calling set\+Lod\+Levels -\/ the list includes a zero entry at the start (since the highest L\+OD starts at value 0). Also, the values returned are after being transformed by \mbox{\hyperlink{class_ogre_1_1_lod_strategy_a60e9908806b839380729aae13b9a959a}{Lod\+Strategy\+::transform\+User\+Value}}. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_material_aab7875efbb7e2b0e5fed198469035a31}\label{class_ogre_1_1_material_aab7875efbb7e2b0e5fed198469035a31}} 
\index{Ogre::Material@{Ogre::Material}!getUserLodValueIterator@{getUserLodValueIterator}}
\index{getUserLodValueIterator@{getUserLodValueIterator}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getUserLodValueIterator()}{getUserLodValueIterator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator}} Ogre\+::\+Material\+::get\+User\+Lod\+Value\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000078}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_material_ab7ae9832e271185e4eba2a4ad3c26449}{get\+User\+Lod\+Values()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_af81986e979247fbc612bf88fe9671c5b}\label{class_ogre_1_1_material_af81986e979247fbc612bf88fe9671c5b}} 
\index{Ogre::Material@{Ogre::Material}!getLodIndex@{getLodIndex}}
\index{getLodIndex@{getLodIndex}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getLodIndex()}{getLodIndex()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+Material\+::get\+Lod\+Index (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{value }\end{DoxyParamCaption}) const}



Gets the L\+OD index to use at the given value. 

\begin{DoxyNote}{Note}
The value passed in is the \textquotesingle{}transformed\textquotesingle{} value. If you are dealing with an original source value (e.\+g. distance), use \mbox{\hyperlink{class_ogre_1_1_lod_strategy_a60e9908806b839380729aae13b9a959a}{Lod\+Strategy\+::transform\+User\+Value}} to turn this into a lookup value. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_material_acccbb35d9ff9aa45b4f4469475bafa02}\label{class_ogre_1_1_material_acccbb35d9ff9aa45b4f4469475bafa02}} 
\index{Ogre::Material@{Ogre::Material}!getLodStrategy@{getLodStrategy}}
\index{getLodStrategy@{getLodStrategy}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getLodStrategy()}{getLodStrategy()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}}$\ast$ Ogre\+::\+Material\+::get\+Lod\+Strategy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get L\+OD strategy used by this material. 

\mbox{\Hypertarget{class_ogre_1_1_material_a8809a6d4f0e4e6380aee7f0e34e5d2cf}\label{class_ogre_1_1_material_a8809a6d4f0e4e6380aee7f0e34e5d2cf}} 
\index{Ogre::Material@{Ogre::Material}!setLodStrategy@{setLodStrategy}}
\index{setLodStrategy@{setLodStrategy}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setLodStrategy()}{setLodStrategy()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Lod\+Strategy (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}} $\ast$}]{lod\+Strategy }\end{DoxyParamCaption})}



Set the L\+OD strategy used by this material. 

\mbox{\Hypertarget{class_ogre_1_1_material_a340e9c6140a5b0f3467596712aa122a9}\label{class_ogre_1_1_material_a340e9c6140a5b0f3467596712aa122a9}} 
\index{Ogre::Material@{Ogre::Material}!touch@{touch}}
\index{touch@{touch}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{touch()}{touch()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::touch (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\textquotesingle{}Touches\textquotesingle{} the resource to indicate it has been used. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_resource_ae229b1f58092109adef55bfc6f864d79}{Ogre\+::\+Resource}}.



References Ogre\+::\+Resource\+::touch().

\mbox{\Hypertarget{class_ogre_1_1_material_a41f86ef8e5ae9e12ef802b6ff0d4d692}\label{class_ogre_1_1_material_a41f86ef8e5ae9e12ef802b6ff0d4d692}} 
\index{Ogre::Material@{Ogre::Material}!applyTextureAliases@{applyTextureAliases}}
\index{applyTextureAliases@{applyTextureAliases}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{applyTextureAliases()}{applyTextureAliases()}}
{\footnotesize\ttfamily bool Ogre\+::\+Material\+::apply\+Texture\+Aliases (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List}} \&}]{alias\+List,  }\item[{const bool}]{apply = {\ttfamily true} }\end{DoxyParamCaption}) const}



Applies texture names to \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State with matching texture name aliases. 

All techniques, passes, and \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit States within the material are checked. If matching texture aliases are found then true is returned.


\begin{DoxyParams}{Parameters}
{\em alias\+List} & is a map container of texture alias, texture name pairs \\
\hline
{\em apply} & set true to apply the texture aliases else just test to see if texture alias matches are found. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if matching texture aliases were found in the material. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_material_a0473d5bf1469491e9e40a434c4817127}\label{class_ogre_1_1_material_a0473d5bf1469491e9e40a434c4817127}} 
\index{Ogre::Material@{Ogre::Material}!getCompilationRequired@{getCompilationRequired}}
\index{getCompilationRequired@{getCompilationRequired}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getCompilationRequired()}{getCompilationRequired()}}
{\footnotesize\ttfamily bool Ogre\+::\+Material\+::get\+Compilation\+Required (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the compilation status of the material. 

\begin{DoxyReturn}{Returns}
True if the material needs recompilation. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}\label{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}} 
\index{Ogre::Material@{Ogre::Material}!prepare@{prepare}}
\index{prepare@{prepare}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{prepare()}{prepare()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::prepare (\begin{DoxyParamCaption}\item[{bool}]{background\+Thread = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Prepares the resource for load, if it is not already. 

One can call \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} before \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}}, but this is not required as \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} will call \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} itself, if needed. When O\+G\+R\+E\+\_\+\+T\+H\+R\+E\+A\+D\+\_\+\+S\+U\+P\+P\+O\+RT==1 both \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} and \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} are thread-\/safe. When O\+G\+R\+E\+\_\+\+T\+H\+R\+E\+A\+D\+\_\+\+S\+U\+P\+P\+O\+RT==2 however, only \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} is thread-\/safe. The reason for this function is to allow a background thread to do some of the loading work, without requiring the whole render system to be thread-\/safe. The background thread would call \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} while the main render loop would later call \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}}. So long as \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} remains thread-\/safe, subclasses can arbitrarily split the work of loading a resource between \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} and \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}}. It is best to try and do as much work in \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}}, however, since this will leave less work for the main render thread to do and thus increase F\+PS. 
\begin{DoxyParams}{Parameters}
{\em background\+Thread} & Whether this is occurring in a background thread \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}\label{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}} 
\index{Ogre::Material@{Ogre::Material}!load@{load}}
\index{load@{load}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{load()}{load()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::load (\begin{DoxyParamCaption}\item[{bool}]{background\+Thread = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Loads the resource, if it is not already. 

\begin{DoxyRemark}{Remarks}
If the resource is loaded from a file, loading is automatic. If not, if for example this resource gained it\textquotesingle{}s data from procedural calls rather than loading from a file, then this resource will not reload on it\textquotesingle{}s own. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em background\+Thread} & Indicates whether the caller of this method is the background resource loading thread. \\
\hline
\end{DoxyParams}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a39d8ef352a44619ef8cdd93e152c9b5c}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a5016aec1762b026997ddd346775879ef}\label{class_ogre_1_1_resource_a5016aec1762b026997ddd346775879ef}} 
\index{Ogre::Material@{Ogre::Material}!reload@{reload}}
\index{reload@{reload}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{reload()}{reload()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::reload (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}}}]{flags = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Reloads the resource, if it is already loaded. 

\begin{DoxyRemark}{Remarks}
Calls \mbox{\hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{unload()}} and then \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} again, if the resource is already loaded. If it is not loaded already, then nothing happens. 
\end{DoxyRemark}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_mesh_adca1dc667f145d4a4132811eaadf324f}{Ogre\+::\+Mesh}}, and \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a33b2a090d63a597ee92343f4e7abe1d2}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}\label{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}} 
\index{Ogre::Material@{Ogre::Material}!isReloadable@{isReloadable}}
\index{isReloadable@{isReloadable}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{isReloadable()}{isReloadable()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Reloadable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} is reloadable, false otherwise. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a957204efc949b9ad55562b9f8f4371f3}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a8f541900f7e1f73f4c313a732199029a}\label{class_ogre_1_1_resource_a8f541900f7e1f73f4c313a732199029a}} 
\index{Ogre::Material@{Ogre::Material}!isManuallyLoaded@{isManuallyLoaded}}
\index{isManuallyLoaded@{isManuallyLoaded}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{isManuallyLoaded()}{isManuallyLoaded()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Manually\+Loaded (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Is this resource manually loaded? 

\mbox{\Hypertarget{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}\label{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}} 
\index{Ogre::Material@{Ogre::Material}!unload@{unload}}
\index{unload@{unload}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{unload()}{unload()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::unload (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Unloads the resource; this is not permanent, the resource can be reloaded later if required. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_aa2afd5199e4fb4f9e071bcc3b5805d52}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a0617d9f04ca03bd25f4bde201e6ac13b}\label{class_ogre_1_1_resource_a0617d9f04ca03bd25f4bde201e6ac13b}} 
\index{Ogre::Material@{Ogre::Material}!getSize@{getSize}}
\index{getSize@{getSize}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getSize()}{getSize()}}
{\footnotesize\ttfamily virtual size\+\_\+t Ogre\+::\+Resource\+::get\+Size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieves info about the size of the resource. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_cg_program_a65a86c6f911a8ac4b0c6d7366fb44f26}{Ogre\+::\+Cg\+Program}}, and \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_ad501229700788396f71417c19f4990ee}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}\label{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}} 
\index{Ogre::Material@{Ogre::Material}!getName@{getName}}
\index{getName@{getName}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Resource\+::get\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets resource name. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_skeleton_instance_a7a09701fea2d613b196932b1227dab47}{Ogre\+::\+Skeleton\+Instance}}.



Referenced by Ogre\+::\+Gpu\+Program\+Usage\+::get\+Program\+Name(), and Ogre\+Bites\+::\+Tray\+Manager\+::resource\+Load\+Started().

\mbox{\Hypertarget{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}\label{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}} 
\index{Ogre::Material@{Ogre::Material}!getHandle@{getHandle}}
\index{getHandle@{getHandle}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getHandle()}{getHandle()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} Ogre\+::\+Resource\+::get\+Handle (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_skeleton_instance_ae6e32b49e6ec3cc795fc74a41eb379ad}{Ogre\+::\+Skeleton\+Instance}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}\label{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}} 
\index{Ogre::Material@{Ogre::Material}!isPrepared@{isPrepared}}
\index{isPrepared@{isPrepared}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{isPrepared()}{isPrepared()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Prepared (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been prepared, false otherwise. 

\mbox{\Hypertarget{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}\label{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}} 
\index{Ogre::Material@{Ogre::Material}!isLoaded@{isLoaded}}
\index{isLoaded@{isLoaded}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{isLoaded()}{isLoaded()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Loaded (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been loaded, false otherwise. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_ac8bfe1f64106637c89ab949dc2d6c59d}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a3af26f716731b64850ea50cfa4d2edef}\label{class_ogre_1_1_resource_a3af26f716731b64850ea50cfa4d2edef}} 
\index{Ogre::Material@{Ogre::Material}!isLoading@{isLoading}}
\index{isLoading@{isLoading}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{isLoading()}{isLoading()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Loading (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns whether the resource is currently in the process of background loading. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a9f416e82992b3803108a52bd9460cfdf}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}\label{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}} 
\index{Ogre::Material@{Ogre::Material}!getLoadingState@{getLoadingState}}
\index{getLoadingState@{getLoadingState}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getLoadingState()}{getLoadingState()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State}} Ogre\+::\+Resource\+::get\+Loading\+State (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns the current loading state. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_aa5cb2174294127eefbd4b6343c8107d8}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}\label{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}} 
\index{Ogre::Material@{Ogre::Material}!isBackgroundLoaded@{isBackgroundLoaded}}
\index{isBackgroundLoaded@{isBackgroundLoaded}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{isBackgroundLoaded()}{isBackgroundLoaded()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Background\+Loaded (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns whether this \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been earmarked for background loading. 

\begin{DoxyRemark}{Remarks}
This option only makes sense when you have built \mbox{\hyperlink{namespace_ogre}{Ogre}} with thread support (O\+G\+R\+E\+\_\+\+T\+H\+R\+E\+A\+D\+\_\+\+S\+U\+P\+P\+O\+RT). If a resource has been marked for background loading, then it won\textquotesingle{}t load on demand like normal when \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} is called. Instead, it will ignore request to \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} except if the caller indicates it is the background loader. \mbox{\hyperlink{class_ogre_1_1_any}{Any}} other users of this resource should check \mbox{\hyperlink{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}{is\+Loaded()}}, and if that returns false, don\textquotesingle{}t use the resource and come back later. 
\end{DoxyRemark}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a43c95218aea772dc8ff85b2dd65b8b26}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}\label{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}} 
\index{Ogre::Material@{Ogre::Material}!setBackgroundLoaded@{setBackgroundLoaded}}
\index{setBackgroundLoaded@{setBackgroundLoaded}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setBackgroundLoaded()}{setBackgroundLoaded()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::set\+Background\+Loaded (\begin{DoxyParamCaption}\item[{bool}]{bl }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Tells the resource whether it is background loaded or not. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}{Resource\+::is\+Background\+Loaded}}. Note that calling this only defers the normal on-\/demand loading behaviour of a resource, it does not actually \mbox{\hyperlink{struct_ogre_1_1set}{set}} up a thread to make sure the resource gets loaded in the background. You should use Resource\+Background\+Loading\+Queue to manage the actual loading (which will call this method itself). 
\end{DoxySeeAlso}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_adba65f42995100300f2983555f7214cc}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a367f6fe60bb211cb4c32e3825ca67e4c}\label{class_ogre_1_1_resource_a367f6fe60bb211cb4c32e3825ca67e4c}} 
\index{Ogre::Material@{Ogre::Material}!escalateLoading@{escalateLoading}}
\index{escalateLoading@{escalateLoading}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{escalateLoading()}{escalateLoading()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::escalate\+Loading (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Escalates the loading of a background loaded resource. 

\begin{DoxyRemark}{Remarks}
If a resource is set to load in the background, but something needs it before it\textquotesingle{}s been loaded, there could be a problem. If the user of this resource really can\textquotesingle{}t wait, they can escalate the loading which basically pulls the loading into the current thread immediately. If the resource is already being loaded but just hasn\textquotesingle{}t quite finished then this method will simply wait until the background load is complete. 
\end{DoxyRemark}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a8b5b9e6fec77dfc8d7fde8eb8bf07dd9}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}\label{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}} 
\index{Ogre::Material@{Ogre::Material}!addListener@{addListener}}
\index{addListener@{addListener}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{addListener()}{addListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::add\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener}} $\ast$}]{lis }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Register a listener on this resource. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener}} 
\end{DoxySeeAlso}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_aedc4baffb56b8c6dce5bcfa80bc869fd}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}\label{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}} 
\index{Ogre::Material@{Ogre::Material}!removeListener@{removeListener}}
\index{removeListener@{removeListener}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{removeListener()}{removeListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::remove\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener}} $\ast$}]{lis }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Remove a listener on this resource. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener}} 
\end{DoxySeeAlso}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_unified_high_level_gpu_program_ae4bdd44833d44f794e420d87ea529346}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a382919945c07a6a13136889ad3fbf578}\label{class_ogre_1_1_resource_a382919945c07a6a13136889ad3fbf578}} 
\index{Ogre::Material@{Ogre::Material}!getGroup@{getGroup}}
\index{getGroup@{getGroup}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getGroup()}{getGroup()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Resource\+::get\+Group (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the group which this resource is a member of. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_skeleton_instance_a99b3a28bfb04ed9c75952c663515fc35}{Ogre\+::\+Skeleton\+Instance}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}\label{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}} 
\index{Ogre::Material@{Ogre::Material}!changeGroupOwnership@{changeGroupOwnership}}
\index{changeGroupOwnership@{changeGroupOwnership}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{changeGroupOwnership()}{changeGroupOwnership()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::change\+Group\+Ownership (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{new\+Group }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Change the resource group ownership of a \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}}. 

\begin{DoxyRemark}{Remarks}
This method is generally reserved for internal use, although if you really know what you\textquotesingle{}re doing you can use it to move this resource from one group to another. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em new\+Group} & Name of the new group \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_ab6e377a3964d566ea112fe63bf1d7678}\label{class_ogre_1_1_resource_ab6e377a3964d566ea112fe63bf1d7678}} 
\index{Ogre::Material@{Ogre::Material}!getCreator@{getCreator}}
\index{getCreator@{getCreator}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getCreator()}{getCreator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}}$\ast$ Ogre\+::\+Resource\+::get\+Creator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the manager which created this resource. 

\mbox{\Hypertarget{class_ogre_1_1_resource_a13423fa7944d7f2339e78b9de026c3be}\label{class_ogre_1_1_resource_a13423fa7944d7f2339e78b9de026c3be}} 
\index{Ogre::Material@{Ogre::Material}!getOrigin@{getOrigin}}
\index{getOrigin@{getOrigin}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getOrigin()}{getOrigin()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Resource\+::get\+Origin (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the origin of this resource, e.\+g. 

a script file name. \begin{DoxyRemark}{Remarks}
This property will only contain something if the creator of this resource chose to populate it. Script loaders are advised to populate it. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}\label{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}} 
\index{Ogre::Material@{Ogre::Material}!\_notifyOrigin@{\_notifyOrigin}}
\index{\_notifyOrigin@{\_notifyOrigin}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{\_notifyOrigin()}{\_notifyOrigin()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+notify\+Origin (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{origin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Notify this resource of it\textquotesingle{}s origin. 

\mbox{\Hypertarget{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}\label{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}} 
\index{Ogre::Material@{Ogre::Material}!getStateCount@{getStateCount}}
\index{getStateCount@{getStateCount}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getStateCount()}{getStateCount()}}
{\footnotesize\ttfamily virtual size\+\_\+t Ogre\+::\+Resource\+::get\+State\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns the number of times this resource has changed state, which generally means the number of times it has been loaded. 

Objects that build derived data based on the resource can check this value against a copy they kept last time they built this derived data, in order to know whether it needs rebuilding. This is a nice way of monitoring changes without having a tightly-\/bound callback. \mbox{\Hypertarget{class_ogre_1_1_resource_afcb4a61b965600a67ca2c2f060821db9}\label{class_ogre_1_1_resource_afcb4a61b965600a67ca2c2f060821db9}} 
\index{Ogre::Material@{Ogre::Material}!\_dirtyState@{\_dirtyState}}
\index{\_dirtyState@{\_dirtyState}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{\_dirtyState()}{\_dirtyState()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+\_\+dirty\+State (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Manually mark the state of this resource as having been changed. 

\begin{DoxyRemark}{Remarks}
You only need to call this from outside if you explicitly want derived objects to think this object has changed. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}{get\+State\+Count}}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_aa68664db6b8723dc198beef3d21d4ef5}\label{class_ogre_1_1_resource_aa68664db6b8723dc198beef3d21d4ef5}} 
\index{Ogre::Material@{Ogre::Material}!\_fireLoadingComplete@{\_fireLoadingComplete}}
\index{\_fireLoadingComplete@{\_fireLoadingComplete}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{\_fireLoadingComplete()}{\_fireLoadingComplete()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+fire\+Loading\+Complete (\begin{DoxyParamCaption}\item[{bool}]{was\+Background\+Loaded }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Firing of loading complete event. 

\begin{DoxyRemark}{Remarks}
You should call this from the thread that runs the main frame loop to avoid having to make the receivers of this event thread-\/safe. If you use \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s built in frame loop you don\textquotesingle{}t need to call this yourself. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em was\+Background\+Loaded} & Whether this was a background loaded event \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_aaf63d096584ac7d97fe1d1b0226c9561}\label{class_ogre_1_1_resource_aaf63d096584ac7d97fe1d1b0226c9561}} 
\index{Ogre::Material@{Ogre::Material}!\_firePreparingComplete@{\_firePreparingComplete}}
\index{\_firePreparingComplete@{\_firePreparingComplete}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{\_firePreparingComplete()}{\_firePreparingComplete()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+fire\+Preparing\+Complete (\begin{DoxyParamCaption}\item[{bool}]{was\+Background\+Loaded }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Firing of preparing complete event. 

\begin{DoxyRemark}{Remarks}
You should call this from the thread that runs the main frame loop to avoid having to make the receivers of this event thread-\/safe. If you use \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s built in frame loop you don\textquotesingle{}t need to call this yourself. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em was\+Background\+Loaded} & Whether this was a background loaded event \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_aaf3746937cd11864f53bc1c3b4437541}\label{class_ogre_1_1_resource_aaf3746937cd11864f53bc1c3b4437541}} 
\index{Ogre::Material@{Ogre::Material}!\_fireUnloadingComplete@{\_fireUnloadingComplete}}
\index{\_fireUnloadingComplete@{\_fireUnloadingComplete}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{\_fireUnloadingComplete()}{\_fireUnloadingComplete()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+fire\+Unloading\+Complete (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Firing of unloading complete event. 

\begin{DoxyRemark}{Remarks}
You should call this from the thread that runs the main frame loop to avoid having to make the receivers of this event thread-\/safe. If you use \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s built in frame loop you don\textquotesingle{}t need to call this yourself. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_ae3e13925bde11db245f6c9bbf5031a93}\label{class_ogre_1_1_string_interface_ae3e13925bde11db245f6c9bbf5031a93}} 
\index{Ogre::Material@{Ogre::Material}!getParamDictionary@{getParamDictionary}}
\index{getParamDictionary@{getParamDictionary}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getParamDictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}}$\ast$ Ogre\+::\+String\+Interface\+::get\+Param\+Dictionary (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Retrieves the parameter dictionary for this class. 

\begin{DoxyRemark}{Remarks}
Only valid to call this after create\+Param\+Dictionary. 
\end{DoxyRemark}
\begin{DoxyReturn}{Returns}
Pointer to \mbox{\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}} shared by all instances of this class which you can add parameters to, retrieve parameters etc. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}\label{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}} 
\index{Ogre::Material@{Ogre::Material}!getParamDictionary@{getParamDictionary}}
\index{getParamDictionary@{getParamDictionary}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getParamDictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}}$\ast$ Ogre\+::\+String\+Interface\+::get\+Param\+Dictionary (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}\label{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}} 
\index{Ogre::Material@{Ogre::Material}!getParameters@{getParameters}}
\index{getParameters@{getParameters}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getParameters()}{getParameters()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___general_ga1838c2b0619ade1f5e29767062212872}{Parameter\+List}}\& Ogre\+::\+String\+Interface\+::get\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Retrieves a list of parameters valid for this object. 

\begin{DoxyReturn}{Returns}
A reference to a static list of \mbox{\hyperlink{class_ogre_1_1_parameter_def}{Parameter\+Def}} objects. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}\label{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}} 
\index{Ogre::Material@{Ogre::Material}!setParameter@{setParameter}}
\index{setParameter@{setParameter}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setParameter()}{setParameter()}}
{\footnotesize\ttfamily bool Ogre\+::\+String\+Interface\+::set\+Parameter (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Generic parameter setting method. 

\begin{DoxyRemark}{Remarks}
Call this method with the name of a parameter and a string version of the value to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from \mbox{\hyperlink{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}{String\+Interface\+::get\+Parameters}}. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the parameter to set \\
\hline
{\em value} & String value. Must be in the right format for the type specified in the parameter definition. See the \mbox{\hyperlink{class_ogre_1_1_string_converter}{String\+Converter}} class for more information. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if set was successful, false otherwise (NB no exceptions thrown -\/ tolerant method) 
\end{DoxyReturn}


Referenced by Ogre\+::\+String\+Interface\+::copy\+Parameters\+To().

\mbox{\Hypertarget{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}\label{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}} 
\index{Ogre::Material@{Ogre::Material}!setParameterList@{setParameterList}}
\index{setParameterList@{setParameterList}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{setParameterList()}{setParameterList()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::set\+Parameter\+List (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} \&}]{param\+List }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Generic multiple parameter setting method. 

\begin{DoxyRemark}{Remarks}
Call this method with a list of name / value pairs to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from \mbox{\hyperlink{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}{String\+Interface\+::get\+Parameters}}. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em param\+List} & Name/value pair list \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}\label{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}} 
\index{Ogre::Material@{Ogre::Material}!getParameter@{getParameter}}
\index{getParameter@{getParameter}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{getParameter()}{getParameter()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+String\+Interface\+::get\+Parameter (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Generic parameter retrieval method. 

\begin{DoxyRemark}{Remarks}
Call this method with the name of a parameter to retrieve a string-\/format value of the parameter in question. If in doubt, check the parameter definition in the list returned from get\+Parameters for the type of this parameter. If you like you can use \mbox{\hyperlink{class_ogre_1_1_string_converter}{String\+Converter}} to convert this string back into a native type. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the parameter to get \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
String value of parameter, blank if not found 
\end{DoxyReturn}


References Ogre\+::\+Param\+Command\+::do\+Get().

\mbox{\Hypertarget{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}\label{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}} 
\index{Ogre::Material@{Ogre::Material}!copyParametersTo@{copyParametersTo}}
\index{copyParametersTo@{copyParametersTo}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{copyParametersTo()}{copyParametersTo()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::copy\+Parameters\+To (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_string_interface}{String\+Interface}} $\ast$}]{dest }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Method for copying this object\textquotesingle{}s parameters to another object. 

\begin{DoxyRemark}{Remarks}
This method takes the values of all the object\textquotesingle{}s parameters and tries to set the same values on the destination object. This provides a completely type independent way to copy parameters to other objects. Note that because of the String manipulation involved, this should not be regarded as an efficient process and should be saved for times outside of the rendering loop. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
\mbox{\hyperlink{class_ogre_1_1_any}{Any}} unrecognised parameters will be ignored as with set\+Parameter method. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em dest} & Pointer to object to have it\textquotesingle{}s parameters set the same as this object. \\
\hline
\end{DoxyParams}


References Ogre\+::\+String\+Interface\+::set\+Parameter().

\mbox{\Hypertarget{class_ogre_1_1_string_interface_a1bea65fa2b3c2ac5a9f3be59b46a80e8}\label{class_ogre_1_1_string_interface_a1bea65fa2b3c2ac5a9f3be59b46a80e8}} 
\index{Ogre::Material@{Ogre::Material}!cleanupDictionary@{cleanupDictionary}}
\index{cleanupDictionary@{cleanupDictionary}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{cleanupDictionary()}{cleanupDictionary()}}
{\footnotesize\ttfamily static void Ogre\+::\+String\+Interface\+::cleanup\+Dictionary (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



Cleans up the static \textquotesingle{}ms\+Dictionary\textquotesingle{} required to reset \mbox{\hyperlink{namespace_ogre}{Ogre}}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} implementers (e.\+g. 

\mbox{\hyperlink{class_ogre_1_1_material_manager}{Material\+Manager}}) initializes. 

\doxysubsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_material_a284464b0561a6f2915f04b0245b987f0}\label{class_ogre_1_1_material_a284464b0561a6f2915f04b0245b987f0}} 
\index{Ogre::Material@{Ogre::Material}!SceneManager@{SceneManager}}
\index{SceneManager@{SceneManager}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{SceneManager}{SceneManager}}
{\footnotesize\ttfamily friend class \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}}\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_material_a00bfe1380be4c044551121bbd7fb8359}\label{class_ogre_1_1_material_a00bfe1380be4c044551121bbd7fb8359}} 
\index{Ogre::Material@{Ogre::Material}!MaterialManager@{MaterialManager}}
\index{MaterialManager@{MaterialManager}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{MaterialManager}{MaterialManager}}
{\footnotesize\ttfamily friend class \mbox{\hyperlink{class_ogre_1_1_material_manager}{Material\+Manager}}\hspace{0.3cm}{\ttfamily [friend]}}



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}\label{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}} 
\index{Ogre::Material@{Ogre::Material}!OGRE\_AUTO\_MUTEX@{OGRE\_AUTO\_MUTEX}}
\index{OGRE\_AUTO\_MUTEX@{OGRE\_AUTO\_MUTEX}!Ogre::Material@{Ogre::Material}}
\doxysubsubsection{\texorpdfstring{OGRE\_AUTO\_MUTEX}{OGRE\_AUTO\_MUTEX}}
{\footnotesize\ttfamily Ogre\+::\+Resource\+::\+O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX\hspace{0.3cm}{\ttfamily [inherited]}}



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