\hypertarget{class_ogre_1_1_default_texture_manager}{}\doxysection{Ogre\+::Default\+Texture\+Manager Class Reference}
\label{class_ogre_1_1_default_texture_manager}\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}


Specialisation of \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}} for offline processing. Cannot be used with an active \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}}.  




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



Inheritance diagram for Ogre\+::Default\+Texture\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_default_texture_manager__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::pair$<$ \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}}, bool $>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}{Resource\+Create\+Or\+Retrieve\+Result}}
\item 
typedef std\+::map$<$ \mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}, \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} $>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a6d9424ed93bc679b5543ddc9fc9fe41b}{Resource\+Handle\+Map}}
\item 
typedef std\+::unordered\+\_\+map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} $>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a849d25862f43feec07252f0ae139c3e4}{Resource\+Map}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a6d9424ed93bc679b5543ddc9fc9fe41b}{Resource\+Handle\+Map}} $>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a4f7da59507a5a8550ea97615ff9afff0}{Resource\+Map\+Iterator}}
\item 
typedef std\+::unordered\+\_\+map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_resource_manager_a849d25862f43feec07252f0ae139c3e4}{Resource\+Map}} $>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a31a40854bf7ade620d6632550f2c474b}{Resource\+With\+Group\+Map}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_texture_manager_a9ef8419603b3aad6ce7545682ee12c7c}{\+\_\+get\+Warning\+Texture}} ()
\begin{DoxyCompactList}\small\item\em Internal method to create a warning texture (bound when a texture unit is blank) \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_manager_af1a871ac005af0be0b8c1857a4f8eea9}{\+\_\+notify\+Resource\+Loaded}} (\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$res)
\begin{DoxyCompactList}\small\item\em Notify this manager that a resource which it manages has been loaded. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a40769092850d5b296e1d1a9190631700}{\+\_\+notify\+Resource\+Touched}} (\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$res)
\begin{DoxyCompactList}\small\item\em Notify this manager that a resource which it manages has been \textquotesingle{}touched\textquotesingle{}, i.\+e. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a54d1843a43aebb13542312cd17134e6a}{\+\_\+notify\+Resource\+Unloaded}} (\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$res)
\begin{DoxyCompactList}\small\item\em Notify this manager that a resource which it manages has been unloaded. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_ae63b06c1fd6d1266b4c5dacc35e521b4}{create}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$create\+Params=0)
\begin{DoxyCompactList}\small\item\em Create a new texture. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_default_texture_manager_a8f7271d99778c8a937d7fa10348dcc5a}{create\+Impl}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} handle, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$) override
\begin{DoxyCompactList}\small\item\em Create a new resource instance compatible with this manager (no custom parameters are populated at this point). \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_aac423b67b8c1aa00cd6a3f91e73bfcec}{create\+Manual}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} tex\+Type, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} width, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} height, int num\+Mipmaps, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} format, int usage=\mbox{\hyperlink{group___resources_ggaf140ec886884a864abc74a7556f8bf67acaa45fe77d1becf4c5bd353bc2aa764b}{T\+U\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, bool hw\+Gamma\+Correction=false, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} fsaa=0, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&fsaa\+Hint=\mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}})
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_aafa494d2704fdff05708db9db4bac3a0}{create\+Manual}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} tex\+Type, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} width, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} height, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} depth, int num\+Mipmaps, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} format, int usage=\mbox{\hyperlink{group___resources_ggaf140ec886884a864abc74a7556f8bf67acaa45fe77d1becf4c5bd353bc2aa764b}{T\+U\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, bool hw\+Gamma\+Correction=false, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} fsaa=0, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&fsaa\+Hint=\mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}})
\begin{DoxyCompactList}\small\item\em Create a manual texture with specified width, height and depth (not loaded from a file). \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}{Resource\+Create\+Or\+Retrieve\+Result}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_a406e3deba98785c0183d9e87271078d2}{create\+Or\+Retrieve}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$create\+Params, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} tex\+Type, int num\+Mipmaps=\mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} gamma=1.\+0f, bool is\+Alpha=false, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} desired\+Format=\mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}, bool hw\+Gamma\+Correction=false)
\item 
\mbox{\hyperlink{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}{Resource\+Create\+Or\+Retrieve\+Result}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_ac3f365e1d71fbe328637a681171d7acd}{create\+Or\+Retrieve}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$create\+Params=0)
\begin{DoxyCompactList}\small\item\em Create a new resource, or retrieve an existing one with the same name if it already exists. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}{Resource\+Create\+Or\+Retrieve\+Result}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_ac3f365e1d71fbe328637a681171d7acd}{create\+Or\+Retrieve}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$create\+Params=0)
\begin{DoxyCompactList}\small\item\em Create a new resource, or retrieve an existing one with the same name if it already exists. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_a700088a63eabb0f6cb1fac96686db464}{create\+Resource}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$create\+Params=0)
\begin{DoxyCompactList}\small\item\em Creates a new blank resource, but does not immediately load it. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_a0e25bec00bdbd7618a264b67c204c07b}{create\+Sampler}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name=\mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}})
\begin{DoxyCompactList}\small\item\em create a new sampler \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a7913c36c02ef03007ff1a1c76ddf7710}{destroy\+All\+Resource\+Pools}} ()
\begin{DoxyCompactList}\small\item\em destroy all pools \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a00a7fe59aaaa4acdfda07edc704516ee}{destroy\+Resource\+Pool}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Destroy a resource pool. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_aa8b761abb06d74347e9636550307ccd9}{destroy\+Resource\+Pool}} (\mbox{\hyperlink{class_ogre_1_1_resource_manager_1_1_resource_pool}{Resource\+Pool}} $\ast$pool)
\begin{DoxyCompactList}\small\item\em Destroy a resource pool. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_ab1c354fd2294c7c50b3f3e9ce42543f7}{get\+By\+Handle}} (\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} handle)
\begin{DoxyCompactList}\small\item\em Retrieves a pointer to a resource by handle, or null if the resource does not exist. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_a91734962d27d948eaa9ce6dac0b771a6}{get\+By\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group\+Name=\mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}})
\begin{DoxyCompactList}\small\item\em Retrieves a pointer to a resource by name, or null if the resource does not exist. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_af30b8543978558d0a083778790f1fab2}{get\+Default\+Num\+Mipmaps}} ()
\begin{DoxyCompactList}\small\item\em Gets the default number of mipmaps to be used for loaded textures. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_texture_manager_a711218e2968d7e52b1114cced356c8e8}{get\+Default\+Sampler}} ()
\begin{DoxyCompactList}\small\item\em get the default sampler \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_a3ae7c3ae5494fc088fa8a17e736fef6b}{get\+Loading\+Order}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the relative loading order of resources of this type. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_resource_manager_abd807a5a8f5754af45fc60db40b455d5}{get\+Memory\+Budget}} (void) const
\begin{DoxyCompactList}\small\item\em Get the limit on the amount of memory this resource handler may use. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_resource_manager_ac401b57afcc205728a3821065aef6238}{get\+Memory\+Usage}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the current memory usage, in bytes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} \mbox{\hyperlink{class_ogre_1_1_default_texture_manager_aafd0c45bcb25a3f3e734c250a61a48c3}{get\+Native\+Format}} (\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}, int) override
\begin{DoxyCompactList}\small\item\em Gets the format which will be natively used for a requested format given the constraints of the current device. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_a2a5f6c92d4f91eb1eaa0ccf9b73f8c83}{get\+Preferred\+Float\+Bit\+Depth}} (void) const
\begin{DoxyCompactList}\small\item\em Gets preferred bit depth for float pixel format textures. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_a49a47b8919269342243265df3bd1e1fc}{get\+Preferred\+Integer\+Bit\+Depth}} (void) const
\begin{DoxyCompactList}\small\item\em Gets preferred bit depth for integer pixel format textures. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_a0154dd3f0ed6e8665eecab30d2535101}{get\+Resource\+By\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group\+Name=\mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}})
\begin{DoxyCompactList}\small\item\em Retrieves a pointer to a resource by name, or null if the resource does not exist. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_resource_manager_a4f7da59507a5a8550ea97615ff9afff0}{Resource\+Map\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_a4d3289d4636168230da11c1c9794db59}{get\+Resource\+Iterator}} (void)
\begin{DoxyCompactList}\small\item\em Returns an iterator over all resources in this manager. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_resource_manager_1_1_resource_pool}{Resource\+Pool}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_ad18cc3f0a4b3e0553cfe715204f15359}{get\+Resource\+Pool}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Create a resource pool, or reuse one that already exists. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_resource_manager_abc20acc2d57fd224b218a07d802e8c1a}{get\+Resource\+Type}} (void) const
\begin{DoxyCompactList}\small\item\em Gets a string identifying the type of resource this manager handles. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_texture_manager_aacb0663130a096fcf49e5dbedbcca92c}{get\+Sampler}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em retrieve an named sampler \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector}} \& \mbox{\hyperlink{class_ogre_1_1_resource_manager_a356d42e699011a2d86770c9b3ee55e6d}{get\+Script\+Patterns}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the file patterns which should be used to find scripts for this \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_resource_manager_ae071093e2681923ddf1d661087b44e4d}{get\+Verbose}} (void)
\begin{DoxyCompactList}\small\item\em Gets whether this manager and its resources habitually produce log output. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_texture_manager_abbbab1db9a334e39c2114ee3a21b013f}{is\+Equivalent\+Format\+Supported}} (\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} ttype, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} format, int usage)
\begin{DoxyCompactList}\small\item\em Returns whether this render system can support the texture format requested with the given usage options, or another format with no quality reduction. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_texture_manager_a65730ea50a81401518b4cbf6bb6a0a73}{is\+Format\+Supported}} (\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} ttype, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} format, int usage)
\begin{DoxyCompactList}\small\item\em Returns whether this render system can natively support the precise texture format requested with the given usage options. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_default_texture_manager_a8711f8601862d41b064c628000a91704}{is\+Hardware\+Filtering\+Supported}} (\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}, int, bool) override
\begin{DoxyCompactList}\small\item\em Returns whether this render system has hardware filtering supported for the texture format requested with the given usage options. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_a379c3ff20c97fcd13db3bc7841b4b560}{load}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$load\+Params=0, bool background\+Thread=false)
\begin{DoxyCompactList}\small\item\em Generic load method, used to create a \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} specific to this \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} without using one of the specialised \textquotesingle{}load\textquotesingle{} methods (containing per-\/\+Resource-\/type parameters). \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_a23fa50345ee27fa2911e36edbd5df489}{load}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} tex\+Type=\mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}, int num\+Mipmaps=\mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} gamma=1.\+0f, bool is\+Alpha=false, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} desired\+Format=\mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}, bool hw\+Gamma\+Correction=false)
\begin{DoxyCompactList}\small\item\em Loads a texture from a file. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_aae5cce977c3523af14bb17b3a954effd}{load\+Image}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, const \mbox{\hyperlink{class_ogre_1_1_image}{Image}} \&img, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} tex\+Type=\mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}, int num\+Mipmaps=\mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} gamma=1.\+0f, bool is\+Alpha=false, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} desired\+Format=\mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}, bool hw\+Gamma\+Correction=false)
\begin{DoxyCompactList}\small\item\em Loads a texture from an \mbox{\hyperlink{class_ogre_1_1_image}{Image}} object. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_a3083fb17ce51843aecdc0382d2d717f6}{load\+Raw\+Data}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, \mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&stream, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} width, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} height, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} format, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} tex\+Type=\mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}, int num\+Mipmaps=\mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} gamma=1.\+0f, bool hw\+Gamma\+Correction=false)
\begin{DoxyCompactList}\small\item\em Loads a texture from a raw data stream. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a266d959fecaf0568270acfbf024e0b4b}{parse\+Script}} (\mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&stream, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group\+Name)
\begin{DoxyCompactList}\small\item\em Parse the definition of a set of resources from a script file. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_resource_manager_a4350b30d83790f208a9fdd1197ce9c95}{prepare}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$load\+Params=0, bool background\+Thread=false)
\begin{DoxyCompactList}\small\item\em Generic prepare method, used to create a \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} specific to this \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} without using one of the specialised \textquotesingle{}prepare\textquotesingle{} methods (containing per-\/\+Resource-\/type parameters). \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_texture_manager_aa5effb36ddd157b7b137cccd120ea55a}{prepare}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} tex\+Type=\mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}, int num\+Mipmaps=\mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} gamma=1.\+0f, bool is\+Alpha=false, \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} desired\+Format=\mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}, bool hw\+Gamma\+Correction=false)
\begin{DoxyCompactList}\small\item\em Prepares to loads a texture from a file. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_aa9608544a7beb1b0e43835877ab62788}{reload\+All}} (bool reloadable\+Only=true)
\begin{DoxyCompactList}\small\item\em Caused all currently loaded resources to be reloaded. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a84e25cc5ad09ff7567d1fed7429433a3}{reload\+All}} (\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Resource\+::\+Loading\+Flags}} flags)
\begin{DoxyCompactList}\small\item\em Caused all currently loaded resources to be reloaded. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a4dda8323b265a00638dd29a4fa6510bc}{reload\+Unreferenced\+Resources}} (bool reloadable\+Only=true)
\begin{DoxyCompactList}\small\item\em Caused all currently loaded but not referenced by any other object resources to be reloaded. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a257ae8a9ac7538581173b7ddcf7b3f19}{remove}} (const \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} \&r)
\begin{DoxyCompactList}\small\item\em Remove a single resource. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_aea812804e59454cd29ee531ebab56b1b}{remove}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group=\mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}})
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a6871e913a62e1b419438e3169bc72bd3}{remove}} (\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} handle)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a6ff50fee06a678837cbeeea75e4372a5}{remove\+All}} (void)
\begin{DoxyCompactList}\small\item\em Removes all resources. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a6ce966e769770ce9f90d77eddc2c30a3}{remove\+Unreferenced\+Resources}} (bool reloadable\+Only=true)
\begin{DoxyCompactList}\small\item\em Remove all resources which are not referenced by any other object. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_resource_manager_a3fdbd35468f69e6f6662bae7ec84af21}{resource\+Exists}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group=\mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}})
\begin{DoxyCompactList}\small\item\em Returns whether the named resource exists in this manager. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_resource_manager_a6a58b96feb67c25e123ccc3b287fcd2c}{resource\+Exists}} (\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} handle)
\begin{DoxyCompactList}\small\item\em Returns whether a resource with the given handle exists in this manager. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}{set\+Default\+Num\+Mipmaps}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} num)
\begin{DoxyCompactList}\small\item\em Sets the default number of mipmaps to be used for loaded textures, for when textures are loaded automatically (e.\+g. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a532e96fbeac065b4a7866b4302a90618}{set\+Memory\+Budget}} (size\+\_\+t bytes)
\begin{DoxyCompactList}\small\item\em Set a limit on the amount of memory this resource handler may use. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_texture_manager_af2cae9ecc99635a541df72ae7cdd337a}{set\+Preferred\+Bit\+Depths}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} integer\+Bits, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} float\+Bits, bool reload\+Textures=true)
\begin{DoxyCompactList}\small\item\em Sets preferred bit depth for integer and float pixel format. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_texture_manager_a77d097944def071bd10e1c2a03fc5b2c}{set\+Preferred\+Float\+Bit\+Depth}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} bits, bool reload\+Textures=true)
\begin{DoxyCompactList}\small\item\em Sets preferred bit depth for float pixel format textures. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_texture_manager_aaaa53651124f3773fbcf6ae2b4a6fbe5}{set\+Preferred\+Integer\+Bit\+Depth}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} bits, bool reload\+Textures=true)
\begin{DoxyCompactList}\small\item\em Sets preferred bit depth for integer pixel format textures. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a82b76280229c498b8d66f64b2a848447}{set\+Verbose}} (bool v)
\begin{DoxyCompactList}\small\item\em Sets whether this manager and its resources habitually produce log output. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a62ddf3760bd9871b25ca016732e149d1}{unload}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group=\mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}})
\begin{DoxyCompactList}\small\item\em Unloads a single resource by name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a2514952116c93b5b5eba051492d2caa9}{unload}} (\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} handle)
\begin{DoxyCompactList}\small\item\em Unloads a single resource by handle. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a1fe343406d15d5367cfc4f86ba589b55}{unload\+All}} (bool reloadable\+Only=true)
\begin{DoxyCompactList}\small\item\em Unloads all resources. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_manager_a93b40c858020f2bbbcebcd4dc72a6321}{unload\+All}} (\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Resource\+::\+Loading\+Flags}} flags)
\begin{DoxyCompactList}\small\item\em Unloads all resources. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_resource_manager_aeaa1410333b7bcea14b00c360112a528}{unload\+Unreferenced\+Resources}} (bool reloadable\+Only=true)
\begin{DoxyCompactList}\small\item\em Unload all resources which are not referenced by any other object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}} \& \mbox{\hyperlink{class_ogre_1_1_texture_manager_ac6fb858ee86f3b7b75de32e3e04ee5c8}{get\+Singleton}} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_texture_manager_a3a55789d982b34bdd9daa27650360653}{get\+Singleton\+Ptr}} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_resource_manager_abbb523a827bc6ea90d3b5ec80f0cf770}{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Specialisation of \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}} for offline processing. Cannot be used with an active \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}}. 

