\hypertarget{class_ogre_1_1_material}{}\section{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}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags} \{ \newline
\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT} = 0, 
\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, 
\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, 
\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
\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 \hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State} \{ \newline
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}, 
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}, 
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}, 
\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
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}, 
\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 \hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}$<$ \hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List} $>$ \hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator}
\item 
typedef std\+::vector$<$ \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \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 \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$ \hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques} $>$ \hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator}
\item 
typedef std\+::vector$<$ \hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ $>$ \hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_material_ae3c92b81e6c247286c2304f320a368ef}{Material} (\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$creator, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, \hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle} handle, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group, bool is\+Manual=false, \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 
\hyperlink{class_ogre_1_1_material_a2e2118319d3d7cb1610869c33ab766eb}{$\sim$\+Material} ()
\item 
virtual void \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 \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 \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 \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 \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 \hyperlink{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}{\+\_\+notify\+Origin} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&origin)
\begin{DoxyCompactList}\small\item\em Notify this resource of it\textquotesingle{}s origin. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}{add\+Listener} (\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 \hyperlink{class_ogre_1_1_material_a41f86ef8e5ae9e12ef802b6ff0d4d692}{apply\+Texture\+Aliases} (const \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 \hyperlink{class_ogre_1_1_texture}{Texture} Unit State with matching texture name aliases. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}{change\+Group\+Ownership} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&new\+Group)
\begin{DoxyCompactList}\small\item\em Change the resource group ownership of a \hyperlink{class_ogre_1_1_resource}{Resource}. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr} \hyperlink{class_ogre_1_1_material_a28e13cc77ce7deb5f0cbe2388251224d}{clone} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&new\+Name, bool change\+Group=false, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&new\+Group=\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 \hyperlink{class_ogre_1_1_material_a1f51926064eaa39f9d85393b41bb8870}{compile} (bool auto\+Manage\+Texture\+Units=true)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Compiles\textquotesingle{} this \hyperlink{class_ogre_1_1_material}{Material}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a255bc92a45a8740b388a2b3f0691ee67}{copy\+Details\+To} (\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 \hyperlink{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}{copy\+Parameters\+To} (\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 
\hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ \hyperlink{class_ogre_1_1_material_af4238db138727651e692e015e378134a}{create\+Technique} (void)
\begin{DoxyCompactList}\small\item\em Creates a new \hyperlink{class_ogre_1_1_technique}{Technique} for this \hyperlink{class_ogre_1_1_material}{Material}. \end{DoxyCompactList}\item 
virtual void \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 
\hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ \hyperlink{class_ogre_1_1_material_a37ae7259ce89bdc38828ea1b977bdbcf}{get\+Best\+Technique} (unsigned short lod\+Index=0, const \hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$rend=0)
\begin{DoxyCompactList}\small\item\em Gets the best supported technique. \end{DoxyCompactList}\item 
bool \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 
\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$ \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 \hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle} \hyperlink{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}{get\+Handle} (void) const
\item 
virtual \hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State} \hyperlink{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}{get\+Loading\+State} () const
\begin{DoxyCompactList}\small\item\em Returns the current loading state. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} \hyperlink{class_ogre_1_1_material_af81986e979247fbc612bf88fe9671c5b}{get\+Lod\+Index} (\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 \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$ \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 
\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator} \hyperlink{class_ogre_1_1_material_afd936b84ca57f7baba8b20d3fa1db1fc}{get\+Lod\+Value\+Iterator} (void) const
\item 
const \hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List} \& \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 \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} at which each L\+OD comes into effect. \end{DoxyCompactList}\item 
virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}{get\+Name} (void) const
\begin{DoxyCompactList}\small\item\em Gets resource name. \end{DoxyCompactList}\item 
unsigned short \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 \hyperlink{class_ogre_1_1_technique_ab72db7823cc9a8e872aed1ca6ae2cff8}{Technique\+::set\+Lod\+Index}. \end{DoxyCompactList}\item 
unsigned short \hyperlink{class_ogre_1_1_material_a90e332b7e44b66bc34e3b90d810f7f2e}{get\+Num\+Lod\+Levels} (const \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 \hyperlink{class_ogre_1_1_technique_ab72db7823cc9a8e872aed1ca6ae2cff8}{Technique\+::set\+Lod\+Index}. \end{DoxyCompactList}\item 
unsigned short \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 \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 
\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary} $\ast$ \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 \hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary} $\ast$ \hyperlink{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}{get\+Param\+Dictionary} (void) const
\item 
\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \hyperlink{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}{get\+Parameter} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Generic parameter retrieval method. \end{DoxyCompactList}\item 
const \hyperlink{group___general_ga1838c2b0619ade1f5e29767062212872}{Parameter\+List} \& \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 \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 \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 \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 
\hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ \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 
\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator} \hyperlink{class_ogre_1_1_material_a96a7e49668804887511eeb1af691ace0}{get\+Supported\+Technique\+Iterator} (void)
\item 
const \hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques} \& \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 
\hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ \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 
\hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ \hyperlink{class_ogre_1_1_material_a703093b4ce089e73b124c0d04b019303}{get\+Technique} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em searches for the named technique. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Technique\+Iterator} \hyperlink{class_ogre_1_1_material_a2b00231e68df74a029421e1511ae97d6}{get\+Technique\+Iterator} (void)
\begin{DoxyCompactList}\small\item\em Get an iterator over the Techniques in this \hyperlink{class_ogre_1_1_material}{Material}. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques} \& \hyperlink{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}{get\+Techniques} (void) const
\begin{DoxyCompactList}\small\item\em Get the Techniques in this \hyperlink{class_ogre_1_1_material}{Material}. \end{DoxyCompactList}\item 
bool \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 
\hyperlink{class_ogre_1_1_material_a02b750ad4a1d2c0aa92cfb7039cd7f95}{Lod\+Value\+Iterator} \hyperlink{class_ogre_1_1_material_aab7875efbb7e2b0e5fed198469035a31}{get\+User\+Lod\+Value\+Iterator} (void) const
\item 
const \hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List} \& \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 \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}{is\+Background\+Loaded} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this \hyperlink{class_ogre_1_1_resource}{Resource} has been earmarked for background loading. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}{is\+Loaded} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} has been loaded, false otherwise. \end{DoxyCompactList}\item 
virtual bool \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 \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 \hyperlink{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}{is\+Prepared} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} has been prepared, false otherwise. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}{is\+Reloadable} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} is reloadable, false otherwise. \end{DoxyCompactList}\item 
bool \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 \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 
\hyperlink{class_ogre_1_1_material}{Material} \& \hyperlink{class_ogre_1_1_material_ada9d917b97ae23bbd61ab8a811dd14cf}{operator=} (const \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 \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 \hyperlink{class_ogre_1_1_resource_a5016aec1762b026997ddd346775879ef}{reload} (\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags} flags=\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 \hyperlink{class_ogre_1_1_material_a1158a82d9399448666ea415d5f9a10a9}{remove\+All\+Techniques} (void)
\begin{DoxyCompactList}\small\item\em Removes all the techniques in this \hyperlink{class_ogre_1_1_material}{Material}. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}{remove\+Listener} (\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 \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 \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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_af2788cd021eba0164ff6020de64d417e}{set\+Ambient} (const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&ambient)
\item 
virtual void \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 \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 \hyperlink{class_ogre_1_1_pass}{Pass}. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_pass}{Pass}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a8937a20eafba0997f7a6889fd6a188e4}{set\+Culling\+Mode} (\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 \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 \hyperlink{class_ogre_1_1_pass}{Pass}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a44413ef81066bc9a44e29361749a0f6e}{set\+Depth\+Check\+Enabled} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not each \hyperlink{class_ogre_1_1_pass}{Pass} renders with depth-\/buffer checking on or not. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a5e6e5526611a5f10203225e4d2f86d0c}{set\+Depth\+Function} (\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 \hyperlink{class_ogre_1_1_material_abdb247ea40cec3c59c3a8726664695c8}{set\+Depth\+Write\+Enabled} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not each \hyperlink{class_ogre_1_1_pass}{Pass} renders with depth-\/buffer writing on or not. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_ac074b3eb66c45685be8fb4b0ebbebcd6}{set\+Diffuse} (const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&diffuse)
\item 
void \hyperlink{class_ogre_1_1_material_a32937d27d1a0211a76d9ce8035a221ee}{set\+Fog} (bool override\+Scene, \hyperlink{group___general_ga83edeb2e5d33a3ca8f15834ba40020ba}{Fog\+Mode} mode=\hyperlink{group___general_gga83edeb2e5d33a3ca8f15834ba40020baab7793a21880052c0214d4cc040992310}{F\+O\+G\+\_\+\+N\+O\+NE}, const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&colour=\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} exp\+Density=0.\+001, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} linear\+Start=0.\+0, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} linear\+End=1.\+0)
\begin{DoxyCompactList}\small\item\em Sets the fogging mode applied to each pass. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_pass}{Pass}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a67d79bf335a4f3a9ed2bc9d70b2e7994}{set\+Lod\+Levels} (const \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 \hyperlink{class_ogre_1_1_material_a8809a6d4f0e4e6380aee7f0e34e5d2cf}{set\+Lod\+Strategy} (\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 \hyperlink{class_ogre_1_1_material_ad7cff3d355ac80a2325ff77448c48177}{set\+Manual\+Culling\+Mode} (\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 \hyperlink{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}{set\+Parameter} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&value)
\begin{DoxyCompactList}\small\item\em Generic parameter setting method. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}{set\+Parameter\+List} (const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} \&param\+List)
\begin{DoxyCompactList}\small\item\em Generic multiple parameter setting method. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a8c26b7ccb050d96cd031db31bf996b48}{set\+Point\+Size} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} ps)
\begin{DoxyCompactList}\small\item\em Sets the point size properties for every \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_material_a8c9ccac6e60241a1865ac211e3b203c8}{set\+Scene\+Blending} (const \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 \hyperlink{class_ogre_1_1_material_a145badc7cadec0958241a47b6037b3e6}{set\+Scene\+Blending} (const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} source\+Factor, const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} dest\+Factor)
\begin{DoxyCompactList}\small\item\em Allows very fine control of blending every \hyperlink{class_ogre_1_1_pass}{Pass} with the existing contents of the scene. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a27911290eaa7990dea483f62d27c9285}{set\+Self\+Illumination} (const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&self\+Illum)
\item 
void \hyperlink{class_ogre_1_1_material_a046659fb27e92554d2a3f4c5a49c7579}{set\+Separate\+Scene\+Blending} (const \hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type} sbt, const \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 \hyperlink{class_ogre_1_1_material_aa934de36e2d8c867b6ed1fc9c0fa8be0}{set\+Separate\+Scene\+Blending} (const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} source\+Factor, const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} dest\+Factor, const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} source\+Factor\+Alpha, const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} dest\+Factor\+Alpha)
\begin{DoxyCompactList}\small\item\em Allows very fine control of blending every \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 \hyperlink{class_ogre_1_1_material_abe72697aa6f639a23d2003fc10d3939b}{set\+Shading\+Mode} (\hyperlink{group___general_ga7afd4c7d428baaee13f3a0dbcae5f560}{Shade\+Options} mode)
\begin{DoxyCompactList}\small\item\em Sets the type of light shading required. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_a008c264b3fa918677120621d6a112f99}{set\+Shininess} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} val)
\begin{DoxyCompactList}\small\item\em Sets the shininess properties of every \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_material_ac0fd7b4c5684270dc61e57ef6ddef4f2}{set\+Specular} (const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&specular)
\item 
void \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 \hyperlink{class_ogre_1_1_material_a2424a948e95a581d1b7de87ea14e7131}{set\+Texture\+Filtering} (\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options} filter\+Type)
\begin{DoxyCompactList}\small\item\em Set texture filtering for every texture unit in every \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass}. \end{DoxyCompactList}\item 
void \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 \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 \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}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \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 \hyperlink{namespace_ogre}{Ogre}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} implementers (e.\+g. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_ogre_1_1_material_a00bfe1380be4c044551121bbd7fb8359}{Material\+Manager}
\item 
class \hyperlink{class_ogre_1_1_material_a284464b0561a6f2915f04b0245b987f0}{Scene\+Manager}
\end{DoxyCompactItemize}


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

