\hypertarget{class_ogre_1_1_g_l_texture}{}\section{Ogre\+:\+:G\+L\+Texture Class Reference}
\label{class_ogre_1_1_g_l_texture}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}


{\ttfamily \#include $<$Ogre\+G\+L\+Texture.\+h$>$}



Inheritance diagram for Ogre\+:\+:G\+L\+Texture\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=302pt]{class_ogre_1_1_g_l_texture__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}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_g_l_texture_af89b30d6e0f458130e85138189c785a9}{G\+L\+Texture} (\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, \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$loader, \hyperlink{class_ogre_1_1_g_l_render_system}{G\+L\+Render\+System} $\ast$render\+System)
\item 
virtual \hyperlink{class_ogre_1_1_g_l_texture_a7488e9963124fe1c26b01e7df5191c4b}{$\sim$\+G\+L\+Texture} ()
\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_texture_a353c91fed9eb4d4baada25f9519abc4a}{\+\_\+load\+Images} (const \hyperlink{group___image_gaae7e3838a0d4d71c8b4f528e43caf9d2}{Const\+Image\+Ptr\+List} \&images)
\begin{DoxyCompactList}\small\item\em Internal method to load the texture from a set of images. \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 
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 
void \hyperlink{class_ogre_1_1_texture_a6c5c6be0ec434481a055ab6b03b644fd}{convert\+To\+Image} (\hyperlink{class_ogre_1_1_image}{Image} \&dest\+Image, bool include\+Mip\+Maps=false)
\begin{DoxyCompactList}\small\item\em Populate an \hyperlink{class_ogre_1_1_image}{Image} with the contents of this texture. \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 
virtual void \hyperlink{class_ogre_1_1_texture_a017b0d0590ce4afc079f2f1f85a686b8}{copy\+To\+Texture} (\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr} \&target)
\begin{DoxyCompactList}\small\item\em Copies (and maybe scales to fit) the contents of this texture to another texture. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_ad3c315f415bb89c7646795bcee44acb7}{create\+Internal\+Resources} (void)
\begin{DoxyCompactList}\small\item\em Creates the internal texture resources for this texture. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_g_l_texture_common_ac6232bd21adb131713d75ca3911cb1ab}{create\+Render\+Texture} ()
\item 
virtual void \hyperlink{class_ogre_1_1_texture_add1e59656ad318426f22c518d7fb75d7}{create\+Shader\+Access\+Point} (\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} bind\+Point, \hyperlink{group___resources_ga12b16f4465fec1b8fff40c719e2aa458}{Texture\+Access} access=\hyperlink{group___resources_gga12b16f4465fec1b8fff40c719e2aa458a36eb7ddb2aa3dfcc79147c4f4d803ae6}{T\+A\+\_\+\+R\+E\+A\+D\+\_\+\+W\+R\+I\+TE}, int mipmap\+Level=0, int texture\+Array\+Index=0, \hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} $\ast$format=N\+U\+LL)
\begin{DoxyCompactList}\small\item\em Enable read and/or write privileges to the texture from shaders. \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 
void \hyperlink{class_ogre_1_1_texture_adc238422174318f0d913baa6b6c7de45}{free\+Internal\+Resources} (void)
\begin{DoxyCompactList}\small\item\em Frees internal texture resources for this texture. \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 
void \hyperlink{class_ogre_1_1_g_l_texture_common_af31a2af7c9cd561953f8de212f4a9155}{get\+Custom\+Attribute} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, void $\ast$p\+Data)
\begin{DoxyCompactList}\small\item\em Retrieve a platform or A\+P\+I-\/specific piece of information from this texture. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_texture_a743e5059501507cd858e90532e8263f9}{get\+Depth} (void) const
\begin{DoxyCompactList}\small\item\em Returns the depth of the texture (only applicable for 3D textures). \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} \hyperlink{class_ogre_1_1_texture_a90ce19013c81301e656ba110fcc01728}{get\+Desired\+Float\+Bit\+Depth} (void) const
\begin{DoxyCompactList}\small\item\em gets desired bit depth for float pixel format textures. \end{DoxyCompactList}\item 
\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} \hyperlink{class_ogre_1_1_texture_a5decc0244a000c5002935c32ac301f0c}{get\+Desired\+Format} (void) const
\begin{DoxyCompactList}\small\item\em Returns the desired pixel format for the texture surface. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} \hyperlink{class_ogre_1_1_texture_aee662e54343ef66ec2835de723908735}{get\+Desired\+Integer\+Bit\+Depth} (void) const
\begin{DoxyCompactList}\small\item\em gets desired bit depth for integer pixel format textures. \end{DoxyCompactList}\item 
\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} \hyperlink{class_ogre_1_1_texture_a8ed6a95810f21f53aa8cbc780b680164}{get\+Format} () const
\begin{DoxyCompactList}\small\item\em Returns the pixel format for the texture surface. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} \hyperlink{class_ogre_1_1_texture_a2403b6aa5526f15570d26f8903e83da6}{get\+F\+S\+AA} () const
\begin{DoxyCompactList}\small\item\em Get the level of multisample AA to be used if this texture is a rendertarget. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_texture_a9c3faca6c25e388d9f02f80f8893603d}{get\+F\+S\+A\+A\+Hint} () const
\begin{DoxyCompactList}\small\item\em Get the multisample AA hint if this texture is a rendertarget. \end{DoxyCompactList}\item 
float \hyperlink{class_ogre_1_1_texture_ac93f17feff099035542be8b22f890417}{get\+Gamma} (void) const
\begin{DoxyCompactList}\small\item\em Returns the gamma adjustment factor applied to this texture on loading. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} \hyperlink{class_ogre_1_1_g_l_texture_common_a78f382e232d2d27d0ba598ca38cf42cb}{get\+G\+L\+ID} () const
\item 
G\+Lenum \hyperlink{class_ogre_1_1_g_l_texture_a34686247255d7bca8bdf5459390201db}{get\+G\+L\+Texture\+Target} (void) const
\begin{DoxyCompactList}\small\item\em Takes the O\+G\+RE texture type (1d/2d/3d/cube) and returns the appropriate GL one. \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 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_texture_a297b97d2c7253c1ca8c471b91edd4407}{get\+Height} (void) const
\begin{DoxyCompactList}\small\item\em Returns the height of the texture. \end{DoxyCompactList}\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 
bool \hyperlink{class_ogre_1_1_texture_a6f186da4d9557d958779eba68bb769a9}{get\+Mipmaps\+Hardware\+Generated} (void) const
\begin{DoxyCompactList}\small\item\em Are mipmaps hardware generated? \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 
size\+\_\+t \hyperlink{class_ogre_1_1_texture_a31d04160addb56e190c5155c21f998bf}{get\+Num\+Faces} () const
\begin{DoxyCompactList}\small\item\em Return the number of faces this texture has. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_texture_a2dca57a4b5847bc89f43819b779c8c6a}{get\+Num\+Mipmaps} (void) const
\begin{DoxyCompactList}\small\item\em Gets the number of mipmaps to be used for this texture. \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 
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 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_texture_ac7eab6fa3b2133384bf2d92b4f5a2a99}{get\+Src\+Depth} (void) const
\begin{DoxyCompactList}\small\item\em Returns the original depth of the input texture (only applicable for 3D textures). \end{DoxyCompactList}\item 
\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} \hyperlink{class_ogre_1_1_texture_a6ed49ed8701feb087b04b730ce1d682f}{get\+Src\+Format} (void) const
\begin{DoxyCompactList}\small\item\em Returns the pixel format of the original input texture (may differ due to hardware requirements and pixel format conversion). \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_texture_aee3fd3170df592c3cc679cc38d3d9f60}{get\+Src\+Height} (void) const
\begin{DoxyCompactList}\small\item\em Returns the height of the original input texture (may differ due to hardware requirements). \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_texture_aadcef30707e8e10fbac61d65e1e73e52}{get\+Src\+Width} (void) const
\begin{DoxyCompactList}\small\item\em Returns the width of the original input texture (may differ due to hardware requirements). \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{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type} \hyperlink{class_ogre_1_1_texture_a4d0ef43ff1e078b942e017f3dea6471d}{get\+Texture\+Type} (void) const
\begin{DoxyCompactList}\small\item\em Gets the type of texture. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_texture_af10046684f1810855fdc76bde88ec8d6}{get\+Treat\+Luminance\+As\+Alpha} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether luminace pixel format will treated as alpha format when load this texture. \end{DoxyCompactList}\item 
int \hyperlink{class_ogre_1_1_texture_a4b9088dd0c1a9036e33dd64d56a3d902}{get\+Usage} () const
\begin{DoxyCompactList}\small\item\em Returns the Texture\+Usage identifier for this \hyperlink{class_ogre_1_1_texture}{Texture}. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_texture_ad1c33ba2014eeb134c8ce932f2a43418}{get\+Width} (void) const
\begin{DoxyCompactList}\small\item\em Returns the width of the texture. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_texture_a7bd0ddb623f9d7b01fb272db8296cc72}{has\+Alpha} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the texture has an alpha layer. \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 
bool \hyperlink{class_ogre_1_1_texture_a622c64d1862fb3accb017989cd1f1481}{is\+Hardware\+Gamma\+Enabled} () const
\begin{DoxyCompactList}\small\item\em Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. \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 
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 
virtual void \hyperlink{class_ogre_1_1_texture_ac129cc0a773f0d9d0eb4c3c1a1b65618}{load\+Image} (const \hyperlink{class_ogre_1_1_image}{Image} \&img)
\begin{DoxyCompactList}\small\item\em Loads the data from an image. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a464f514c90dde429bcba7afb4b34768f}{load\+Raw\+Data} (\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \&stream, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} u\+Width, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} u\+Height, \hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} e\+Format)
\begin{DoxyCompactList}\small\item\em Loads the data from a raw stream. \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 
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 
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_texture_aec390502f63927ed9470ba423ea66f64}{set\+Depth} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} d)
\begin{DoxyCompactList}\small\item\em Set the depth of the texture (only applicable for 3D textures); can only do this before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()};. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a66da73db6e7117be285c62160da62d5c}{set\+Desired\+Bit\+Depths} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} integer\+Bits, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} float\+Bits)
\begin{DoxyCompactList}\small\item\em Sets desired bit depth for integer and float pixel format. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a031474b97a9f2606cda91960b360aeb8}{set\+Desired\+Float\+Bit\+Depth} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} bits)
\begin{DoxyCompactList}\small\item\em Sets desired bit depth for float pixel format textures. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_aba1e54055a50692510da87d5d3eb5de1}{set\+Desired\+Integer\+Bit\+Depth} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} bits)
\begin{DoxyCompactList}\small\item\em Sets desired bit depth for integer pixel format textures. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a7c7b9de76ae4ffc29f4d75b6f9bf899a}{set\+Format} (\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} pf)
\begin{DoxyCompactList}\small\item\em Sets the desired pixel format for the texture surface; can only be set before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a4a4f09d971e96259593aac5ef0df873d}{set\+F\+S\+AA} (\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} fsaa, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&fsaa\+Hint)
\begin{DoxyCompactList}\small\item\em Set the level of multisample AA to be used if this texture is a rendertarget. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_ad8faaf7732b48e059f7d7dc15667f2af}{set\+Gamma} (float g)
\begin{DoxyCompactList}\small\item\em Sets the gamma adjustment factor applied to this texture on loading the data. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_ae32d1cfbbb44d87d698aae547ecda35f}{set\+Hardware\+Gamma\+Enabled} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_ae272c029efa4b04406a58e01cd8ea7e8}{set\+Height} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} h)
\begin{DoxyCompactList}\small\item\em Set the height of the texture; can only do this before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()};. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a0ff2e6946c562128e059ebfcfc86d197}{set\+Num\+Mipmaps} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} num)
\begin{DoxyCompactList}\small\item\em Sets the number of mipmaps to be used for this texture. \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_texture_a0ba4cefce02a7afa769a28c85c892082}{set\+Texture\+Type} (\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type} ttype)
\begin{DoxyCompactList}\small\item\em Sets the type of texture; can only be changed before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a963616fe631db2b5bef45234a15bff7f}{set\+Treat\+Luminance\+As\+Alpha} (bool as\+Alpha)
\begin{DoxyCompactList}\small\item\em specify that a single channel (luminance) texture should be loaded as alpha \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a7eded50cabb3e9dbeeee531c168016da}{set\+Usage} (int u)
\begin{DoxyCompactList}\small\item\em Sets the Texture\+Usage identifier for this \hyperlink{class_ogre_1_1_texture}{Texture}; only useful before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_a6f1a52798479255a174b3c0ecba6a10c}{set\+Width} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} w)
\begin{DoxyCompactList}\small\item\em Set the width of the texture; can only do this before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()};. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_ae229b1f58092109adef55bfc6f864d79}{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{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!Loading\+State@{Loading\+State}}
\index{Loading\+State@{Loading\+State}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!Loading\+Flags@{Loading\+Flags}}
\index{Loading\+Flags@{Loading\+Flags}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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_g_l_texture_af89b30d6e0f458130e85138189c785a9}\label{class_ogre_1_1_g_l_texture_af89b30d6e0f458130e85138189c785a9}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!G\+L\+Texture@{G\+L\+Texture}}
\index{G\+L\+Texture@{G\+L\+Texture}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{G\+L\+Texture()}{GLTexture()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+Texture\+::\+G\+L\+Texture (\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,  }\item[{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$}]{loader,  }\item[{\hyperlink{class_ogre_1_1_g_l_render_system}{G\+L\+Render\+System} $\ast$}]{render\+System }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_g_l_texture_a7488e9963124fe1c26b01e7df5191c4b}\label{class_ogre_1_1_g_l_texture_a7488e9963124fe1c26b01e7df5191c4b}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!````~G\+L\+Texture@{$\sim$\+G\+L\+Texture}}
\index{````~G\+L\+Texture@{$\sim$\+G\+L\+Texture}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{$\sim$\+G\+L\+Texture()}{~GLTexture()}}
{\footnotesize\ttfamily virtual Ogre\+::\+G\+L\+Texture\+::$\sim$\+G\+L\+Texture (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_texture_a34686247255d7bca8bdf5459390201db}\label{class_ogre_1_1_g_l_texture_a34686247255d7bca8bdf5459390201db}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+G\+L\+Texture\+Target@{get\+G\+L\+Texture\+Target}}
\index{get\+G\+L\+Texture\+Target@{get\+G\+L\+Texture\+Target}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+G\+L\+Texture\+Target()}{getGLTextureTarget()}}
{\footnotesize\ttfamily G\+Lenum Ogre\+::\+G\+L\+Texture\+::get\+G\+L\+Texture\+Target (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Takes the O\+G\+RE texture type (1d/2d/3d/cube) and returns the appropriate GL one. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_texture_common_a78f382e232d2d27d0ba598ca38cf42cb}\label{class_ogre_1_1_g_l_texture_common_a78f382e232d2d27d0ba598ca38cf42cb}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+G\+L\+ID@{get\+G\+L\+ID}}
\index{get\+G\+L\+ID@{get\+G\+L\+ID}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+G\+L\+I\+D()}{getGLID()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} Ogre\+::\+G\+L\+Texture\+Common\+::get\+G\+L\+ID (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_texture_common_af31a2af7c9cd561953f8de212f4a9155}\label{class_ogre_1_1_g_l_texture_common_af31a2af7c9cd561953f8de212f4a9155}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Custom\+Attribute@{get\+Custom\+Attribute}}
\index{get\+Custom\+Attribute@{get\+Custom\+Attribute}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Custom\+Attribute()}{getCustomAttribute()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+Texture\+Common\+::get\+Custom\+Attribute (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{void $\ast$}]{p\+Data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieve a platform or A\+P\+I-\/specific piece of information from this texture. 

This method of retrieving information should only be used if you know what you\textquotesingle{}re doing. 
\begin{DoxyParams}{Parameters}
{\em name} & The name of the attribute to retrieve. \\
\hline
{\em p\+Data} & Pointer to memory matching the type of data you want to retrieve. \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{class_ogre_1_1_texture_accfa5467ab8ccfc5920ec64101f8f532}{Ogre\+::\+Texture}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_texture_common_ac6232bd21adb131713d75ca3911cb1ab}\label{class_ogre_1_1_g_l_texture_common_ac6232bd21adb131713d75ca3911cb1ab}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!create\+Render\+Texture@{create\+Render\+Texture}}
\index{create\+Render\+Texture@{create\+Render\+Texture}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{create\+Render\+Texture()}{createRenderTexture()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+Texture\+Common\+::create\+Render\+Texture (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_texture_a0ba4cefce02a7afa769a28c85c892082}\label{class_ogre_1_1_texture_a0ba4cefce02a7afa769a28c85c892082}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Texture\+Type@{set\+Texture\+Type}}
\index{set\+Texture\+Type@{set\+Texture\+Type}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Texture\+Type()}{setTextureType()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Texture\+Type (\begin{DoxyParamCaption}\item[{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}]{ttype }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets the type of texture; can only be changed before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} 

\mbox{\Hypertarget{class_ogre_1_1_texture_a4d0ef43ff1e078b942e017f3dea6471d}\label{class_ogre_1_1_texture_a4d0ef43ff1e078b942e017f3dea6471d}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Texture\+Type@{get\+Texture\+Type}}
\index{get\+Texture\+Type@{get\+Texture\+Type}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Texture\+Type()}{getTextureType()}}
{\footnotesize\ttfamily \hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type} Ogre\+::\+Texture\+::get\+Texture\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the type of texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a2dca57a4b5847bc89f43819b779c8c6a}\label{class_ogre_1_1_texture_a2dca57a4b5847bc89f43819b779c8c6a}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Num\+Mipmaps@{get\+Num\+Mipmaps}}
\index{get\+Num\+Mipmaps@{get\+Num\+Mipmaps}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Num\+Mipmaps()}{getNumMipmaps()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Texture\+::get\+Num\+Mipmaps (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the number of mipmaps to be used for this texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a0ff2e6946c562128e059ebfcfc86d197}\label{class_ogre_1_1_texture_a0ff2e6946c562128e059ebfcfc86d197}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Num\+Mipmaps@{set\+Num\+Mipmaps}}
\index{set\+Num\+Mipmaps@{set\+Num\+Mipmaps}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Num\+Mipmaps()}{setNumMipmaps()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Num\+Mipmaps (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{num }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets the number of mipmaps to be used for this texture. 

\begin{DoxyNote}{Note}
Must be set before calling any \textquotesingle{}load\textquotesingle{} method. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_a6f186da4d9557d958779eba68bb769a9}\label{class_ogre_1_1_texture_a6f186da4d9557d958779eba68bb769a9}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Mipmaps\+Hardware\+Generated@{get\+Mipmaps\+Hardware\+Generated}}
\index{get\+Mipmaps\+Hardware\+Generated@{get\+Mipmaps\+Hardware\+Generated}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Mipmaps\+Hardware\+Generated()}{getMipmapsHardwareGenerated()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+::get\+Mipmaps\+Hardware\+Generated (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Are mipmaps hardware generated? 

\begin{DoxyRemark}{Remarks}
Will only be accurate after texture load, or create\+Internal\+Resources 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_texture_ac93f17feff099035542be8b22f890417}\label{class_ogre_1_1_texture_ac93f17feff099035542be8b22f890417}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Gamma@{get\+Gamma}}
\index{get\+Gamma@{get\+Gamma}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Gamma()}{getGamma()}}
{\footnotesize\ttfamily float Ogre\+::\+Texture\+::get\+Gamma (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the gamma adjustment factor applied to this texture on loading. 

\mbox{\Hypertarget{class_ogre_1_1_texture_ad8faaf7732b48e059f7d7dc15667f2af}\label{class_ogre_1_1_texture_ad8faaf7732b48e059f7d7dc15667f2af}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Gamma@{set\+Gamma}}
\index{set\+Gamma@{set\+Gamma}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Gamma()}{setGamma()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Gamma (\begin{DoxyParamCaption}\item[{float}]{g }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets the gamma adjustment factor applied to this texture on loading the data. 

\begin{DoxyNote}{Note}
Must be called before any \textquotesingle{}load\textquotesingle{} method. This gamma factor will be premultiplied in and may reduce the precision of your textures. You can use set\+Hardware\+Gamma if supported to apply gamma on sampling the texture instead. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_ae32d1cfbbb44d87d698aae547ecda35f}\label{class_ogre_1_1_texture_ae32d1cfbbb44d87d698aae547ecda35f}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Hardware\+Gamma\+Enabled@{set\+Hardware\+Gamma\+Enabled}}
\index{set\+Hardware\+Gamma\+Enabled@{set\+Hardware\+Gamma\+Enabled}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Hardware\+Gamma\+Enabled()}{setHardwareGammaEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Hardware\+Gamma\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. 

\begin{DoxyRemark}{Remarks}
24-\/bit textures are often saved in gamma colour space; this preserves precision in the \textquotesingle{}darks\textquotesingle{}. However, if you\textquotesingle{}re performing blending on the sampled colours, you really want to be doing it in linear space. One way is to apply a gamma correction value on loading (see set\+Gamma), but this means you lose precision in those dark colours. An alternative is to get the hardware to do the gamma correction when reading the texture and converting it to a floating point value for the rest of the pipeline. This option allows you to do that; it\textquotesingle{}s only supported in relatively recent hardware (others will ignore it) but can improve the quality of colour reproduction. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Must be called before any \textquotesingle{}load\textquotesingle{} method since it may affect the construction of the underlying hardware resources. Also note this only useful on textures using 8-\/bit colour channels. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_a622c64d1862fb3accb017989cd1f1481}\label{class_ogre_1_1_texture_a622c64d1862fb3accb017989cd1f1481}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!is\+Hardware\+Gamma\+Enabled@{is\+Hardware\+Gamma\+Enabled}}
\index{is\+Hardware\+Gamma\+Enabled@{is\+Hardware\+Gamma\+Enabled}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{is\+Hardware\+Gamma\+Enabled()}{isHardwareGammaEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+::is\+Hardware\+Gamma\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a4a4f09d971e96259593aac5ef0df873d}\label{class_ogre_1_1_texture_a4a4f09d971e96259593aac5ef0df873d}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+F\+S\+AA@{set\+F\+S\+AA}}
\index{set\+F\+S\+AA@{set\+F\+S\+AA}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+F\+S\+A\+A()}{setFSAA()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+F\+S\+AA (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}]{fsaa,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{fsaa\+Hint }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set the level of multisample AA to be used if this texture is a rendertarget. 

\begin{DoxyNote}{Note}
This option will be ignored if T\+U\+\_\+\+R\+E\+N\+D\+E\+R\+T\+A\+R\+G\+ET is not part of the usage options on this texture, or if the hardware does not support it. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em fsaa} & The number of samples \\
\hline
{\em fsaa\+Hint} & \hyperlink{class_ogre_1_1_any}{Any} hinting text (see \hyperlink{class_ogre_1_1_root_a537b7d1d0937f799cfe4936f6b672620}{Root\+::create\+Render\+Window}) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_a2403b6aa5526f15570d26f8903e83da6}\label{class_ogre_1_1_texture_a2403b6aa5526f15570d26f8903e83da6}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+F\+S\+AA@{get\+F\+S\+AA}}
\index{get\+F\+S\+AA@{get\+F\+S\+AA}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+F\+S\+A\+A()}{getFSAA()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} Ogre\+::\+Texture\+::get\+F\+S\+AA (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the level of multisample AA to be used if this texture is a rendertarget. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a9c3faca6c25e388d9f02f80f8893603d}\label{class_ogre_1_1_texture_a9c3faca6c25e388d9f02f80f8893603d}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+F\+S\+A\+A\+Hint@{get\+F\+S\+A\+A\+Hint}}
\index{get\+F\+S\+A\+A\+Hint@{get\+F\+S\+A\+A\+Hint}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+F\+S\+A\+A\+Hint()}{getFSAAHint()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Texture\+::get\+F\+S\+A\+A\+Hint (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the multisample AA hint if this texture is a rendertarget. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a297b97d2c7253c1ca8c471b91edd4407}\label{class_ogre_1_1_texture_a297b97d2c7253c1ca8c471b91edd4407}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Height@{get\+Height}}
\index{get\+Height@{get\+Height}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Height()}{getHeight()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Texture\+::get\+Height (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the height of the texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_ad1c33ba2014eeb134c8ce932f2a43418}\label{class_ogre_1_1_texture_ad1c33ba2014eeb134c8ce932f2a43418}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Width@{get\+Width}}
\index{get\+Width@{get\+Width}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Width()}{getWidth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Texture\+::get\+Width (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the width of the texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a743e5059501507cd858e90532e8263f9}\label{class_ogre_1_1_texture_a743e5059501507cd858e90532e8263f9}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Depth@{get\+Depth}}
\index{get\+Depth@{get\+Depth}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Depth()}{getDepth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Texture\+::get\+Depth (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the depth of the texture (only applicable for 3D textures). 

\mbox{\Hypertarget{class_ogre_1_1_texture_aee3fd3170df592c3cc679cc38d3d9f60}\label{class_ogre_1_1_texture_aee3fd3170df592c3cc679cc38d3d9f60}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Src\+Height@{get\+Src\+Height}}
\index{get\+Src\+Height@{get\+Src\+Height}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Src\+Height()}{getSrcHeight()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Texture\+::get\+Src\+Height (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the height of the original input texture (may differ due to hardware requirements). 

\mbox{\Hypertarget{class_ogre_1_1_texture_aadcef30707e8e10fbac61d65e1e73e52}\label{class_ogre_1_1_texture_aadcef30707e8e10fbac61d65e1e73e52}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Src\+Width@{get\+Src\+Width}}
\index{get\+Src\+Width@{get\+Src\+Width}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Src\+Width()}{getSrcWidth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Texture\+::get\+Src\+Width (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the width of the original input texture (may differ due to hardware requirements). 

\mbox{\Hypertarget{class_ogre_1_1_texture_ac7eab6fa3b2133384bf2d92b4f5a2a99}\label{class_ogre_1_1_texture_ac7eab6fa3b2133384bf2d92b4f5a2a99}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Src\+Depth@{get\+Src\+Depth}}
\index{get\+Src\+Depth@{get\+Src\+Depth}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Src\+Depth()}{getSrcDepth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Texture\+::get\+Src\+Depth (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the original depth of the input texture (only applicable for 3D textures). 

\mbox{\Hypertarget{class_ogre_1_1_texture_ae272c029efa4b04406a58e01cd8ea7e8}\label{class_ogre_1_1_texture_ae272c029efa4b04406a58e01cd8ea7e8}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Height@{set\+Height}}
\index{set\+Height@{set\+Height}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Height()}{setHeight()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Height (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{h }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set the height of the texture; can only do this before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()};. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a6f1a52798479255a174b3c0ecba6a10c}\label{class_ogre_1_1_texture_a6f1a52798479255a174b3c0ecba6a10c}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Width@{set\+Width}}
\index{set\+Width@{set\+Width}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Width()}{setWidth()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Width (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{w }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set the width of the texture; can only do this before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()};. 

\mbox{\Hypertarget{class_ogre_1_1_texture_aec390502f63927ed9470ba423ea66f64}\label{class_ogre_1_1_texture_aec390502f63927ed9470ba423ea66f64}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Depth@{set\+Depth}}
\index{set\+Depth@{set\+Depth}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Depth()}{setDepth()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Depth (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{d }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Set the depth of the texture (only applicable for 3D textures); can only do this before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()};. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a4b9088dd0c1a9036e33dd64d56a3d902}\label{class_ogre_1_1_texture_a4b9088dd0c1a9036e33dd64d56a3d902}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Usage@{get\+Usage}}
\index{get\+Usage@{get\+Usage}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Usage()}{getUsage()}}
{\footnotesize\ttfamily int Ogre\+::\+Texture\+::get\+Usage (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the Texture\+Usage identifier for this \hyperlink{class_ogre_1_1_texture}{Texture}. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a7eded50cabb3e9dbeeee531c168016da}\label{class_ogre_1_1_texture_a7eded50cabb3e9dbeeee531c168016da}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Usage@{set\+Usage}}
\index{set\+Usage@{set\+Usage}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Usage()}{setUsage()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Usage (\begin{DoxyParamCaption}\item[{int}]{u }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets the Texture\+Usage identifier for this \hyperlink{class_ogre_1_1_texture}{Texture}; only useful before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} 


\begin{DoxyParams}{Parameters}
{\em u} & is a combination of T\+U\+\_\+\+S\+T\+A\+T\+IC, T\+U\+\_\+\+D\+Y\+N\+A\+M\+IC, T\+U\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY T\+U\+\_\+\+A\+U\+T\+O\+M\+I\+P\+M\+AP and T\+U\+\_\+\+R\+E\+N\+D\+E\+R\+T\+A\+R\+G\+ET (see Texture\+Usage enum). You are strongly advised to use H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY wherever possible, if you need to update regularly, consider H\+B\+U\+\_\+\+D\+Y\+N\+A\+M\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_ad3c315f415bb89c7646795bcee44acb7}\label{class_ogre_1_1_texture_ad3c315f415bb89c7646795bcee44acb7}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!create\+Internal\+Resources@{create\+Internal\+Resources}}
\index{create\+Internal\+Resources@{create\+Internal\+Resources}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{create\+Internal\+Resources()}{createInternalResources()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::create\+Internal\+Resources (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Creates the internal texture resources for this texture. 

\begin{DoxyRemark}{Remarks}
This method creates the internal texture resources (pixel buffers, texture surfaces etc) required to begin using this texture. You do not need to call this method directly unless you are manually creating a texture, in which case something must call it, after having set the size and format of the texture (e.\+g. the \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} might be the best one to call it). If you are not defining a manual texture, or if you use one of the self-\/contained load...() methods, then it will be called for you. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_texture_adc238422174318f0d913baa6b6c7de45}\label{class_ogre_1_1_texture_adc238422174318f0d913baa6b6c7de45}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!free\+Internal\+Resources@{free\+Internal\+Resources}}
\index{free\+Internal\+Resources@{free\+Internal\+Resources}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{free\+Internal\+Resources()}{freeInternalResources()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::free\+Internal\+Resources (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Frees internal texture resources for this texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a017b0d0590ce4afc079f2f1f85a686b8}\label{class_ogre_1_1_texture_a017b0d0590ce4afc079f2f1f85a686b8}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!copy\+To\+Texture@{copy\+To\+Texture}}
\index{copy\+To\+Texture@{copy\+To\+Texture}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{copy\+To\+Texture()}{copyToTexture()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Texture\+::copy\+To\+Texture (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr} \&}]{target }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Copies (and maybe scales to fit) the contents of this texture to another texture. 



Reimplemented in \hyperlink{class_ogre_1_1_d3_d9_texture_a9877df680d0756fa081a3a558ac94b2a}{Ogre\+::\+D3\+D9\+Texture}, and \hyperlink{class_ogre_1_1_d3_d11_texture_ab3f5c3f62eb8d9e4d7c428c049e62991}{Ogre\+::\+D3\+D11\+Texture}.

\mbox{\Hypertarget{class_ogre_1_1_texture_ac129cc0a773f0d9d0eb4c3c1a1b65618}\label{class_ogre_1_1_texture_ac129cc0a773f0d9d0eb4c3c1a1b65618}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!load\+Image@{load\+Image}}
\index{load\+Image@{load\+Image}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{load\+Image()}{loadImage()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Texture\+::load\+Image (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_image}{Image} \&}]{img }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Loads the data from an image. 

\begin{DoxyNote}{Note}
Important\+: only call this from outside the \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} routine of a \hyperlink{class_ogre_1_1_resource}{Resource}. Don\textquotesingle{}t call it within (including \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}) -\/ use \hyperlink{class_ogre_1_1_texture_a353c91fed9eb4d4baada25f9519abc4a}{\+\_\+load\+Images()} instead. This method is designed to be external, performs locking and checks the load status before loading. 
\end{DoxyNote}


Reimplemented in \hyperlink{class_ogre_1_1_d3_d11_texture_a71ef0ea4964cb3c2a716de2b1220be51}{Ogre\+::\+D3\+D11\+Texture}.

\mbox{\Hypertarget{class_ogre_1_1_texture_a464f514c90dde429bcba7afb4b34768f}\label{class_ogre_1_1_texture_a464f514c90dde429bcba7afb4b34768f}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!load\+Raw\+Data@{load\+Raw\+Data}}
\index{load\+Raw\+Data@{load\+Raw\+Data}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{load\+Raw\+Data()}{loadRawData()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::load\+Raw\+Data (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} \&}]{stream,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{u\+Width,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{u\+Height,  }\item[{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}]{e\+Format }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Loads the data from a raw stream. 

\begin{DoxyNote}{Note}
Important\+: only call this from outside the \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} routine of a \hyperlink{class_ogre_1_1_resource}{Resource}. Don\textquotesingle{}t call it within (including \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}) -\/ use \hyperlink{class_ogre_1_1_texture_a353c91fed9eb4d4baada25f9519abc4a}{\+\_\+load\+Images()} instead. This method is designed to be external, performs locking and checks the load status before loading. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em stream} & Data stream containing the raw pixel data \\
\hline
{\em u\+Width} & Width of the image \\
\hline
{\em u\+Height} & Height of the image \\
\hline
{\em e\+Format} & The format of the pixel data \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_a353c91fed9eb4d4baada25f9519abc4a}\label{class_ogre_1_1_texture_a353c91fed9eb4d4baada25f9519abc4a}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!\+\_\+load\+Images@{\+\_\+load\+Images}}
\index{\+\_\+load\+Images@{\+\_\+load\+Images}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{\+\_\+load\+Images()}{\_loadImages()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::\+\_\+load\+Images (\begin{DoxyParamCaption}\item[{const \hyperlink{group___image_gaae7e3838a0d4d71c8b4f528e43caf9d2}{Const\+Image\+Ptr\+List} \&}]{images }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Internal method to load the texture from a set of images. 

\begin{DoxyNote}{Note}
Do N\+OT call this method unless you are inside the \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} routine already, e.\+g. a \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}. It is not threadsafe and does not check or update resource loading status. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_a8ed6a95810f21f53aa8cbc780b680164}\label{class_ogre_1_1_texture_a8ed6a95810f21f53aa8cbc780b680164}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Format@{get\+Format}}
\index{get\+Format@{get\+Format}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Format()}{getFormat()}}
{\footnotesize\ttfamily \hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} Ogre\+::\+Texture\+::get\+Format (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the pixel format for the texture surface. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a5decc0244a000c5002935c32ac301f0c}\label{class_ogre_1_1_texture_a5decc0244a000c5002935c32ac301f0c}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Desired\+Format@{get\+Desired\+Format}}
\index{get\+Desired\+Format@{get\+Desired\+Format}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Desired\+Format()}{getDesiredFormat()}}
{\footnotesize\ttfamily \hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} Ogre\+::\+Texture\+::get\+Desired\+Format (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the desired pixel format for the texture surface. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a6ed49ed8701feb087b04b730ce1d682f}\label{class_ogre_1_1_texture_a6ed49ed8701feb087b04b730ce1d682f}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Src\+Format@{get\+Src\+Format}}
\index{get\+Src\+Format@{get\+Src\+Format}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Src\+Format()}{getSrcFormat()}}
{\footnotesize\ttfamily \hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} Ogre\+::\+Texture\+::get\+Src\+Format (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the pixel format of the original input texture (may differ due to hardware requirements and pixel format conversion). 

\mbox{\Hypertarget{class_ogre_1_1_texture_a7c7b9de76ae4ffc29f4d75b6f9bf899a}\label{class_ogre_1_1_texture_a7c7b9de76ae4ffc29f4d75b6f9bf899a}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Format@{set\+Format}}
\index{set\+Format@{set\+Format}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Format()}{setFormat()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Format (\begin{DoxyParamCaption}\item[{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}]{pf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Sets the desired pixel format for the texture surface; can only be set before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a7bd0ddb623f9d7b01fb272db8296cc72}\label{class_ogre_1_1_texture_a7bd0ddb623f9d7b01fb272db8296cc72}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!has\+Alpha@{has\+Alpha}}
\index{has\+Alpha@{has\+Alpha}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{has\+Alpha()}{hasAlpha()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+::has\+Alpha (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Returns true if the texture has an alpha layer. 

\mbox{\Hypertarget{class_ogre_1_1_texture_aba1e54055a50692510da87d5d3eb5de1}\label{class_ogre_1_1_texture_aba1e54055a50692510da87d5d3eb5de1}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Desired\+Integer\+Bit\+Depth@{set\+Desired\+Integer\+Bit\+Depth}}
\index{set\+Desired\+Integer\+Bit\+Depth@{set\+Desired\+Integer\+Bit\+Depth}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Desired\+Integer\+Bit\+Depth()}{setDesiredIntegerBitDepth()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Desired\+Integer\+Bit\+Depth (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{bits }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Sets desired bit depth for integer pixel format textures. 

Available values\+: 0, 16 and 32, where 0 (the default) means keep original format as it is. This value is number of bits for the pixel. \mbox{\Hypertarget{class_ogre_1_1_texture_aee662e54343ef66ec2835de723908735}\label{class_ogre_1_1_texture_aee662e54343ef66ec2835de723908735}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Desired\+Integer\+Bit\+Depth@{get\+Desired\+Integer\+Bit\+Depth}}
\index{get\+Desired\+Integer\+Bit\+Depth@{get\+Desired\+Integer\+Bit\+Depth}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Desired\+Integer\+Bit\+Depth()}{getDesiredIntegerBitDepth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} Ogre\+::\+Texture\+::get\+Desired\+Integer\+Bit\+Depth (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



gets desired bit depth for integer pixel format textures. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a031474b97a9f2606cda91960b360aeb8}\label{class_ogre_1_1_texture_a031474b97a9f2606cda91960b360aeb8}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Desired\+Float\+Bit\+Depth@{set\+Desired\+Float\+Bit\+Depth}}
\index{set\+Desired\+Float\+Bit\+Depth@{set\+Desired\+Float\+Bit\+Depth}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Desired\+Float\+Bit\+Depth()}{setDesiredFloatBitDepth()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Desired\+Float\+Bit\+Depth (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{bits }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Sets desired bit depth for float pixel format textures. 

Available values\+: 0, 16 and 32, where 0 (the default) means keep original format as it is. This value is number of bits for a channel of the pixel. \mbox{\Hypertarget{class_ogre_1_1_texture_a90ce19013c81301e656ba110fcc01728}\label{class_ogre_1_1_texture_a90ce19013c81301e656ba110fcc01728}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Desired\+Float\+Bit\+Depth@{get\+Desired\+Float\+Bit\+Depth}}
\index{get\+Desired\+Float\+Bit\+Depth@{get\+Desired\+Float\+Bit\+Depth}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Desired\+Float\+Bit\+Depth()}{getDesiredFloatBitDepth()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} Ogre\+::\+Texture\+::get\+Desired\+Float\+Bit\+Depth (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



gets desired bit depth for float pixel format textures. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a66da73db6e7117be285c62160da62d5c}\label{class_ogre_1_1_texture_a66da73db6e7117be285c62160da62d5c}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Desired\+Bit\+Depths@{set\+Desired\+Bit\+Depths}}
\index{set\+Desired\+Bit\+Depths@{set\+Desired\+Bit\+Depths}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Desired\+Bit\+Depths()}{setDesiredBitDepths()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Desired\+Bit\+Depths (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{integer\+Bits,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{float\+Bits }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Sets desired bit depth for integer and float pixel format. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a963616fe631db2b5bef45234a15bff7f}\label{class_ogre_1_1_texture_a963616fe631db2b5bef45234a15bff7f}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Treat\+Luminance\+As\+Alpha@{set\+Treat\+Luminance\+As\+Alpha}}
\index{set\+Treat\+Luminance\+As\+Alpha@{set\+Treat\+Luminance\+As\+Alpha}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{set\+Treat\+Luminance\+As\+Alpha()}{setTreatLuminanceAsAlpha()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::set\+Treat\+Luminance\+As\+Alpha (\begin{DoxyParamCaption}\item[{bool}]{as\+Alpha }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



specify that a single channel (luminance) texture should be loaded as alpha 

rather than the default which is to load it into the red channel. This can be helpful if you want to use alpha-\/only textures in the fixed function pipeline. \mbox{\Hypertarget{class_ogre_1_1_texture_af10046684f1810855fdc76bde88ec8d6}\label{class_ogre_1_1_texture_af10046684f1810855fdc76bde88ec8d6}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Treat\+Luminance\+As\+Alpha@{get\+Treat\+Luminance\+As\+Alpha}}
\index{get\+Treat\+Luminance\+As\+Alpha@{get\+Treat\+Luminance\+As\+Alpha}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Treat\+Luminance\+As\+Alpha()}{getTreatLuminanceAsAlpha()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+::get\+Treat\+Luminance\+As\+Alpha (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Gets whether luminace pixel format will treated as alpha format when load this texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_a31d04160addb56e190c5155c21f998bf}\label{class_ogre_1_1_texture_a31d04160addb56e190c5155c21f998bf}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Num\+Faces@{get\+Num\+Faces}}
\index{get\+Num\+Faces@{get\+Num\+Faces}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{get\+Num\+Faces()}{getNumFaces()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Texture\+::get\+Num\+Faces (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Return the number of faces this texture has. 

This will be 6 for a cubemap texture and 1 for a 1D, 2D or 3D one. \mbox{\Hypertarget{class_ogre_1_1_texture_a6c5c6be0ec434481a055ab6b03b644fd}\label{class_ogre_1_1_texture_a6c5c6be0ec434481a055ab6b03b644fd}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!convert\+To\+Image@{convert\+To\+Image}}
\index{convert\+To\+Image@{convert\+To\+Image}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{convert\+To\+Image()}{convertToImage()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+::convert\+To\+Image (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_image}{Image} \&}]{dest\+Image,  }\item[{bool}]{include\+Mip\+Maps = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Populate an \hyperlink{class_ogre_1_1_image}{Image} with the contents of this texture. 


\begin{DoxyParams}{Parameters}
{\em dest\+Image} & The target image (contents will be overwritten) \\
\hline
{\em include\+Mip\+Maps} & Whether to embed mipmaps in the image \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_add1e59656ad318426f22c518d7fb75d7}\label{class_ogre_1_1_texture_add1e59656ad318426f22c518d7fb75d7}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!create\+Shader\+Access\+Point@{create\+Shader\+Access\+Point}}
\index{create\+Shader\+Access\+Point@{create\+Shader\+Access\+Point}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{create\+Shader\+Access\+Point()}{createShaderAccessPoint()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Texture\+::create\+Shader\+Access\+Point (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}]{bind\+Point,  }\item[{\hyperlink{group___resources_ga12b16f4465fec1b8fff40c719e2aa458}{Texture\+Access}}]{access = {\ttfamily \hyperlink{group___resources_gga12b16f4465fec1b8fff40c719e2aa458a36eb7ddb2aa3dfcc79147c4f4d803ae6}{T\+A\+\_\+\+R\+E\+A\+D\+\_\+\+W\+R\+I\+TE}},  }\item[{int}]{mipmap\+Level = {\ttfamily 0},  }\item[{int}]{texture\+Array\+Index = {\ttfamily 0},  }\item[{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} $\ast$}]{format = {\ttfamily NULL} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Enable read and/or write privileges to the texture from shaders. 


\begin{DoxyParams}{Parameters}
{\em bind\+Point} & The buffer binding location for shader access. For Open\+GL this must be unique and is not related to the texture binding point. \\
\hline
{\em access} & The texture access privileges given to the shader. \\
\hline
{\em mipmap\+Level} & The texture mipmap level to use. \\
\hline
{\em texture\+Array\+Index} & The index of the texture array to use. If texture is not a texture array, set to 0. \\
\hline
{\em format} & \hyperlink{class_ogre_1_1_texture}{Texture} format to be read in by shader. For Open\+GL this may be different than the bound texture format. \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{class_ogre_1_1_g_l3_plus_texture_a20b3d4c744595cd8ed6f2f27ab015425}{Ogre\+::\+G\+L3\+Plus\+Texture}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}\label{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!prepare@{prepare}}
\index{prepare@{prepare}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!load@{load}}
\index{load@{load}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!reload@{reload}}
\index{reload@{reload}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!is\+Reloadable@{is\+Reloadable}}
\index{is\+Reloadable@{is\+Reloadable}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!is\+Manually\+Loaded@{is\+Manually\+Loaded}}
\index{is\+Manually\+Loaded@{is\+Manually\+Loaded}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!unload@{unload}}
\index{unload@{unload}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Size@{get\+Size}}
\index{get\+Size@{get\+Size}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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_ae229b1f58092109adef55bfc6f864d79}\label{class_ogre_1_1_resource_ae229b1f58092109adef55bfc6f864d79}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!touch@{touch}}
\index{touch@{touch}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\subsubsection{\texorpdfstring{touch()}{touch()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::touch (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



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



Reimplemented in \hyperlink{class_ogre_1_1_material_a340e9c6140a5b0f3467596712aa122a9}{Ogre\+::\+Material}, \hyperlink{class_ogre_1_1_cg_program_aa448e3603f9f6cad8cfe40818888227a}{Ogre\+::\+Cg\+Program}, and \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a682949c30fe1718d4514b25df77774c2}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.



Referenced by Ogre\+::\+Material\+::touch().

\mbox{\Hypertarget{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}\label{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Name@{get\+Name}}
\index{get\+Name@{get\+Name}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Handle@{get\+Handle}}
\index{get\+Handle@{get\+Handle}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!is\+Prepared@{is\+Prepared}}
\index{is\+Prepared@{is\+Prepared}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!is\+Loaded@{is\+Loaded}}
\index{is\+Loaded@{is\+Loaded}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!is\+Loading@{is\+Loading}}
\index{is\+Loading@{is\+Loading}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Loading\+State@{get\+Loading\+State}}
\index{get\+Loading\+State@{get\+Loading\+State}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!is\+Background\+Loaded@{is\+Background\+Loaded}}
\index{is\+Background\+Loaded@{is\+Background\+Loaded}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Background\+Loaded@{set\+Background\+Loaded}}
\index{set\+Background\+Loaded@{set\+Background\+Loaded}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!escalate\+Loading@{escalate\+Loading}}
\index{escalate\+Loading@{escalate\+Loading}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!add\+Listener@{add\+Listener}}
\index{add\+Listener@{add\+Listener}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!remove\+Listener@{remove\+Listener}}
\index{remove\+Listener@{remove\+Listener}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Group@{get\+Group}}
\index{get\+Group@{get\+Group}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!change\+Group\+Ownership@{change\+Group\+Ownership}}
\index{change\+Group\+Ownership@{change\+Group\+Ownership}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Creator@{get\+Creator}}
\index{get\+Creator@{get\+Creator}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Origin@{get\+Origin}}
\index{get\+Origin@{get\+Origin}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!\+\_\+notify\+Origin@{\+\_\+notify\+Origin}}
\index{\+\_\+notify\+Origin@{\+\_\+notify\+Origin}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+State\+Count@{get\+State\+Count}}
\index{get\+State\+Count@{get\+State\+Count}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!\+\_\+dirty\+State@{\+\_\+dirty\+State}}
\index{\+\_\+dirty\+State@{\+\_\+dirty\+State}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!\+\_\+fire\+Loading\+Complete@{\+\_\+fire\+Loading\+Complete}}
\index{\+\_\+fire\+Loading\+Complete@{\+\_\+fire\+Loading\+Complete}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!\+\_\+fire\+Preparing\+Complete@{\+\_\+fire\+Preparing\+Complete}}
\index{\+\_\+fire\+Preparing\+Complete@{\+\_\+fire\+Preparing\+Complete}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!\+\_\+fire\+Unloading\+Complete@{\+\_\+fire\+Unloading\+Complete}}
\index{\+\_\+fire\+Unloading\+Complete@{\+\_\+fire\+Unloading\+Complete}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Param\+Dictionary@{get\+Param\+Dictionary}}
\index{get\+Param\+Dictionary@{get\+Param\+Dictionary}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Param\+Dictionary@{get\+Param\+Dictionary}}
\index{get\+Param\+Dictionary@{get\+Param\+Dictionary}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Parameters@{get\+Parameters}}
\index{get\+Parameters@{get\+Parameters}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Parameter@{set\+Parameter}}
\index{set\+Parameter@{set\+Parameter}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!set\+Parameter\+List@{set\+Parameter\+List}}
\index{set\+Parameter\+List@{set\+Parameter\+List}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!get\+Parameter@{get\+Parameter}}
\index{get\+Parameter@{get\+Parameter}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!copy\+Parameters\+To@{copy\+Parameters\+To}}
\index{copy\+Parameters\+To@{copy\+Parameters\+To}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!cleanup\+Dictionary@{cleanup\+Dictionary}}
\index{cleanup\+Dictionary@{cleanup\+Dictionary}!Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}\label{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}} 
\index{Ogre\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}!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\+::\+G\+L\+Texture@{Ogre\+::\+G\+L\+Texture}}
\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_g_l_texture_8h}{Ogre\+G\+L\+Texture.\+h}\end{DoxyCompactItemize}