\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}\label{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!ResourceCreateOrRetrieveResult@{ResourceCreateOrRetrieveResult}}
\index{ResourceCreateOrRetrieveResult@{ResourceCreateOrRetrieveResult}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{ResourceCreateOrRetrieveResult}{ResourceCreateOrRetrieveResult}}
{\footnotesize\ttfamily typedef std\+::pair$<$\mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}}, bool$>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}{Ogre\+::\+Resource\+Manager\+::\+Resource\+Create\+Or\+Retrieve\+Result}}\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a849d25862f43feec07252f0ae139c3e4}\label{class_ogre_1_1_resource_manager_a849d25862f43feec07252f0ae139c3e4}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!ResourceMap@{ResourceMap}}
\index{ResourceMap@{ResourceMap}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{ResourceMap}{ResourceMap}}
{\footnotesize\ttfamily typedef std\+::unordered\+\_\+map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} $>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a849d25862f43feec07252f0ae139c3e4}{Ogre\+::\+Resource\+Manager\+::\+Resource\+Map}}\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a31a40854bf7ade620d6632550f2c474b}\label{class_ogre_1_1_resource_manager_a31a40854bf7ade620d6632550f2c474b}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!ResourceWithGroupMap@{ResourceWithGroupMap}}
\index{ResourceWithGroupMap@{ResourceWithGroupMap}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{ResourceWithGroupMap}{ResourceWithGroupMap}}
{\footnotesize\ttfamily typedef std\+::unordered\+\_\+map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_resource_manager_a849d25862f43feec07252f0ae139c3e4}{Resource\+Map}} $>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a31a40854bf7ade620d6632550f2c474b}{Ogre\+::\+Resource\+Manager\+::\+Resource\+With\+Group\+Map}}\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a6d9424ed93bc679b5543ddc9fc9fe41b}\label{class_ogre_1_1_resource_manager_a6d9424ed93bc679b5543ddc9fc9fe41b}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!ResourceHandleMap@{ResourceHandleMap}}
\index{ResourceHandleMap@{ResourceHandleMap}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{ResourceHandleMap}{ResourceHandleMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}, \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}}$>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a6d9424ed93bc679b5543ddc9fc9fe41b}{Ogre\+::\+Resource\+Manager\+::\+Resource\+Handle\+Map}}\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a4f7da59507a5a8550ea97615ff9afff0}\label{class_ogre_1_1_resource_manager_a4f7da59507a5a8550ea97615ff9afff0}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!ResourceMapIterator@{ResourceMapIterator}}
\index{ResourceMapIterator@{ResourceMapIterator}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{ResourceMapIterator}{ResourceMapIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_resource_manager_a6d9424ed93bc679b5543ddc9fc9fe41b}{Resource\+Handle\+Map}}$>$ \mbox{\hyperlink{class_ogre_1_1_resource_manager_a4f7da59507a5a8550ea97615ff9afff0}{Ogre\+::\+Resource\+Manager\+::\+Resource\+Map\+Iterator}}\hspace{0.3cm}{\ttfamily [inherited]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_default_texture_manager_a8711f8601862d41b064c628000a91704}\label{class_ogre_1_1_default_texture_manager_a8711f8601862d41b064c628000a91704}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!isHardwareFilteringSupported@{isHardwareFilteringSupported}}
\index{isHardwareFilteringSupported@{isHardwareFilteringSupported}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{isHardwareFilteringSupported()}{isHardwareFilteringSupported()}}
{\footnotesize\ttfamily bool Ogre\+::\+Default\+Texture\+Manager\+::is\+Hardware\+Filtering\+Supported (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{ttype,  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format,  }\item[{int}]{usage,  }\item[{bool}]{precise\+Format\+Only }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Returns whether this render system has hardware filtering supported for the texture format requested with the given usage options. 

\begin{DoxyRemark}{Remarks}
Not all texture format are supports filtering by the hardware, i.\+e. some cards support floating point format, but it doesn\textquotesingle{}t supports filtering on the floating point texture at all, or only a subset floating point formats have flitering supported. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
In the case you want to write shader to work with floating point texture, and you want to produce better visual quality, it\textquotesingle{}s necessary to flitering the texture manually in shader (potential requires four or more texture fetch instructions, plus several arithmetic instructions) if filtering doesn\textquotesingle{}t supported by hardware. But in case on the hardware that supports floating point filtering natively, it had better to adopt this capability for performance (because only one texture fetch instruction are required) and doesn\textquotesingle{}t loss visual quality. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
This method allow you queries hardware texture filtering capability to deciding which verion of the shader to be used. Note it\textquotesingle{}s up to you to write multi-\/version shaders for support various hardware, internal engine can\textquotesingle{}t do that for you automatically. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
Under GL, texture filtering are always supported by driver, but if it\textquotesingle{}s not supported by hardware natively, software simulation will be used, and you will end up with very slow speed (less than 0.\+1 fps for example). To slove this performance problem, you must disable filtering manually (by use {\bfseries{filtering none}} in the material script\textquotesingle{}s texture\+\_\+unit section, or call \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}{Texture\+Unit\+State\+::set\+Texture\+Filtering}} with T\+F\+O\+\_\+\+N\+O\+NE if populate material in code). 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em ttype} & The texture type requested \\
\hline
{\em format} & The pixel format requested \\
\hline
{\em usage} & The kind of usage this texture is intended for, a combination of the Texture\+Usage flags. \\
\hline
{\em precise\+Format\+Only} & Whether precise or fallback format mode is used to detecting. In case the pixel format doesn\textquotesingle{}t supported by device, false will be returned if in precise mode, and natively used pixel format will be actually use to check if in fallback mode. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if the texture filtering is supported. 
\end{DoxyReturn}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_texture_manager_ab367588b474e649b199e9b9fb6742536}{Ogre\+::\+Texture\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_default_texture_manager_aafd0c45bcb25a3f3e734c250a61a48c3}\label{class_ogre_1_1_default_texture_manager_aafd0c45bcb25a3f3e734c250a61a48c3}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getNativeFormat@{getNativeFormat}}
\index{getNativeFormat@{getNativeFormat}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getNativeFormat()}{getNativeFormat()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} Ogre\+::\+Default\+Texture\+Manager\+::get\+Native\+Format (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{ttype,  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format,  }\item[{int}]{usage }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Gets the format which will be natively used for a requested format given the constraints of the current device. 



Implements \mbox{\hyperlink{class_ogre_1_1_texture_manager_abdb6dabaecc1bcf27ce9906f85b64235}{Ogre\+::\+Texture\+Manager}}.



References Ogre\+::\+P\+F\+\_\+\+U\+N\+K\+N\+O\+WN.

\mbox{\Hypertarget{class_ogre_1_1_default_texture_manager_a8f7271d99778c8a937d7fa10348dcc5a}\label{class_ogre_1_1_default_texture_manager_a8f7271d99778c8a937d7fa10348dcc5a}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createImpl@{createImpl}}
\index{createImpl@{createImpl}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createImpl()}{createImpl()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}}$\ast$ Ogre\+::\+Default\+Texture\+Manager\+::create\+Impl (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}}]{handle,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual,  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader,  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{create\+Params }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Create a new resource instance compatible with this manager (no custom parameters are populated at this point). 

\begin{DoxyRemark}{Remarks}
Subclasses must override this method and create a subclass of \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}}. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The unique name of the resource \\
\hline
{\em group} & The name of the resource group to attach this new resource to \\
\hline
{\em is\+Manual} & Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. \\
\hline
{\em loader} & Pointer to a Manual\+Loader implementation which will be called when the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} wishes to load (should be supplied if you set is\+Manual to true). You can in fact leave this parameter null if you wish, but the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} will never be able to reload if anything ever causes it to unload. Therefore provision of a proper Manual\+Loader instance is strongly recommended. \\
\hline
{\em create\+Params} & If any parameters are required to create an instance, they should be supplied here as name / value pairs. These do not need to be set on the instance (handled elsewhere), just used if required to differentiate which concrete class is created. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Ogre\+::\+Resource\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a0e25bec00bdbd7618a264b67c204c07b}\label{class_ogre_1_1_texture_manager_a0e25bec00bdbd7618a264b67c204c07b}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createSampler@{createSampler}}
\index{createSampler@{createSampler}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createSampler()}{createSampler()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} Ogre\+::\+Texture\+Manager\+::create\+Sampler (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name = {\ttfamily \mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



create a new sampler 



References Ogre\+Assert.

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_aacb0663130a096fcf49e5dbedbcca92c}\label{class_ogre_1_1_texture_manager_aacb0663130a096fcf49e5dbedbcca92c}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getSampler@{getSampler}}
\index{getSampler@{getSampler}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getSampler()}{getSampler()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}}\& Ogre\+::\+Texture\+Manager\+::get\+Sampler (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



retrieve an named sampler 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_ae63b06c1fd6d1266b4c5dacc35e521b4}\label{class_ogre_1_1_texture_manager_ae63b06c1fd6d1266b4c5dacc35e521b4}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!create@{create}}
\index{create@{create}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::create (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{create\+Params = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Create a new texture. 


\begin{DoxyParams}{Parameters}
{\em name} & The unique name of the Resource \\
\hline
{\em group} & The name of the resource group to attach this new resource to \\
\hline
{\em is\+Manual} & Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. \\
\hline
{\em loader} & Pointer to a Manual\+Loader implementation which will be called when the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} wishes to load (should be supplied if you set is\+Manual to true). You can in fact leave this parameter null if you wish, but the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} will never be able to reload if anything ever causes it to unload. Therefore provision of a proper Manual\+Loader instance is strongly recommended. \\
\hline
{\em create\+Params} & If any parameters are required to create an instance, they should be supplied here as name / value pairs \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a91734962d27d948eaa9ce6dac0b771a6}\label{class_ogre_1_1_texture_manager_a91734962d27d948eaa9ce6dac0b771a6}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getByName@{getByName}}
\index{getByName@{getByName}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getByName()}{getByName()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::get\+By\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group\+Name = {\ttfamily \mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Retrieves a pointer to a resource by name, or null if the resource does not exist. 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a406e3deba98785c0183d9e87271078d2}\label{class_ogre_1_1_texture_manager_a406e3deba98785c0183d9e87271078d2}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createOrRetrieve@{createOrRetrieve}}
\index{createOrRetrieve@{createOrRetrieve}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createOrRetrieve()}{createOrRetrieve()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Manager\+::create\+Or\+Retrieve (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual,  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader,  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{create\+Params,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{tex\+Type,  }\item[{int}]{num\+Mipmaps = {\ttfamily \mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{gamma = {\ttfamily 1.0f},  }\item[{bool}]{is\+Alpha = {\ttfamily false},  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{desired\+Format = {\ttfamily \mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}},  }\item[{bool}]{hw\+Gamma\+Correction = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}

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


\begin{DoxyParams}{Parameters}
{\em name} & The unique name of the Resource \\
\hline
{\em group} & The name of the resource group to attach this new resource to \\
\hline
{\em is\+Manual} & Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. \\
\hline
{\em loader} & Pointer to a Manual\+Loader implementation which will be called when the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} wishes to load (should be supplied if you set is\+Manual to true). You can in fact leave this parameter null if you wish, but the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} will never be able to reload if anything ever causes it to unload. Therefore provision of a proper Manual\+Loader instance is strongly recommended. \\
\hline
{\em create\+Params} & If any parameters are required to create an instance, they should be supplied here as name / value pairs\\
\hline
{\em tex\+Type} & The type of texture to load/create, defaults to normal 2D textures \\
\hline
{\em num\+Mipmaps} & The number of pre-\/filtered mipmaps to generate. If left to M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT then the \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}\textquotesingle{}s default number of mipmaps will be used (see \mbox{\hyperlink{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}{set\+Default\+Num\+Mipmaps()}}) If set to M\+I\+P\+\_\+\+U\+N\+L\+I\+M\+I\+T\+ED mipmaps will be generated until the lowest possible level, 1x1x1. \\
\hline
{\em gamma} & The gamma adjustment factor to apply to this texture (brightening/darkening) \\
\hline
{\em is\+Alpha} & Only applicable to greyscale images. If true, specifies that the image should be loaded into an alpha texture rather than a single channel colour texture -\/ useful for fixed-\/function systems. \\
\hline
{\em desired\+Format} & The format you would like to have used instead of the format being based on the contents of the texture \\
\hline
{\em hw\+Gamma\+Correction} & \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} \textquotesingle{}true\textquotesingle{} to enable hardware gamma correction (s\+R\+GB) on this texture. The hardware will convert from gamma space to linear space when reading from this texture. Only applicable for 8-\/bits per channel textures, will be ignored for other types. Has the advantage over pre-\/applied gamma that the texture precision is maintained. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_ac3f365e1d71fbe328637a681171d7acd}\label{class_ogre_1_1_texture_manager_ac3f365e1d71fbe328637a681171d7acd}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createOrRetrieve@{createOrRetrieve}}
\index{createOrRetrieve@{createOrRetrieve}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createOrRetrieve()}{createOrRetrieve()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}{Resource\+Create\+Or\+Retrieve\+Result}} Ogre\+::\+Resource\+Manager\+::create\+Or\+Retrieve\hspace{0.3cm}{\ttfamily [inherited]}}