\begin{DoxyRemark}{Remarks}
\hyperlink{namespace_ogre}{Ogre}\textquotesingle{}s material class encapsulates A\+LL 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 \hyperlink{namespace_ogre}{Ogre} \hyperlink{class_ogre_1_1_material}{Material} can be thought of as equivalent to a \textquotesingle{}Shader\textquotesingle{}. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
A \hyperlink{class_ogre_1_1_material}{Material} can be rendered in multiple different ways depending on the hardware available. You may configure a \hyperlink{class_ogre_1_1_material}{Material} to use high-\/complexity fragment shaders, but these won\textquotesingle{}t work on every card; therefore a \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. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
Each technique can be made up of multiple passes. A fixed-\/function pass may combine multiple texture layers using multitexturing, but \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. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
\hyperlink{namespace_ogre}{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 Scene\+Manager\+::get\+Default\+Material\+Settings. \hyperlink{class_ogre_1_1_any}{Any} changes you make to the \hyperlink{class_ogre_1_1_material}{Material} returned from this method will apply to any materials created from this point onward. 
\end{DoxyParagraph}


\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}\label{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}} 
\index{Ogre\+::\+Material@{Ogre\+::\+Material}!Lod\+Value\+List@{Lod\+Value\+List}}
\index{Lod\+Value\+List@{Lod\+Value\+List}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{Lod\+Value\+List}{LodValueList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ \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}!Lod\+Value\+Iterator@{Lod\+Value\+Iterator}}
\index{Lod\+Value\+Iterator@{Lod\+Value\+Iterator}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{Lod\+Value\+Iterator}{LodValueIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}$<$\hyperlink{class_ogre_1_1_material_a7b73a4bace2cde1c32b0d4fdea407ff4}{Lod\+Value\+List}$>$ \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}}
\subsubsection{\texorpdfstring{Techniques}{Techniques}}
{\footnotesize\ttfamily typedef std\+::vector$<$\hyperlink{class_ogre_1_1_technique}{Technique}$\ast$$>$ \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}!Technique\+Iterator@{Technique\+Iterator}}
\index{Technique\+Iterator@{Technique\+Iterator}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{Technique\+Iterator}{TechniqueIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$\hyperlink{class_ogre_1_1_material_a73e00de2aaa067ae659c56c886337b36}{Techniques}$>$ \hyperlink{class_ogre_1_1_material_a4969168248bff6aea70eafcf75497689}{Ogre\+::\+Material\+::\+Technique\+Iterator}}



\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}} 
\index{Ogre\+::\+Material@{Ogre\+::\+Material}!Loading\+State@{Loading\+State}}
\index{Loading\+State@{Loading\+State}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{Loading\+State}{LoadingState}}
{\footnotesize\ttfamily enum \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{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}}}\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{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}}}\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{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}}}\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{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG}}}\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{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}}}\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{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG}}}\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}!Loading\+Flags@{Loading\+Flags}}
\index{Loading\+Flags@{Loading\+Flags}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{Loading\+Flags}{LoadingFlags}}
{\footnotesize\ttfamily enum \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{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT@{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+F\+\_\+\+D\+E\+F\+A\+U\+LT@{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}}}\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{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE@{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE@{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}}}\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{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED@{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED@{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED}}}\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{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@{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}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!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@{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}}}\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{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE@{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE}!Ogre\+::\+Material@{Ogre\+::\+Material}}\index{Ogre\+::\+Material@{Ogre\+::\+Material}!L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE@{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE}}}\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}