Create a new resource, or retrieve an existing one with the same name if it already exists. 

\begin{DoxyRemark}{Remarks}
This method performs the same task as calling \mbox{\hyperlink{class_ogre_1_1_texture_manager_a91734962d27d948eaa9ce6dac0b771a6}{get\+By\+Name()}} followed by \mbox{\hyperlink{class_ogre_1_1_texture_manager_ae63b06c1fd6d1266b4c5dacc35e521b4}{create()}} if that returns null. The advantage is that it does it in one call so there are no race conditions if using multiple threads that could cause \mbox{\hyperlink{class_ogre_1_1_texture_manager_a91734962d27d948eaa9ce6dac0b771a6}{get\+By\+Name()}} to return null, but \mbox{\hyperlink{class_ogre_1_1_texture_manager_ae63b06c1fd6d1266b4c5dacc35e521b4}{create()}} to fail because another thread created a resource in between. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The unique name of the Resource \\
\hline
{\em group} & The name of the resource group to attach this new resource to \\
\hline
{\em is\+Manual} & Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. \\
\hline
{\em loader} & Pointer to a Manual\+Loader implementation which will be called when the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} wishes to load (should be supplied if you set is\+Manual to true). You can in fact leave this parameter null if you wish, but the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} will never be able to reload if anything ever causes it to unload. Therefore provision of a proper Manual\+Loader instance is strongly recommended. \\
\hline
{\em create\+Params} & If any parameters are required to create an instance, they should be supplied here as name / value pairs \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A pair, the first element being the pointer, and the second being an indicator specifying whether the resource was newly created. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_ac3f365e1d71fbe328637a681171d7acd}\label{class_ogre_1_1_resource_manager_ac3f365e1d71fbe328637a681171d7acd}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createOrRetrieve@{createOrRetrieve}}
\index{createOrRetrieve@{createOrRetrieve}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createOrRetrieve()}{createOrRetrieve()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_resource_manager_af484f2b60c8d9bc87f37fa8af8e630c5}{Resource\+Create\+Or\+Retrieve\+Result}} Ogre\+::\+Resource\+Manager\+::create\+Or\+Retrieve (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{create\+Params = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Create a new resource, or retrieve an existing one with the same name if it already exists. 

\begin{DoxyRemark}{Remarks}
This method performs the same task as calling \mbox{\hyperlink{class_ogre_1_1_texture_manager_a91734962d27d948eaa9ce6dac0b771a6}{get\+By\+Name()}} followed by \mbox{\hyperlink{class_ogre_1_1_texture_manager_ae63b06c1fd6d1266b4c5dacc35e521b4}{create()}} if that returns null. The advantage is that it does it in one call so there are no race conditions if using multiple threads that could cause \mbox{\hyperlink{class_ogre_1_1_texture_manager_a91734962d27d948eaa9ce6dac0b771a6}{get\+By\+Name()}} to return null, but \mbox{\hyperlink{class_ogre_1_1_texture_manager_ae63b06c1fd6d1266b4c5dacc35e521b4}{create()}} to fail because another thread created a resource in between. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The unique name of the Resource \\
\hline
{\em group} & The name of the resource group to attach this new resource to \\
\hline
{\em is\+Manual} & Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. \\
\hline
{\em loader} & Pointer to a Manual\+Loader implementation which will be called when the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} wishes to load (should be supplied if you set is\+Manual to true). You can in fact leave this parameter null if you wish, but the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} will never be able to reload if anything ever causes it to unload. Therefore provision of a proper Manual\+Loader instance is strongly recommended. \\
\hline
{\em create\+Params} & If any parameters are required to create an instance, they should be supplied here as name / value pairs \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A pair, the first element being the pointer, and the second being an indicator specifying whether the resource was newly created. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_aa5effb36ddd157b7b137cccd120ea55a}\label{class_ogre_1_1_texture_manager_aa5effb36ddd157b7b137cccd120ea55a}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!prepare@{prepare}}
\index{prepare@{prepare}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{prepare()}{prepare()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::prepare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{tex\+Type = {\ttfamily \mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}},  }\item[{int}]{num\+Mipmaps = {\ttfamily \mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{gamma = {\ttfamily 1.0f},  }\item[{bool}]{is\+Alpha = {\ttfamily false},  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{desired\+Format = {\ttfamily \mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}},  }\item[{bool}]{hw\+Gamma\+Correction = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Prepares to loads a texture from a file. 


\begin{DoxyParams}{Parameters}
{\em name} & The file to load, or a String identifier in some cases \\
\hline
{\em group} & The name of the resource group to assign the texture to \\
\hline
{\em tex\+Type} & The type of texture to load/create, defaults to normal 2D textures \\
\hline
{\em num\+Mipmaps} & The number of pre-\/filtered mipmaps to generate. If left to M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT then the \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}\textquotesingle{}s default number of mipmaps will be used (see \mbox{\hyperlink{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}{set\+Default\+Num\+Mipmaps()}}) If set to M\+I\+P\+\_\+\+U\+N\+L\+I\+M\+I\+T\+ED mipmaps will be generated until the lowest possible level, 1x1x1. \\
\hline
{\em gamma} & The gamma adjustment factor to apply to this texture (brightening/darkening) \\
\hline
{\em is\+Alpha} & Only applicable to greyscale images. If true, specifies that the image should be loaded into an alpha texture rather than a single channel colour texture -\/ useful for fixed-\/function systems. \\
\hline
{\em desired\+Format} & The format you would like to have used instead of the format being based on the contents of the texture; the manager reserves the right to create a different format for the texture if the original format is not available in this context. \\
\hline
{\em hw\+Gamma\+Correction} & pass \textquotesingle{}true\textquotesingle{} to enable hardware gamma correction (s\+R\+GB) on this texture. The hardware will convert from gamma space to linear space when reading from this texture. Only applicable for 8-\/bits per channel textures, will be ignored for other types. Has the advantage over pre-\/applied gamma that the texture precision is maintained. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a4350b30d83790f208a9fdd1197ce9c95}\label{class_ogre_1_1_resource_manager_a4350b30d83790f208a9fdd1197ce9c95}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!prepare@{prepare}}
\index{prepare@{prepare}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{prepare()}{prepare()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} Ogre\+::\+Resource\+Manager\+::prepare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{load\+Params = {\ttfamily 0},  }\item[{bool}]{background\+Thread = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Generic prepare method, used to create a \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} specific to this \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} without using one of the specialised \textquotesingle{}prepare\textquotesingle{} methods (containing per-\/\+Resource-\/type parameters). 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the Resource \\
\hline
{\em group} & The resource group to which this resource will belong \\
\hline
{\em is\+Manual} & Is the resource to be manually loaded? If so, you should provide a value for the loader parameter \\
\hline
{\em loader} & The manual loader which is to perform the required actions when this resource is loaded; only applicable when you specify true for the previous parameter \\
\hline
{\em load\+Params} & Optional pointer to a list of name/value pairs containing loading parameters for this type of resource. \\
\hline
{\em background\+Thread} & Optional boolean which lets the load routine know if it is being run on the background resource loading thread \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a23fa50345ee27fa2911e36edbd5df489}\label{class_ogre_1_1_texture_manager_a23fa50345ee27fa2911e36edbd5df489}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!load@{load}}
\index{load@{load}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{load()}{load()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::load (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{tex\+Type = {\ttfamily \mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}},  }\item[{int}]{num\+Mipmaps = {\ttfamily \mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{gamma = {\ttfamily 1.0f},  }\item[{bool}]{is\+Alpha = {\ttfamily false},  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{desired\+Format = {\ttfamily \mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}},  }\item[{bool}]{hw\+Gamma\+Correction = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Loads a texture from a file. 


\begin{DoxyParams}{Parameters}
{\em name} & The file to load, or a String identifier in some cases \\
\hline
{\em group} & The name of the resource group to assign the texture to \\
\hline
{\em tex\+Type} & The type of texture to load/create, defaults to normal 2D textures \\
\hline
{\em num\+Mipmaps} & The number of pre-\/filtered mipmaps to generate. If left to M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT then the \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}\textquotesingle{}s default number of mipmaps will be used (see \mbox{\hyperlink{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}{set\+Default\+Num\+Mipmaps()}}) If set to M\+I\+P\+\_\+\+U\+N\+L\+I\+M\+I\+T\+ED mipmaps will be generated until the lowest possible level, 1x1x1. \\
\hline
{\em gamma} & The gamma adjustment factor to apply to this texture (brightening/darkening) \\
\hline
{\em is\+Alpha} & Only applicable to greyscale images. If true, specifies that the image should be loaded into an alpha texture rather than a single channel colour texture -\/ useful for fixed-\/function systems. \\
\hline
{\em desired\+Format} & The format you would like to have used instead of the format being based on the contents of the texture; the manager reserves the right to create a different format for the texture if the original format is not available in this context. \\
\hline
{\em hw\+Gamma\+Correction} & pass \textquotesingle{}true\textquotesingle{} to enable hardware gamma correction (s\+R\+GB) on this texture. The hardware will convert from gamma space to linear space when reading from this texture. Only applicable for 8-\/bits per channel textures, will be ignored for other types. Has the advantage over pre-\/applied gamma that the texture precision is maintained. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a379c3ff20c97fcd13db3bc7841b4b560}\label{class_ogre_1_1_resource_manager_a379c3ff20c97fcd13db3bc7841b4b560}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!load@{load}}
\index{load@{load}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{load()}{load()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} Ogre\+::\+Resource\+Manager\+::load (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{load\+Params = {\ttfamily 0},  }\item[{bool}]{background\+Thread = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Generic load method, used to create a \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} specific to this \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} without using one of the specialised \textquotesingle{}load\textquotesingle{} methods (containing per-\/\+Resource-\/type parameters). 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the Resource \\
\hline
{\em group} & The resource group to which this resource will belong \\
\hline
{\em is\+Manual} & Is the resource to be manually loaded? If so, you should provide a value for the loader parameter \\
\hline
{\em loader} & The manual loader which is to perform the required actions when this resource is loaded; only applicable when you specify true for the previous parameter \\
\hline
{\em load\+Params} & Optional pointer to a list of name/value pairs containing loading parameters for this type of resource. \\
\hline
{\em background\+Thread} & Optional boolean which lets the load routine know if it is being run on the background resource loading thread \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_aae5cce977c3523af14bb17b3a954effd}\label{class_ogre_1_1_texture_manager_aae5cce977c3523af14bb17b3a954effd}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!loadImage@{loadImage}}
\index{loadImage@{loadImage}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{loadImage()}{loadImage()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::load\+Image (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_image}{Image}} \&}]{img,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{tex\+Type = {\ttfamily \mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}},  }\item[{int}]{num\+Mipmaps = {\ttfamily \mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{gamma = {\ttfamily 1.0f},  }\item[{bool}]{is\+Alpha = {\ttfamily false},  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{desired\+Format = {\ttfamily \mbox{\hyperlink{group___image_gga7e0353e7d36d4c2e8468641b7303d39caa4292ed700edc51d74776f6efaf2a099}{P\+F\+\_\+\+U\+N\+K\+N\+O\+WN}}},  }\item[{bool}]{hw\+Gamma\+Correction = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Loads a texture from an \mbox{\hyperlink{class_ogre_1_1_image}{Image}} object. 

\begin{DoxyNote}{Note}
The texture will create as manual texture without loader. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em name} & The file to load, or a String identifier in some cases \\
\hline
{\em group} & The name of the resource group to assign the texture to \\
\hline
{\em tex\+Type} & The type of texture to load/create, defaults to normal 2D textures \\
\hline
{\em num\+Mipmaps} & The number of pre-\/filtered mipmaps to generate. If left to M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT then the \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}\textquotesingle{}s default number of mipmaps will be used (see \mbox{\hyperlink{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}{set\+Default\+Num\+Mipmaps()}}) If set to M\+I\+P\+\_\+\+U\+N\+L\+I\+M\+I\+T\+ED mipmaps will be generated until the lowest possible level, 1x1x1. \\
\hline
{\em gamma} & The gamma adjustment factor to apply to this texture (brightening/darkening) \\
\hline
{\em is\+Alpha} & Only applicable to greyscale images. If true, specifies that the image should be loaded into an alpha texture rather than a single channel colour texture -\/ useful for fixed-\/function systems. \\
\hline
{\em desired\+Format} & The format you would like to have used instead of the format being based on the contents of the texture; the manager reserves the right to create a different format for the texture if the original format is not available in this context. \\
\hline
{\em hw\+Gamma\+Correction} & pass \textquotesingle{}true\textquotesingle{} to enable hardware gamma correction (s\+R\+GB) on this texture. The hardware will convert from gamma space to linear space when reading from this texture. Only applicable for 8-\/bits per channel textures, will be ignored for other types. Has the advantage over pre-\/applied gamma that the texture precision is maintained. \\
\hline
{\em img} & The \mbox{\hyperlink{class_ogre_1_1_image}{Image}} object which contains the data to load \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a3083fb17ce51843aecdc0382d2d717f6}\label{class_ogre_1_1_texture_manager_a3083fb17ce51843aecdc0382d2d717f6}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!loadRawData@{loadRawData}}
\index{loadRawData@{loadRawData}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{loadRawData()}{loadRawData()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::load\+Raw\+Data (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{\mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&}]{stream,  }\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{width,  }\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{height,  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{tex\+Type = {\ttfamily \mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}},  }\item[{int}]{num\+Mipmaps = {\ttfamily \mbox{\hyperlink{group___resources_gga528ce4f4c67c9b043e1f0b8bb3cdf255a56eea45719de5246f4ea9b8e8b54921d}{M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{gamma = {\ttfamily 1.0f},  }\item[{bool}]{hw\+Gamma\+Correction = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Loads a texture from a raw data stream. 

\begin{DoxyNote}{Note}
The texture will create as manual texture without loader. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em name} & The name to give the resulting texture \\
\hline
{\em group} & The name of the resource group to assign the texture to \\
\hline
{\em stream} & Incoming data stream \\
\hline
{\em width} & The width of the texture \\
\hline
{\em height} & The height of the texture \\
\hline
{\em format} & The format of the data being passed in; the manager reserves the right to create a different format for the texture if the original format is not available in this context. \\
\hline
{\em tex\+Type} & The type of texture to load/create, defaults to normal 2D textures \\
\hline
{\em num\+Mipmaps} & The number of pre-\/filtered mipmaps to generate. If left to M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT then the \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}\textquotesingle{}s default number of mipmaps will be used (see \mbox{\hyperlink{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}{set\+Default\+Num\+Mipmaps()}}) If set to M\+I\+P\+\_\+\+U\+N\+L\+I\+M\+I\+T\+ED mipmaps will be generated until the lowest possible level, 1x1x1. \\
\hline
{\em gamma} & The gamma adjustment factor to apply to this texture (brightening/darkening) while loading \\
\hline
{\em hw\+Gamma\+Correction} & \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} \textquotesingle{}true\textquotesingle{} to enable hardware gamma correction (s\+R\+GB) on this texture. The hardware will convert from gamma space to linear space when reading from this texture. Only applicable for 8-\/bits per channel textures, will be ignored for other types. Has the advantage over pre-\/applied gamma that the texture precision is maintained. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_aafa494d2704fdff05708db9db4bac3a0}\label{class_ogre_1_1_texture_manager_aafa494d2704fdff05708db9db4bac3a0}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createManual@{createManual}}
\index{createManual@{createManual}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createManual()}{createManual()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::create\+Manual (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{tex\+Type,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{width,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{height,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{depth,  }\item[{int}]{num\+Mipmaps,  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format,  }\item[{int}]{usage = {\ttfamily \mbox{\hyperlink{group___resources_ggaf140ec886884a864abc74a7556f8bf67acaa45fe77d1becf4c5bd353bc2aa764b}{T\+U\+\_\+\+D\+E\+F\+A\+U\+LT}}},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0},  }\item[{bool}]{hw\+Gamma\+Correction = {\ttfamily false},  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{fsaa = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{fsaa\+Hint = {\ttfamily \mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Create a manual texture with specified width, height and depth (not loaded from a file). 


\begin{DoxyParams}{Parameters}
{\em name} & The name to give the resulting texture \\
\hline
{\em group} & The name of the resource group to assign the texture to \\
\hline
{\em tex\+Type} & The type of texture to load/create, defaults to normal 2D textures \\
\hline
{\em width} & The width of the texture \\
\hline
{\em height} & The height of the texture \\
\hline
{\em depth} & The depth of the texture \\
\hline
{\em num\+Mipmaps} & The number of pre-\/filtered mipmaps to generate. If left to M\+I\+P\+\_\+\+D\+E\+F\+A\+U\+LT then the \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}\textquotesingle{}s default number of mipmaps will be used (see \mbox{\hyperlink{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}{set\+Default\+Num\+Mipmaps()}}) If set to M\+I\+P\+\_\+\+U\+N\+L\+I\+M\+I\+T\+ED mipmaps will be generated until the lowest possible level, 1x1x1. \\
\hline
{\em format} & The internal format you wish to request; the manager reserves the right to create a different format if the one you select is not available in this context. \\
\hline
{\em usage} & The kind of usage this texture is intended for. It 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
{\em loader} & If you intend the contents of the manual texture to be regularly updated, to the extent that you don\textquotesingle{}t need to recover the contents if the texture content is lost somehow, you can leave this parameter as 0. However, if you intend to populate the texture only once, then you should implement \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} and pass a pointer to it in this parameter; this means that if the manual texture ever needs to be reloaded, the \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} will be called to do it. \\
\hline
{\em hw\+Gamma\+Correction} & pass \textquotesingle{}true\textquotesingle{} to enable hardware gamma correction (s\+R\+GB) on this texture. The hardware will convert from gamma space to linear space when reading from this texture. Only applicable for 8-\/bits per channel textures, will be ignored for other types. Has the advantage over pre-\/applied gamma that the texture precision is maintained. \\
\hline
{\em fsaa} & The level of multisampling to use if this is a render target. Ignored if usage does not include T\+U\+\_\+\+R\+E\+N\+D\+E\+R\+T\+A\+R\+G\+ET or if the device does not support it. \\
\hline
{\em fsaa\+Hint} & specify \char`\"{}\+Quality\char`\"{} to enable C\+S\+AA on D3D \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_aac423b67b8c1aa00cd6a3f91e73bfcec}\label{class_ogre_1_1_texture_manager_aac423b67b8c1aa00cd6a3f91e73bfcec}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createManual@{createManual}}
\index{createManual@{createManual}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createManual()}{createManual()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} Ogre\+::\+Texture\+Manager\+::create\+Manual (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{tex\+Type,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{width,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{height,  }\item[{int}]{num\+Mipmaps,  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format,  }\item[{int}]{usage = {\ttfamily \mbox{\hyperlink{group___resources_ggaf140ec886884a864abc74a7556f8bf67acaa45fe77d1becf4c5bd353bc2aa764b}{T\+U\+\_\+\+D\+E\+F\+A\+U\+LT}}},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0},  }\item[{bool}]{hw\+Gamma\+Correction = {\ttfamily false},  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{fsaa = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{fsaa\+Hint = {\ttfamily \mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



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

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_aaaa53651124f3773fbcf6ae2b4a6fbe5}\label{class_ogre_1_1_texture_manager_aaaa53651124f3773fbcf6ae2b4a6fbe5}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!setPreferredIntegerBitDepth@{setPreferredIntegerBitDepth}}
\index{setPreferredIntegerBitDepth@{setPreferredIntegerBitDepth}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{setPreferredIntegerBitDepth()}{setPreferredIntegerBitDepth()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Texture\+Manager\+::set\+Preferred\+Integer\+Bit\+Depth (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{bits,  }\item[{bool}]{reload\+Textures = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Sets preferred bit depth for integer pixel format textures. 


\begin{DoxyParams}{Parameters}
{\em bits} & Number of bits. 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. \\
\hline
{\em reload\+Textures} & If true (the default), will reloading all reloadable textures. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a49a47b8919269342243265df3bd1e1fc}\label{class_ogre_1_1_texture_manager_a49a47b8919269342243265df3bd1e1fc}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getPreferredIntegerBitDepth@{getPreferredIntegerBitDepth}}
\index{getPreferredIntegerBitDepth@{getPreferredIntegerBitDepth}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getPreferredIntegerBitDepth()}{getPreferredIntegerBitDepth()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+Texture\+Manager\+::get\+Preferred\+Integer\+Bit\+Depth (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets preferred bit depth for integer pixel format textures. 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a77d097944def071bd10e1c2a03fc5b2c}\label{class_ogre_1_1_texture_manager_a77d097944def071bd10e1c2a03fc5b2c}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!setPreferredFloatBitDepth@{setPreferredFloatBitDepth}}
\index{setPreferredFloatBitDepth@{setPreferredFloatBitDepth}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{setPreferredFloatBitDepth()}{setPreferredFloatBitDepth()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Texture\+Manager\+::set\+Preferred\+Float\+Bit\+Depth (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{bits,  }\item[{bool}]{reload\+Textures = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Sets preferred bit depth for float pixel format textures. 


\begin{DoxyParams}{Parameters}
{\em bits} & Number of bits. 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. \\
\hline
{\em reload\+Textures} & If true (the default), will reloading all reloadable textures. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a2a5f6c92d4f91eb1eaa0ccf9b73f8c83}\label{class_ogre_1_1_texture_manager_a2a5f6c92d4f91eb1eaa0ccf9b73f8c83}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getPreferredFloatBitDepth@{getPreferredFloatBitDepth}}
\index{getPreferredFloatBitDepth@{getPreferredFloatBitDepth}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getPreferredFloatBitDepth()}{getPreferredFloatBitDepth()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+Texture\+Manager\+::get\+Preferred\+Float\+Bit\+Depth (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets preferred bit depth for float pixel format textures. 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_af2cae9ecc99635a541df72ae7cdd337a}\label{class_ogre_1_1_texture_manager_af2cae9ecc99635a541df72ae7cdd337a}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!setPreferredBitDepths@{setPreferredBitDepths}}
\index{setPreferredBitDepths@{setPreferredBitDepths}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{setPreferredBitDepths()}{setPreferredBitDepths()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Texture\+Manager\+::set\+Preferred\+Bit\+Depths (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{integer\+Bits,  }\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{float\+Bits,  }\item[{bool}]{reload\+Textures = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Sets preferred bit depth for integer and float pixel format. 


\begin{DoxyParams}{Parameters}
{\em integer\+Bits} & Number of bits. 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. \\
\hline
{\em float\+Bits} & Number of bits. 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. \\
\hline
{\em reload\+Textures} & If true (the default), will reloading all reloadable textures. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a65730ea50a81401518b4cbf6bb6a0a73}\label{class_ogre_1_1_texture_manager_a65730ea50a81401518b4cbf6bb6a0a73}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!isFormatSupported@{isFormatSupported}}
\index{isFormatSupported@{isFormatSupported}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{isFormatSupported()}{isFormatSupported()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Texture\+Manager\+::is\+Format\+Supported (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{ttype,  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format,  }\item[{int}]{usage }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns whether this render system can natively support the precise texture format requested with the given usage options. 

\begin{DoxyRemark}{Remarks}
You can still create textures with this format even if this method returns false; the texture format will just be altered to one which the device does support. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Sometimes the device may just slightly change the format, such as reordering the channels or packing the channels differently, without it making and qualitative differences to the texture. If you want to just detect whether the quality of a given texture will be reduced, use is\+Equivalent\+Format\+Support instead. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em ttype} & The type of texture \\
\hline
{\em format} & The pixel format requested \\
\hline
{\em usage} & The kind of usage this texture is intended for, a combination of the Texture\+Usage flags. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if the format is natively supported, false if a fallback would be used. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_abbbab1db9a334e39c2114ee3a21b013f}\label{class_ogre_1_1_texture_manager_abbbab1db9a334e39c2114ee3a21b013f}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!isEquivalentFormatSupported@{isEquivalentFormatSupported}}
\index{isEquivalentFormatSupported@{isEquivalentFormatSupported}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{isEquivalentFormatSupported()}{isEquivalentFormatSupported()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Texture\+Manager\+::is\+Equivalent\+Format\+Supported (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{ttype,  }\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format,  }\item[{int}]{usage }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns whether this render system can support the texture format requested with the given usage options, or another format with no quality reduction. 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}\label{class_ogre_1_1_texture_manager_aec8fc8fae795d7410867f72f00813c79}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!setDefaultNumMipmaps@{setDefaultNumMipmaps}}
\index{setDefaultNumMipmaps@{setDefaultNumMipmaps}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{setDefaultNumMipmaps()}{setDefaultNumMipmaps()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Texture\+Manager\+::set\+Default\+Num\+Mipmaps (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{num }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Sets the default number of mipmaps to be used for loaded textures, for when textures are loaded automatically (e.\+g. 

by \mbox{\hyperlink{class_ogre_1_1_material}{Material}} class) or when \textquotesingle{}load\textquotesingle{} is called with the default parameters by the application. If set to M\+I\+P\+\_\+\+U\+N\+L\+I\+M\+I\+T\+ED mipmaps will be generated until the lowest possible level, 1x1x1. \begin{DoxyNote}{Note}
The default value is 0. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_manager_af30b8543978558d0a083778790f1fab2}\label{class_ogre_1_1_texture_manager_af30b8543978558d0a083778790f1fab2}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getDefaultNumMipmaps@{getDefaultNumMipmaps}}
\index{getDefaultNumMipmaps@{getDefaultNumMipmaps}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getDefaultNumMipmaps()}{getDefaultNumMipmaps()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Texture\+Manager\+::get\+Default\+Num\+Mipmaps (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the default number of mipmaps to be used for loaded textures. 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a9ef8419603b3aad6ce7545682ee12c7c}\label{class_ogre_1_1_texture_manager_a9ef8419603b3aad6ce7545682ee12c7c}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!\_getWarningTexture@{\_getWarningTexture}}
\index{\_getWarningTexture@{\_getWarningTexture}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{\_getWarningTexture()}{\_getWarningTexture()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}}\& Ogre\+::\+Texture\+Manager\+::\+\_\+get\+Warning\+Texture (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Internal method to create a warning texture (bound when a texture unit is blank) 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a711218e2968d7e52b1114cced356c8e8}\label{class_ogre_1_1_texture_manager_a711218e2968d7e52b1114cced356c8e8}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getDefaultSampler@{getDefaultSampler}}
\index{getDefaultSampler@{getDefaultSampler}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getDefaultSampler()}{getDefaultSampler()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}}\& Ogre\+::\+Texture\+Manager\+::get\+Default\+Sampler (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



get the default sampler 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_ac6fb858ee86f3b7b75de32e3e04ee5c8}\label{class_ogre_1_1_texture_manager_ac6fb858ee86f3b7b75de32e3e04ee5c8}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}\& Ogre\+::\+Texture\+Manager\+::get\+Singleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_texture_manager_a3a55789d982b34bdd9daa27650360653}\label{class_ogre_1_1_texture_manager_a3a55789d982b34bdd9daa27650360653}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_texture_manager}{Texture\+Manager}}$\ast$ Ogre\+::\+Texture\+Manager\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a700088a63eabb0f6cb1fac96686db464}\label{class_ogre_1_1_resource_manager_a700088a63eabb0f6cb1fac96686db464}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!createResource@{createResource}}
\index{createResource@{createResource}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{createResource()}{createResource()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} Ogre\+::\+Resource\+Manager\+::create\+Resource (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0},  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{create\+Params = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Creates a new blank resource, but does not immediately load it. 


\begin{DoxyParams}{Parameters}
{\em name} & The unique name of the Resource \\
\hline
{\em group} & The name of the resource group to attach this new resource to \\
\hline
{\em is\+Manual} & Is this resource manually loaded? If so, you should really populate the loader parameter in order that the load process can call the loader back when loading is required. \\
\hline
{\em loader} & Pointer to a Manual\+Loader implementation which will be called when the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} wishes to load (should be supplied if you set is\+Manual to true). You can in fact leave this parameter null if you wish, but the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} will never be able to reload if anything ever causes it to unload. Therefore provision of a proper Manual\+Loader instance is strongly recommended. \\
\hline
{\em create\+Params} & If any parameters are required to create an instance, they should be supplied here as name / value pairs \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a532e96fbeac065b4a7866b4302a90618}\label{class_ogre_1_1_resource_manager_a532e96fbeac065b4a7866b4302a90618}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!setMemoryBudget@{setMemoryBudget}}
\index{setMemoryBudget@{setMemoryBudget}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{setMemoryBudget()}{setMemoryBudget()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::set\+Memory\+Budget (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{bytes }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Set a limit on the amount of memory this resource handler may use. 

\begin{DoxyRemark}{Remarks}
If, when asked to load a new resource, the manager believes it will exceed this memory budget, it will temporarily unload a resource to make room for the new one. This unloading is not permanent and the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} is not destroyed; it simply needs to be reloaded when next used. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_abd807a5a8f5754af45fc60db40b455d5}\label{class_ogre_1_1_resource_manager_abd807a5a8f5754af45fc60db40b455d5}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getMemoryBudget@{getMemoryBudget}}
\index{getMemoryBudget@{getMemoryBudget}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getMemoryBudget()}{getMemoryBudget()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Resource\+Manager\+::get\+Memory\+Budget (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Get the limit on the amount of memory this resource handler may use. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_ac401b57afcc205728a3821065aef6238}\label{class_ogre_1_1_resource_manager_ac401b57afcc205728a3821065aef6238}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getMemoryUsage@{getMemoryUsage}}
\index{getMemoryUsage@{getMemoryUsage}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getMemoryUsage()}{getMemoryUsage()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Resource\+Manager\+::get\+Memory\+Usage (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the current memory usage, in bytes. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a62ddf3760bd9871b25ca016732e149d1}\label{class_ogre_1_1_resource_manager_a62ddf3760bd9871b25ca016732e149d1}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!unload@{unload}}
\index{unload@{unload}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{unload()}{unload()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::unload (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group = {\ttfamily \mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Unloads a single resource by name. 

\begin{DoxyRemark}{Remarks}
Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}} for unloading of resource groups. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a2514952116c93b5b5eba051492d2caa9}\label{class_ogre_1_1_resource_manager_a2514952116c93b5b5eba051492d2caa9}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!unload@{unload}}
\index{unload@{unload}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{unload()}{unload()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::unload (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}}]{handle }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Unloads a single resource by handle. 

\begin{DoxyRemark}{Remarks}
Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}} for unloading of resource groups. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a1fe343406d15d5367cfc4f86ba589b55}\label{class_ogre_1_1_resource_manager_a1fe343406d15d5367cfc4f86ba589b55}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!unloadAll@{unloadAll}}
\index{unloadAll@{unloadAll}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{unloadAll()}{unloadAll()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::unload\+All (\begin{DoxyParamCaption}\item[{bool}]{reloadable\+Only = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Unloads all resources. 

\begin{DoxyRemark}{Remarks}
Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}} for unloading of resource groups. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em reloadable\+Only} & If true (the default), only unload the resource that is reloadable. Because some resources isn\textquotesingle{}t reloadable, they will be unloaded but can\textquotesingle{}t load them later. Thus, you might not want to them unloaded. Or, you might unload all of them, and then populate them manually later. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}{Resource\+::is\+Reloadable}} for resource is reloadable. 
\end{DoxySeeAlso}


References Ogre\+::\+Resource\+::\+L\+F\+\_\+\+D\+E\+F\+A\+U\+LT, and Ogre\+::\+Resource\+::\+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_manager_a93b40c858020f2bbbcebcd4dc72a6321}\label{class_ogre_1_1_resource_manager_a93b40c858020f2bbbcebcd4dc72a6321}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!unloadAll@{unloadAll}}
\index{unloadAll@{unloadAll}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{unloadAll()}{unloadAll()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Manager\+::unload\+All (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Resource\+::\+Loading\+Flags}}}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Unloads all resources. 

\begin{DoxyRemark}{Remarks}
Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}} for unloading of resource groups. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em flags} & Allow to restrict processing to only reloadable and/or unreferenced resources. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Resource\+::\+Loading\+Flags}} for additional information. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_aa9608544a7beb1b0e43835877ab62788}\label{class_ogre_1_1_resource_manager_aa9608544a7beb1b0e43835877ab62788}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!reloadAll@{reloadAll}}
\index{reloadAll@{reloadAll}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{reloadAll()}{reloadAll()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::reload\+All (\begin{DoxyParamCaption}\item[{bool}]{reloadable\+Only = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Caused all currently loaded resources to be reloaded. 

\begin{DoxyRemark}{Remarks}
All resources currently being held in this manager which are also marked as currently loaded will be unloaded, then loaded again. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em reloadable\+Only} & If true (the default), only reload the resource that is reloadable. Because some resources isn\textquotesingle{}t reloadable, they will be unloaded but can\textquotesingle{}t loaded again. Thus, you might not want to them unloaded. Or, you might unload all of them, and then populate them manually later. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}{Resource\+::is\+Reloadable}} for resource is reloadable. 
\end{DoxySeeAlso}


References Ogre\+::\+Resource\+::\+L\+F\+\_\+\+D\+E\+F\+A\+U\+LT, and Ogre\+::\+Resource\+::\+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_manager_a84e25cc5ad09ff7567d1fed7429433a3}\label{class_ogre_1_1_resource_manager_a84e25cc5ad09ff7567d1fed7429433a3}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!reloadAll@{reloadAll}}
\index{reloadAll@{reloadAll}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{reloadAll()}{reloadAll()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Manager\+::reload\+All (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Resource\+::\+Loading\+Flags}}}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Caused all currently loaded resources to be reloaded. 

\begin{DoxyRemark}{Remarks}
All resources currently being held in this manager which are also marked as currently loaded will be unloaded, then loaded again. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em flags} & Allow to restrict processing to only reloadable and/or unreferenced resources. Additionally, reloading could be done with preserving some selected resource states that could be used elsewhere. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Resource\+::\+Loading\+Flags}} for additional information. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_aeaa1410333b7bcea14b00c360112a528}\label{class_ogre_1_1_resource_manager_aeaa1410333b7bcea14b00c360112a528}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!unloadUnreferencedResources@{unloadUnreferencedResources}}
\index{unloadUnreferencedResources@{unloadUnreferencedResources}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{unloadUnreferencedResources()}{unloadUnreferencedResources()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::unload\+Unreferenced\+Resources (\begin{DoxyParamCaption}\item[{bool}]{reloadable\+Only = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Unload all resources which are not referenced by any other object. 

\begin{DoxyRemark}{Remarks}
This method behaves like unload\+All, except that it only unloads resources which are not in use, ie not referenced by other objects. This allows you to free up some memory selectively whilst still keeping the group around (and the resources present, just not using much memory). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Some referenced resource may exists \textquotesingle{}weak\textquotesingle{} pointer to their sub-\/components (e.\+g. \mbox{\hyperlink{class_ogre_1_1_entity}{Entity}} held pointer to \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}), in this case, unload or reload that resource will cause dangerous pointer access. Use this function instead of unload\+All allows you avoid fail in those situations. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em reloadable\+Only} & If true (the default), only unloads resources which can be subsequently automatically reloaded. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Resource\+::\+L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED, and Ogre\+::\+Resource\+::\+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_manager_a4dda8323b265a00638dd29a4fa6510bc}\label{class_ogre_1_1_resource_manager_a4dda8323b265a00638dd29a4fa6510bc}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!reloadUnreferencedResources@{reloadUnreferencedResources}}
\index{reloadUnreferencedResources@{reloadUnreferencedResources}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{reloadUnreferencedResources()}{reloadUnreferencedResources()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::reload\+Unreferenced\+Resources (\begin{DoxyParamCaption}\item[{bool}]{reloadable\+Only = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Caused all currently loaded but not referenced by any other object resources to be reloaded. 

\begin{DoxyRemark}{Remarks}
This method behaves like reload\+All, except that it only reloads resources which are not in use, i.\+e. not referenced by other objects. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Some referenced resource may exists \textquotesingle{}weak\textquotesingle{} pointer to their sub-\/components (e.\+g. \mbox{\hyperlink{class_ogre_1_1_entity}{Entity}} held pointer to \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}), in this case, unload or reload that resource will cause dangerous pointer access. Use this function instead of reload\+All allows you avoid fail in those situations. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em reloadable\+Only} & If true (the default), only reloads resources which can be subsequently automatically reloaded. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Resource\+::\+L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED, and Ogre\+::\+Resource\+::\+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_manager_a257ae8a9ac7538581173b7ddcf7b3f19}\label{class_ogre_1_1_resource_manager_a257ae8a9ac7538581173b7ddcf7b3f19}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!remove@{remove}}
\index{remove@{remove}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::remove (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} \&}]{r }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Remove a single resource. 