\subsection{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}}
\subsubsection{\texorpdfstring{Material()}{Material()}}
{\footnotesize\ttfamily Ogre\+::\+Material\+::\+Material (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$}]{creator,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}]{handle,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\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}}
\subsubsection{\texorpdfstring{$\sim$\+Material()}{~Material()}}
{\footnotesize\ttfamily Ogre\+::\+Material\+::$\sim$\+Material (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{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}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_material}{Material}\& Ogre\+::\+Material\+::operator= (\begin{DoxyParamCaption}\item[{const \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}!is\+Transparent@{is\+Transparent}}
\index{is\+Transparent@{is\+Transparent}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{is\+Transparent()}{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}!set\+Receive\+Shadows@{set\+Receive\+Shadows}}
\index{set\+Receive\+Shadows@{set\+Receive\+Shadows}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Receive\+Shadows()}{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}
\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}!get\+Receive\+Shadows@{get\+Receive\+Shadows}}
\index{get\+Receive\+Shadows@{get\+Receive\+Shadows}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Receive\+Shadows()}{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}!set\+Transparency\+Casts\+Shadows@{set\+Transparency\+Casts\+Shadows}}
\index{set\+Transparency\+Casts\+Shadows@{set\+Transparency\+Casts\+Shadows}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Transparency\+Casts\+Shadows()}{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}
\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}!get\+Transparency\+Casts\+Shadows@{get\+Transparency\+Casts\+Shadows}}
\index{get\+Transparency\+Casts\+Shadows@{get\+Transparency\+Casts\+Shadows}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Transparency\+Casts\+Shadows()}{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}!create\+Technique@{create\+Technique}}
\index{create\+Technique@{create\+Technique}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{create\+Technique()}{createTechnique()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_technique}{Technique}$\ast$ Ogre\+::\+Material\+::create\+Technique (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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

\begin{DoxyRemark}{Remarks}
A \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 \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}!get\+Technique@{get\+Technique}}
\index{get\+Technique@{get\+Technique}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Technique()}{getTechnique()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \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[\hyperlink{deprecated__deprecated000064}{Deprecated}]use \hyperlink{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}{get\+Techniques()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_a703093b4ce089e73b124c0d04b019303}\label{class_ogre_1_1_material_a703093b4ce089e73b124c0d04b019303}} 
\index{Ogre\+::\+Material@{Ogre\+::\+Material}!get\+Technique@{get\+Technique}}
\index{get\+Technique@{get\+Technique}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Technique()}{getTechnique()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_technique}{Technique}$\ast$ Ogre\+::\+Material\+::get\+Technique (\begin{DoxyParamCaption}\item[{const \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}!get\+Num\+Techniques@{get\+Num\+Techniques}}
\index{get\+Num\+Techniques@{get\+Num\+Techniques}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Num\+Techniques()}{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[\hyperlink{deprecated__deprecated000065}{Deprecated}]use \hyperlink{class_ogre_1_1_material_a399ada9db43bcac03520ab0396de468c}{get\+Techniques()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_material_a8a81c60f958b0f3615c8690583c10d52}\label{class_ogre_1_1_material_a8a81c60f958b0f3615c8690583c10d52}} 
\index{Ogre\+::\+Material@{Ogre\+::\+Material}!remove\+Technique@{remove\+Technique}}
\index{remove\+Technique@{remove\+Technique}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{remove\+Technique()}{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}!remove\+All\+Techniques@{remove\+All\+Techniques}}
\index{remove\+All\+Techniques@{remove\+All\+Techniques}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{remove\+All\+Techniques()}{removeAllTechniques()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::remove\+All\+Techniques (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Removes all the techniques in this \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}!get\+Technique\+Iterator@{get\+Technique\+Iterator}}
\index{get\+Technique\+Iterator@{get\+Technique\+Iterator}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Technique\+Iterator()}{getTechniqueIterator()}}
{\footnotesize\ttfamily \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 \hyperlink{class_ogre_1_1_material}{Material}. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000066}{Deprecated}]use \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}!get\+Techniques@{get\+Techniques}}
\index{get\+Techniques@{get\+Techniques}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Techniques()}{getTechniques()}}
{\footnotesize\ttfamily const \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 \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}!get\+Supported\+Techniques@{get\+Supported\+Techniques}}
\index{get\+Supported\+Techniques@{get\+Supported\+Techniques}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Supported\+Techniques()}{getSupportedTechniques()}}
{\footnotesize\ttfamily const \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 \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}!get\+Supported\+Technique\+Iterator@{get\+Supported\+Technique\+Iterator}}
\index{get\+Supported\+Technique\+Iterator@{get\+Supported\+Technique\+Iterator}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Supported\+Technique\+Iterator()}{getSupportedTechniqueIterator()}}
{\footnotesize\ttfamily \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[\hyperlink{deprecated__deprecated000067}{Deprecated}]use \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}!get\+Supported\+Technique@{get\+Supported\+Technique}}
\index{get\+Supported\+Technique@{get\+Supported\+Technique}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Supported\+Technique()}{getSupportedTechnique()}}
{\footnotesize\ttfamily \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[\hyperlink{deprecated__deprecated000068}{Deprecated}]use \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}!get\+Num\+Supported\+Techniques@{get\+Num\+Supported\+Techniques}}
\index{get\+Num\+Supported\+Techniques@{get\+Num\+Supported\+Techniques}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Num\+Supported\+Techniques()}{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[\hyperlink{deprecated__deprecated000069}{Deprecated}]use \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}!get\+Unsupported\+Techniques\+Explanation@{get\+Unsupported\+Techniques\+Explanation}}
\index{get\+Unsupported\+Techniques\+Explanation@{get\+Unsupported\+Techniques\+Explanation}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Unsupported\+Techniques\+Explanation()}{getUnsupportedTechniquesExplanation()}}
{\footnotesize\ttfamily const \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. 



References Ogre\+::\+B\+L\+A\+N\+K\+S\+T\+R\+I\+NG, Ogre\+::\+F\+O\+G\+\_\+\+N\+O\+NE, and Ogre\+::\+Colour\+Value\+::\+White.

\mbox{\Hypertarget{class_ogre_1_1_material_a329e758eca8bedadf01edc49f29c5b2e}\label{class_ogre_1_1_material_a329e758eca8bedadf01edc49f29c5b2e}} 
\index{Ogre\+::\+Material@{Ogre\+::\+Material}!get\+Num\+Lod\+Levels@{get\+Num\+Lod\+Levels}}
\index{get\+Num\+Lod\+Levels@{get\+Num\+Lod\+Levels}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Num\+Lod\+Levels()}{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 \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}!get\+Num\+Lod\+Levels@{get\+Num\+Lod\+Levels}}
\index{get\+Num\+Lod\+Levels@{get\+Num\+Lod\+Levels}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Num\+Lod\+Levels()}{getNumLodLevels()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Material\+::get\+Num\+Lod\+Levels (\begin{DoxyParamCaption}\item[{const \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 \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}!get\+Best\+Technique@{get\+Best\+Technique}}
\index{get\+Best\+Technique@{get\+Best\+Technique}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Best\+Technique()}{getBestTechnique()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_technique}{Technique}$\ast$ Ogre\+::\+Material\+::get\+Best\+Technique (\begin{DoxyParamCaption}\item[{unsigned short}]{lod\+Index = {\ttfamily 0},  }\item[{const \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 \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 \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 \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 \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}}
\subsubsection{\texorpdfstring{clone()}{clone()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr} Ogre\+::\+Material\+::clone (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{new\+Name,  }\item[{bool}]{change\+Group = {\ttfamily false},  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{new\+Group = {\ttfamily \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}!copy\+Details\+To@{copy\+Details\+To}}
\index{copy\+Details\+To@{copy\+Details\+To}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{copy\+Details\+To()}{copyDetailsTo()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::copy\+Details\+To (\begin{DoxyParamCaption}\item[{\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}}
\subsubsection{\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 \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 \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 \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 \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} entries than the card has texture units, the \hyperlink{class_ogre_1_1_pass}{Pass} in question will be split into more than one \hyperlink{class_ogre_1_1_pass}{Pass} in order to emulate the \hyperlink{class_ogre_1_1_pass}{Pass}. If you set this to false and this situation arises, an \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}!set\+Point\+Size@{set\+Point\+Size}}
\index{set\+Point\+Size@{set\+Point\+Size}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Point\+Size()}{setPointSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Point\+Size (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{ps }\end{DoxyParamCaption})}



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

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_pass_a2b0cfe1d55b1c03e59c4e3f546d2ec78}{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}!set\+Ambient@{set\+Ambient}}
\index{set\+Ambient@{set\+Ambient}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Ambient()}{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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. 

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Ambient@{set\+Ambient}}
\index{set\+Ambient@{set\+Ambient}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Ambient()}{setAmbient()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Ambient (\begin{DoxyParamCaption}\item[{const \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}!set\+Diffuse@{set\+Diffuse}}
\index{set\+Diffuse@{set\+Diffuse}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Diffuse()}{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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. 

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Diffuse@{set\+Diffuse}}
\index{set\+Diffuse@{set\+Diffuse}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Diffuse()}{setDiffuse()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Diffuse (\begin{DoxyParamCaption}\item[{const \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}!set\+Specular@{set\+Specular}}
\index{set\+Specular@{set\+Specular}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Specular()}{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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. 

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Specular@{set\+Specular}}
\index{set\+Specular@{set\+Specular}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Specular()}{setSpecular()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Specular (\begin{DoxyParamCaption}\item[{const \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}!set\+Shininess@{set\+Shininess}}
\index{set\+Shininess@{set\+Shininess}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Shininess()}{setShininess()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Shininess (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{val }\end{DoxyParamCaption})}



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

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Self\+Illumination@{set\+Self\+Illumination}}
\index{set\+Self\+Illumination@{set\+Self\+Illumination}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Self\+Illumination()}{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 \hyperlink{class_ogre_1_1_pass}{Pass} in every \hyperlink{class_ogre_1_1_technique}{Technique}. 

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Self\+Illumination@{set\+Self\+Illumination}}
\index{set\+Self\+Illumination@{set\+Self\+Illumination}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Self\+Illumination()}{setSelfIllumination()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Self\+Illumination (\begin{DoxyParamCaption}\item[{const \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}!set\+Depth\+Check\+Enabled@{set\+Depth\+Check\+Enabled}}
\index{set\+Depth\+Check\+Enabled@{set\+Depth\+Check\+Enabled}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Depth\+Check\+Enabled()}{setDepthCheckEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Depth\+Check\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not each \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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Depth\+Write\+Enabled@{set\+Depth\+Write\+Enabled}}
\index{set\+Depth\+Write\+Enabled@{set\+Depth\+Write\+Enabled}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Depth\+Write\+Enabled()}{setDepthWriteEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Depth\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not each \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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Depth\+Function@{set\+Depth\+Function}}
\index{set\+Depth\+Function@{set\+Depth\+Function}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Depth\+Function()}{setDepthFunction()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Depth\+Function (\begin{DoxyParamCaption}\item[{\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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Colour\+Write\+Enabled@{set\+Colour\+Write\+Enabled}}
\index{set\+Colour\+Write\+Enabled@{set\+Colour\+Write\+Enabled}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Colour\+Write\+Enabled()}{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 \hyperlink{class_ogre_1_1_pass}{Pass}. 

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Colour\+Write\+Enabled@{set\+Colour\+Write\+Enabled}}
\index{set\+Colour\+Write\+Enabled@{set\+Colour\+Write\+Enabled}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Colour\+Write\+Enabled()}{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 \hyperlink{class_ogre_1_1_pass}{Pass}. 

\begin{DoxySeeAlso}{See also}
\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}!set\+Culling\+Mode@{set\+Culling\+Mode}}
\index{set\+Culling\+Mode@{set\+Culling\+Mode}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Culling\+Mode()}{setCullingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Culling\+Mode (\begin{DoxyParamCaption}\item[{\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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Manual\+Culling\+Mode@{set\+Manual\+Culling\+Mode}}
\index{set\+Manual\+Culling\+Mode@{set\+Manual\+Culling\+Mode}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Manual\+Culling\+Mode()}{setManualCullingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Manual\+Culling\+Mode (\begin{DoxyParamCaption}\item[{\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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Lighting\+Enabled@{set\+Lighting\+Enabled}}
\index{set\+Lighting\+Enabled@{set\+Lighting\+Enabled}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Lighting\+Enabled()}{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 \hyperlink{class_ogre_1_1_pass}{Pass}. 

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



Sets the fogging mode applied to each pass. 

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_pass_a32b0cabffa642b0f3743ac5d82392a1d}{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}!set\+Depth\+Bias@{set\+Depth\+Bias}}
\index{set\+Depth\+Bias@{set\+Depth\+Bias}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Depth\+Bias()}{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 \hyperlink{class_ogre_1_1_pass}{Pass}. 

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



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

\begin{DoxyNote}{Note}
This property has been moved to the \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique} and \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 \hyperlink{class_ogre_1_1_technique}{Technique}, \hyperlink{class_ogre_1_1_pass}{Pass} and \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Texture\+Anisotropy@{set\+Texture\+Anisotropy}}
\index{set\+Texture\+Anisotropy@{set\+Texture\+Anisotropy}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Texture\+Anisotropy()}{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 \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique} and \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 \hyperlink{class_ogre_1_1_technique}{Technique}, \hyperlink{class_ogre_1_1_pass}{Pass} and \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Scene\+Blending@{set\+Scene\+Blending}}
\index{set\+Scene\+Blending@{set\+Scene\+Blending}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Scene\+Blending()}{setSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Separate\+Scene\+Blending@{set\+Separate\+Scene\+Blending}}
\index{set\+Separate\+Scene\+Blending@{set\+Separate\+Scene\+Blending}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Separate\+Scene\+Blending()}{setSeparateSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Separate\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}}]{sbt,  }\item[{const \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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!set\+Scene\+Blending@{set\+Scene\+Blending}}
\index{set\+Scene\+Blending@{set\+Scene\+Blending}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Scene\+Blending()}{setSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}]{source\+Factor,  }\item[{const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}]{dest\+Factor }\end{DoxyParamCaption})}



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

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



Allows very fine control of blending every \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 \hyperlink{class_ogre_1_1_pass}{Pass} class, which is accessible via the \hyperlink{class_ogre_1_1_technique}{Technique}. For simplicity, this method allows you to set these properties for every current \hyperlink{class_ogre_1_1_technique}{Technique}, and for every current \hyperlink{class_ogre_1_1_pass}{Pass} within those Techniques. If you need more precision, retrieve the \hyperlink{class_ogre_1_1_technique}{Technique} and \hyperlink{class_ogre_1_1_pass}{Pass} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\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}!\+\_\+notify\+Needs\+Recompile@{\+\_\+notify\+Needs\+Recompile}}
\index{\+\_\+notify\+Needs\+Recompile@{\+\_\+notify\+Needs\+Recompile}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Needs\+Recompile()}{\_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}!set\+Lod\+Levels@{set\+Lod\+Levels}}
\index{set\+Lod\+Levels@{set\+Lod\+Levels}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Lod\+Levels()}{setLodLevels()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Lod\+Levels (\begin{DoxyParamCaption}\item[{const \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 \hyperlink{class_ogre_1_1_technique}{Technique} instances attached to this \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 \hyperlink{class_ogre_1_1_camera}{Camera} and the current \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}!get\+Lod\+Values@{get\+Lod\+Values}}
\index{get\+Lod\+Values@{get\+Lod\+Values}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Lod\+Values()}{getLodValues()}}
{\footnotesize\ttfamily const \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 \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 \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}!get\+Lod\+Value\+Iterator@{get\+Lod\+Value\+Iterator}}
\index{get\+Lod\+Value\+Iterator@{get\+Lod\+Value\+Iterator}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Lod\+Value\+Iterator()}{getLodValueIterator()}}
{\footnotesize\ttfamily \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[\hyperlink{deprecated__deprecated000070}{Deprecated}]use \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}!get\+User\+Lod\+Values@{get\+User\+Lod\+Values}}
\index{get\+User\+Lod\+Values@{get\+User\+Lod\+Values}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+User\+Lod\+Values()}{getUserLodValues()}}
{\footnotesize\ttfamily const \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 \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 \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}!get\+User\+Lod\+Value\+Iterator@{get\+User\+Lod\+Value\+Iterator}}
\index{get\+User\+Lod\+Value\+Iterator@{get\+User\+Lod\+Value\+Iterator}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+User\+Lod\+Value\+Iterator()}{getUserLodValueIterator()}}
{\footnotesize\ttfamily \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[\hyperlink{deprecated__deprecated000071}{Deprecated}]use \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}!get\+Lod\+Index@{get\+Lod\+Index}}
\index{get\+Lod\+Index@{get\+Lod\+Index}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Lod\+Index()}{getLodIndex()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} Ogre\+::\+Material\+::get\+Lod\+Index (\begin{DoxyParamCaption}\item[{\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 \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}!get\+Lod\+Strategy@{get\+Lod\+Strategy}}
\index{get\+Lod\+Strategy@{get\+Lod\+Strategy}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Lod\+Strategy()}{getLodStrategy()}}
{\footnotesize\ttfamily const \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}!set\+Lod\+Strategy@{set\+Lod\+Strategy}}
\index{set\+Lod\+Strategy@{set\+Lod\+Strategy}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Lod\+Strategy()}{setLodStrategy()}}
{\footnotesize\ttfamily void Ogre\+::\+Material\+::set\+Lod\+Strategy (\begin{DoxyParamCaption}\item[{\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}}
\subsubsection{\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 \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}!apply\+Texture\+Aliases@{apply\+Texture\+Aliases}}
\index{apply\+Texture\+Aliases@{apply\+Texture\+Aliases}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{apply\+Texture\+Aliases()}{applyTextureAliases()}}
{\footnotesize\ttfamily bool Ogre\+::\+Material\+::apply\+Texture\+Aliases (\begin{DoxyParamCaption}\item[{const \hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List} \&}]{alias\+List,  }\item[{const bool}]{apply = {\ttfamily true} }\end{DoxyParamCaption}) const}



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

All techniques, passes, and \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}!get\+Compilation\+Required@{get\+Compilation\+Required}}
\index{get\+Compilation\+Required@{get\+Compilation\+Required}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Compilation\+Required()}{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}}
\subsubsection{\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 \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}, but this is not required as \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} will call \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 \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} and \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 \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 \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} while the main render loop would later call \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}. So long as \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} remains thread-\/safe, subclasses can arbitrarily split the work of loading a resource between \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} and \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}. It is best to try and do as much work in \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}}
\subsubsection{\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 \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}}
\subsubsection{\texorpdfstring{reload()}{reload()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::reload (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}}]{flags = {\ttfamily \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 \hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{unload()} and then \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 \hyperlink{class_ogre_1_1_mesh_adca1dc667f145d4a4132811eaadf324f}{Ogre\+::\+Mesh}, and \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}!is\+Reloadable@{is\+Reloadable}}
\index{is\+Reloadable@{is\+Reloadable}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{is\+Reloadable()}{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 \hyperlink{class_ogre_1_1_resource}{Resource} is reloadable, false otherwise. 



Reimplemented in \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}!is\+Manually\+Loaded@{is\+Manually\+Loaded}}
\index{is\+Manually\+Loaded@{is\+Manually\+Loaded}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{is\+Manually\+Loaded()}{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}}
\subsubsection{\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 \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}!get\+Size@{get\+Size}}
\index{get\+Size@{get\+Size}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Size()}{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 \hyperlink{class_ogre_1_1_cg_program_a65a86c6f911a8ac4b0c6d7366fb44f26}{Ogre\+::\+Cg\+Program}, and \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}!get\+Name@{get\+Name}}
\index{get\+Name@{get\+Name}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Name()}{getName()}}
{\footnotesize\ttfamily virtual const \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 \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}!get\+Handle@{get\+Handle}}
\index{get\+Handle@{get\+Handle}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Handle()}{getHandle()}}
{\footnotesize\ttfamily virtual \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 \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}!is\+Prepared@{is\+Prepared}}
\index{is\+Prepared@{is\+Prepared}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{is\+Prepared()}{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 \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}!is\+Loaded@{is\+Loaded}}
\index{is\+Loaded@{is\+Loaded}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{is\+Loaded()}{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 \hyperlink{class_ogre_1_1_resource}{Resource} has been loaded, false otherwise. 



Reimplemented in \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}!is\+Loading@{is\+Loading}}
\index{is\+Loading@{is\+Loading}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{is\+Loading()}{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 \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}!get\+Loading\+State@{get\+Loading\+State}}
\index{get\+Loading\+State@{get\+Loading\+State}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Loading\+State()}{getLoadingState()}}
{\footnotesize\ttfamily virtual \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 \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}!is\+Background\+Loaded@{is\+Background\+Loaded}}
\index{is\+Background\+Loaded@{is\+Background\+Loaded}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{is\+Background\+Loaded()}{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 \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 \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 \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} is called. Instead, it will ignore request to \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} except if the caller indicates it is the background loader. \hyperlink{class_ogre_1_1_any}{Any} other users of this resource should check \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 \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}!set\+Background\+Loaded@{set\+Background\+Loaded}}
\index{set\+Background\+Loaded@{set\+Background\+Loaded}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Background\+Loaded()}{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}
\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 \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 \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}!escalate\+Loading@{escalate\+Loading}}
\index{escalate\+Loading@{escalate\+Loading}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{escalate\+Loading()}{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 \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}!add\+Listener@{add\+Listener}}
\index{add\+Listener@{add\+Listener}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{add\+Listener()}{addListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::add\+Listener (\begin{DoxyParamCaption}\item[{\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}
\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener} 
\end{DoxySeeAlso}


Reimplemented in \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}!remove\+Listener@{remove\+Listener}}
\index{remove\+Listener@{remove\+Listener}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{remove\+Listener()}{removeListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::remove\+Listener (\begin{DoxyParamCaption}\item[{\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}
\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener} 
\end{DoxySeeAlso}


Reimplemented in \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}!get\+Group@{get\+Group}}
\index{get\+Group@{get\+Group}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Group()}{getGroup()}}
{\footnotesize\ttfamily virtual const \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 \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}!change\+Group\+Ownership@{change\+Group\+Ownership}}
\index{change\+Group\+Ownership@{change\+Group\+Ownership}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{change\+Group\+Ownership()}{changeGroupOwnership()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::change\+Group\+Ownership (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{new\+Group }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Change the resource group ownership of a \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}!get\+Creator@{get\+Creator}}
\index{get\+Creator@{get\+Creator}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Creator()}{getCreator()}}
{\footnotesize\ttfamily \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}!get\+Origin@{get\+Origin}}
\index{get\+Origin@{get\+Origin}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Origin()}{getOrigin()}}
{\footnotesize\ttfamily const \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}!\+\_\+notify\+Origin@{\+\_\+notify\+Origin}}
\index{\+\_\+notify\+Origin@{\+\_\+notify\+Origin}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Origin()}{\_notifyOrigin()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+notify\+Origin (\begin{DoxyParamCaption}\item[{const \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}!get\+State\+Count@{get\+State\+Count}}
\index{get\+State\+Count@{get\+State\+Count}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+State\+Count()}{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}!\+\_\+dirty\+State@{\+\_\+dirty\+State}}
\index{\+\_\+dirty\+State@{\+\_\+dirty\+State}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{\+\_\+dirty\+State()}{\_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}
\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}!\+\_\+fire\+Loading\+Complete@{\+\_\+fire\+Loading\+Complete}}
\index{\+\_\+fire\+Loading\+Complete@{\+\_\+fire\+Loading\+Complete}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{\+\_\+fire\+Loading\+Complete()}{\_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 \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}!\+\_\+fire\+Preparing\+Complete@{\+\_\+fire\+Preparing\+Complete}}
\index{\+\_\+fire\+Preparing\+Complete@{\+\_\+fire\+Preparing\+Complete}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{\+\_\+fire\+Preparing\+Complete()}{\_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 \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}!\+\_\+fire\+Unloading\+Complete@{\+\_\+fire\+Unloading\+Complete}}
\index{\+\_\+fire\+Unloading\+Complete@{\+\_\+fire\+Unloading\+Complete}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{\+\_\+fire\+Unloading\+Complete()}{\_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 \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}!get\+Param\+Dictionary@{get\+Param\+Dictionary}}
\index{get\+Param\+Dictionary@{get\+Param\+Dictionary}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Param\+Dictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \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 \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}!get\+Param\+Dictionary@{get\+Param\+Dictionary}}
\index{get\+Param\+Dictionary@{get\+Param\+Dictionary}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Param\+Dictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \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}!get\+Parameters@{get\+Parameters}}
\index{get\+Parameters@{get\+Parameters}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Parameters()}{getParameters()}}
{\footnotesize\ttfamily const \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 \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}!set\+Parameter@{set\+Parameter}}
\index{set\+Parameter@{set\+Parameter}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Parameter()}{setParameter()}}
{\footnotesize\ttfamily bool Ogre\+::\+String\+Interface\+::set\+Parameter (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \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 \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 \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}!set\+Parameter\+List@{set\+Parameter\+List}}
\index{set\+Parameter\+List@{set\+Parameter\+List}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{set\+Parameter\+List()}{setParameterList()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::set\+Parameter\+List (\begin{DoxyParamCaption}\item[{const \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 \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}!get\+Parameter@{get\+Parameter}}
\index{get\+Parameter@{get\+Parameter}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{get\+Parameter()}{getParameter()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} Ogre\+::\+String\+Interface\+::get\+Parameter (\begin{DoxyParamCaption}\item[{const \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 \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}!copy\+Parameters\+To@{copy\+Parameters\+To}}
\index{copy\+Parameters\+To@{copy\+Parameters\+To}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{copy\+Parameters\+To()}{copyParametersTo()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::copy\+Parameters\+To (\begin{DoxyParamCaption}\item[{\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}{}
\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}!cleanup\+Dictionary@{cleanup\+Dictionary}}
\index{cleanup\+Dictionary@{cleanup\+Dictionary}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{cleanup\+Dictionary()}{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 \hyperlink{namespace_ogre}{Ogre}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} implementers (e.\+g. 

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

\subsection{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}!Scene\+Manager@{Scene\+Manager}}
\index{Scene\+Manager@{Scene\+Manager}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{Scene\+Manager}{SceneManager}}
{\footnotesize\ttfamily friend class \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}!Material\+Manager@{Material\+Manager}}
\index{Material\+Manager@{Material\+Manager}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{Material\+Manager}{MaterialManager}}
{\footnotesize\ttfamily friend class \hyperlink{class_ogre_1_1_material_manager}{Material\+Manager}\hspace{0.3cm}{\ttfamily [friend]}}



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}\label{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}} 
\index{Ogre\+::\+Material@{Ogre\+::\+Material}!O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}}
\index{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}!Ogre\+::\+Material@{Ogre\+::\+Material}}
\subsubsection{\texorpdfstring{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}{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 
\hyperlink{_ogre_material_8h}{Ogre\+Material.\+h}\end{DoxyCompactItemize}