\begin{DoxyRemark}{Remarks}
Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
The word \textquotesingle{}Destroy\textquotesingle{} is not used here, since if any other pointers are referring to this resource, it will persist until they have finished with it; however to all intents and purposes it no longer exists and will likely get destroyed imminently. 

If you do have shared pointers to resources hanging around after the \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown O\+G\+RE. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_aea812804e59454cd29ee531ebab56b1b}\label{class_ogre_1_1_resource_manager_aea812804e59454cd29ee531ebab56b1b}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!remove@{remove}}
\index{remove@{remove}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::remove (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group = {\ttfamily \mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



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

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a6871e913a62e1b419438e3169bc72bd3}\label{class_ogre_1_1_resource_manager_a6871e913a62e1b419438e3169bc72bd3}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!remove@{remove}}
\index{remove@{remove}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::remove (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}}]{handle }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



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

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a6ff50fee06a678837cbeeea75e4372a5}\label{class_ogre_1_1_resource_manager_a6ff50fee06a678837cbeeea75e4372a5}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!removeAll@{removeAll}}
\index{removeAll@{removeAll}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{removeAll()}{removeAll()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Manager\+::remove\+All (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Removes all resources. 

\begin{DoxyNote}{Note}
The word \textquotesingle{}Destroy\textquotesingle{} is not used here, since if any other pointers are referring to these resources, they will persist until they have been finished with; however to all intents and purposes the resources no longer exist and will get destroyed imminently. 

If you do have shared pointers to resources hanging around after the \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} is destroyed, you may get problems on destruction of these resources if they were relying on the manager (especially if it is a plugin). If you find you get problems on shutdown in the destruction of resources, try making sure you release all your shared pointers before you shutdown O\+G\+RE. 
\end{DoxyNote}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_compositor_manager_a565f51a7a31bc6848c9e334d1c699242}{Ogre\+::\+Compositor\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a6ce966e769770ce9f90d77eddc2c30a3}\label{class_ogre_1_1_resource_manager_a6ce966e769770ce9f90d77eddc2c30a3}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!removeUnreferencedResources@{removeUnreferencedResources}}
\index{removeUnreferencedResources@{removeUnreferencedResources}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{removeUnreferencedResources()}{removeUnreferencedResources()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Manager\+::remove\+Unreferenced\+Resources (\begin{DoxyParamCaption}\item[{bool}]{reloadable\+Only = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Remove all resources which are not referenced by any other object. 

\begin{DoxyRemark}{Remarks}
This method behaves like remove\+All, except that it only removes resources which are not in use, ie not referenced by other objects. This allows you to free up some memory selectively whilst still keeping the group around (and the resources present, just not using much memory). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Some referenced resource may exists \textquotesingle{}weak\textquotesingle{} pointer to their sub-\/components (e.\+g. \mbox{\hyperlink{class_ogre_1_1_entity}{Entity}} held pointer to \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}), in this case, remove or reload that resource will cause dangerous pointer access. Use this function instead of remove\+All allows you avoid fail in those situations. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em reloadable\+Only} & If true (the default), only removes resources which can be subsequently automatically reloaded. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a0154dd3f0ed6e8665eecab30d2535101}\label{class_ogre_1_1_resource_manager_a0154dd3f0ed6e8665eecab30d2535101}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getResourceByName@{getResourceByName}}
\index{getResourceByName@{getResourceByName}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getResourceByName()}{getResourceByName()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} Ogre\+::\+Resource\+Manager\+::get\+Resource\+By\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group\+Name = {\ttfamily \mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieves a pointer to a resource by name, or null if the resource does not exist. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_gpu_program_manager_ad43bb4fa7094b05f1a167869dd9ce2ab}{Ogre\+::\+Gpu\+Program\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_ab1c354fd2294c7c50b3f3e9ce42543f7}\label{class_ogre_1_1_resource_manager_ab1c354fd2294c7c50b3f3e9ce42543f7}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getByHandle@{getByHandle}}
\index{getByHandle@{getByHandle}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getByHandle()}{getByHandle()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_a4697cc0c72aef3b488c7e058adf734ed}{Resource\+Ptr}} Ogre\+::\+Resource\+Manager\+::get\+By\+Handle (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}}]{handle }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieves a pointer to a resource by handle, or null if the resource does not exist. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a3fdbd35468f69e6f6662bae7ec84af21}\label{class_ogre_1_1_resource_manager_a3fdbd35468f69e6f6662bae7ec84af21}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!resourceExists@{resourceExists}}
\index{resourceExists@{resourceExists}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{resourceExists()}{resourceExists()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Manager\+::resource\+Exists (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group = {\ttfamily \mbox{\hyperlink{group___resources_gad0e16ff2458722373e3eea3b303e52da}{R\+G\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether the named resource exists in this manager. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a6a58b96feb67c25e123ccc3b287fcd2c}\label{class_ogre_1_1_resource_manager_a6a58b96feb67c25e123ccc3b287fcd2c}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!resourceExists@{resourceExists}}
\index{resourceExists@{resourceExists}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{resourceExists()}{resourceExists()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Manager\+::resource\+Exists (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}}]{handle }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether a resource with the given handle exists in this manager. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a40769092850d5b296e1d1a9190631700}\label{class_ogre_1_1_resource_manager_a40769092850d5b296e1d1a9190631700}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!\_notifyResourceTouched@{\_notifyResourceTouched}}
\index{\_notifyResourceTouched@{\_notifyResourceTouched}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{\_notifyResourceTouched()}{\_notifyResourceTouched()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Manager\+::\+\_\+notify\+Resource\+Touched (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$}]{res }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Notify this manager that a resource which it manages has been \textquotesingle{}touched\textquotesingle{}, i.\+e. 

used. \mbox{\Hypertarget{class_ogre_1_1_resource_manager_af1a871ac005af0be0b8c1857a4f8eea9}\label{class_ogre_1_1_resource_manager_af1a871ac005af0be0b8c1857a4f8eea9}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!\_notifyResourceLoaded@{\_notifyResourceLoaded}}
\index{\_notifyResourceLoaded@{\_notifyResourceLoaded}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{\_notifyResourceLoaded()}{\_notifyResourceLoaded()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Manager\+::\+\_\+notify\+Resource\+Loaded (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$}]{res }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Notify this manager that a resource which it manages has been loaded. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a54d1843a43aebb13542312cd17134e6a}\label{class_ogre_1_1_resource_manager_a54d1843a43aebb13542312cd17134e6a}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!\_notifyResourceUnloaded@{\_notifyResourceUnloaded}}
\index{\_notifyResourceUnloaded@{\_notifyResourceUnloaded}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{\_notifyResourceUnloaded()}{\_notifyResourceUnloaded()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+Manager\+::\+\_\+notify\+Resource\+Unloaded (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} $\ast$}]{res }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Notify this manager that a resource which it manages has been unloaded. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a356d42e699011a2d86770c9b3ee55e6d}\label{class_ogre_1_1_resource_manager_a356d42e699011a2d86770c9b3ee55e6d}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getScriptPatterns@{getScriptPatterns}}
\index{getScriptPatterns@{getScriptPatterns}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getScriptPatterns()}{getScriptPatterns()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___general_ga783e5227595f351519627abfb740ec85}{String\+Vector}}\& Ogre\+::\+Resource\+Manager\+::get\+Script\+Patterns (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the file patterns which should be used to find scripts for this \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}}. 

\begin{DoxyRemark}{Remarks}
Some resource managers can read script files in order to define resources ahead of time. These resources are added to the available list inside the manager, but none are loaded initially. This allows you to load the items that are used on demand, or to load them all as a group if you wish (through \mbox{\hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}}). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method lets you determine the file pattern which will be used to identify scripts intended for this manager. 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
A list of file patterns, in the order they should be searched in. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_resource_manager_a266d959fecaf0568270acfbf024e0b4b}{parse\+Script}} 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_script_loader_a78189fd757a233f34d5d272f76f6abf6}{Ogre\+::\+Script\+Loader}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a266d959fecaf0568270acfbf024e0b4b}\label{class_ogre_1_1_resource_manager_a266d959fecaf0568270acfbf024e0b4b}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!parseScript@{parseScript}}
\index{parseScript@{parseScript}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{parseScript()}{parseScript()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::parse\+Script (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}} \&}]{stream,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Parse the definition of a set of resources from a script file. 

\begin{DoxyRemark}{Remarks}
Some resource managers can read script files in order to define resources ahead of time. These resources are added to the available list inside the manager, but none are loaded initially. This allows you to load the items that are used on demand, or to load them all as a group if you wish (through \mbox{\hyperlink{class_ogre_1_1_resource_group_manager}{Resource\+Group\+Manager}}). 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em stream} & Weak reference to a data stream which is the source of the script \\
\hline
{\em group\+Name} & The name of the resource group that resources which are parsed are to become a member of. If this group is loaded or unloaded, then the resources discovered in this script will be loaded / unloaded with it. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_script_loader_a6bd73a15503c5cb29ed8b7e264e12293}{Ogre\+::\+Script\+Loader}}.



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_font_manager_ada6af0d588fd5c17f0f8f7904fa657a8}{Ogre\+::\+Font\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a3ae7c3ae5494fc088fa8a17e736fef6b}\label{class_ogre_1_1_resource_manager_a3ae7c3ae5494fc088fa8a17e736fef6b}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getLoadingOrder@{getLoadingOrder}}
\index{getLoadingOrder@{getLoadingOrder}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getLoadingOrder()}{getLoadingOrder()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Resource\+Manager\+::get\+Loading\+Order (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the relative loading order of resources of this type. 

\begin{DoxyRemark}{Remarks}
There are dependencies between some kinds of resource in terms of loading order, and this value enumerates that. Higher values load later during bulk loading tasks. 
\end{DoxyRemark}


Implements \mbox{\hyperlink{class_ogre_1_1_script_loader_a12af311e1399d48c02c57bb545b50497}{Ogre\+::\+Script\+Loader}}.

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



Gets a string identifying the type of resource this manager handles. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a82b76280229c498b8d66f64b2a848447}\label{class_ogre_1_1_resource_manager_a82b76280229c498b8d66f64b2a848447}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!setVerbose@{setVerbose}}
\index{setVerbose@{setVerbose}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{setVerbose()}{setVerbose()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::set\+Verbose (\begin{DoxyParamCaption}\item[{bool}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets whether this manager and its resources habitually produce log output. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_ae071093e2681923ddf1d661087b44e4d}\label{class_ogre_1_1_resource_manager_ae071093e2681923ddf1d661087b44e4d}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getVerbose@{getVerbose}}
\index{getVerbose@{getVerbose}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getVerbose()}{getVerbose()}}
{\footnotesize\ttfamily bool Ogre\+::\+Resource\+Manager\+::get\+Verbose (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets whether this manager and its resources habitually produce log output. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_ad18cc3f0a4b3e0553cfe715204f15359}\label{class_ogre_1_1_resource_manager_ad18cc3f0a4b3e0553cfe715204f15359}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getResourcePool@{getResourcePool}}
\index{getResourcePool@{getResourcePool}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getResourcePool()}{getResourcePool()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_resource_manager_1_1_resource_pool}{Resource\+Pool}}$\ast$ Ogre\+::\+Resource\+Manager\+::get\+Resource\+Pool (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Create a resource pool, or reuse one that already exists. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_aa8b761abb06d74347e9636550307ccd9}\label{class_ogre_1_1_resource_manager_aa8b761abb06d74347e9636550307ccd9}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!destroyResourcePool@{destroyResourcePool}}
\index{destroyResourcePool@{destroyResourcePool}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{destroyResourcePool()}{destroyResourcePool()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::destroy\+Resource\+Pool (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_manager_1_1_resource_pool}{Resource\+Pool}} $\ast$}]{pool }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Destroy a resource pool. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a00a7fe59aaaa4acdfda07edc704516ee}\label{class_ogre_1_1_resource_manager_a00a7fe59aaaa4acdfda07edc704516ee}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!destroyResourcePool@{destroyResourcePool}}
\index{destroyResourcePool@{destroyResourcePool}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{destroyResourcePool()}{destroyResourcePool()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::destroy\+Resource\+Pool (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Destroy a resource pool. 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a7913c36c02ef03007ff1a1c76ddf7710}\label{class_ogre_1_1_resource_manager_a7913c36c02ef03007ff1a1c76ddf7710}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!destroyAllResourcePools@{destroyAllResourcePools}}
\index{destroyAllResourcePools@{destroyAllResourcePools}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{destroyAllResourcePools()}{destroyAllResourcePools()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+Manager\+::destroy\+All\+Resource\+Pools (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



destroy all pools 

\mbox{\Hypertarget{class_ogre_1_1_resource_manager_a4d3289d4636168230da11c1c9794db59}\label{class_ogre_1_1_resource_manager_a4d3289d4636168230da11c1c9794db59}} 
\index{Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}!getResourceIterator@{getResourceIterator}}
\index{getResourceIterator@{getResourceIterator}!Ogre::DefaultTextureManager@{Ogre::DefaultTextureManager}}
\doxysubsubsection{\texorpdfstring{getResourceIterator()}{getResourceIterator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_resource_manager_a4f7da59507a5a8550ea97615ff9afff0}{Resource\+Map\+Iterator}} Ogre\+::\+Resource\+Manager\+::get\+Resource\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns an iterator over all resources in this manager. 

\begin{DoxyNote}{Note}
Use of this iterator is N\+OT thread safe! 
\end{DoxyNote}


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



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