[692] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>Ogre::GLTextureManager class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
| 5 | </head> |
---|
| 6 | |
---|
| 7 | <body> |
---|
| 8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
| 9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
| 10 | <h1>Ogre::GLTextureManager Class Reference</h1>GL-specific implementation of a <a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a>. |
---|
| 11 | <a href="#_details">More...</a> |
---|
| 12 | <p> |
---|
| 13 | <code>#include <<a class="el" href="OgreGLTextureManager_8h-source.html">OgreGLTextureManager.h</a>></code> |
---|
| 14 | <p> |
---|
| 15 | <p>Inheritance diagram for Ogre::GLTextureManager: |
---|
| 16 | <p><center><img src="classOgre_1_1GLTextureManager.png" usemap="#Ogre::GLTextureManager_map" border="0" alt=""></center> |
---|
| 17 | <map name="Ogre::GLTextureManager_map"> |
---|
| 18 | <area href="classOgre_1_1TextureManager.html" alt="Ogre::TextureManager" shape="rect" coords="113,112,329,136"> |
---|
| 19 | <area href="classOgre_1_1ResourceManager.html" alt="Ogre::ResourceManager" shape="rect" coords="0,56,216,80"> |
---|
| 20 | <area href="classOgre_1_1Singleton.html" alt="Ogre::Singleton< TextureManager >" shape="rect" coords="226,56,442,80"> |
---|
| 21 | <area href="classOgre_1_1ScriptLoader.html" alt="Ogre::ScriptLoader" shape="rect" coords="0,0,216,24"> |
---|
| 22 | </map> |
---|
| 23 | <a href="classOgre_1_1GLTextureManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
| 24 | <tr><td></td></tr> |
---|
| 25 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr> |
---|
| 26 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef HashMap< <a class="el" href="namespaceOgre.html#a471">String</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a></td></tr> |
---|
| 27 | |
---|
| 28 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map< <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>,<br> |
---|
| 29 | <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a></td></tr> |
---|
| 30 | |
---|
| 31 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>< <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a></td></tr> |
---|
| 32 | |
---|
| 33 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
| 34 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagera0">GLTextureManager</a> (<a class="el" href="classOgre_1_1GLSupport.html">GLSupport</a> &support)</td></tr> |
---|
| 35 | |
---|
| 36 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagera1">~GLTextureManager</a> ()</td></tr> |
---|
| 37 | |
---|
| 38 | <tr><td class="memItemLeft" nowrap align=right valign=top>GLuint </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagera2">getWarningTextureID</a> ()</td></tr> |
---|
| 39 | |
---|
| 40 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a671">PixelFormat</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagera3">getNativeFormat</a> (<a class="el" href="namespaceOgre.html#a685">TextureType</a> ttype, <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> format, int usage)</td></tr> |
---|
| 41 | |
---|
| 42 | <tr><td class="mdescLeft"> </td><td class="mdescRight"> <a href="#Ogre_1_1GLTextureManagera3"></a><br><br></td></tr> |
---|
| 43 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera2">load</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, <a class="el" href="namespaceOgre.html#a685">TextureType</a> texType=TEX_TYPE_2D, int numMipmaps=-1, <a class="el" href="namespaceOgre.html#a465">Real</a> gamma=1.0f, bool isAlpha=false)</td></tr> |
---|
| 44 | |
---|
| 45 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a texture from a file. <a href="#Ogre_1_1TextureManagera2"></a><br><br></td></tr> |
---|
| 46 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera34">load</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0, const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *loadParams=0)</td></tr> |
---|
| 47 | |
---|
| 48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Generic load method, used to create a <a class="el" href="classOgre_1_1Resource.html">Resource</a> specific to this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> without using one of the specialised 'load' methods (containing per-Resource-type parameters). <a href="#Ogre_1_1TextureManagera34"></a><br><br></td></tr> |
---|
| 49 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera3">loadImage</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, const <a class="el" href="classOgre_1_1Image.html">Image</a> &img, <a class="el" href="namespaceOgre.html#a685">TextureType</a> texType=TEX_TYPE_2D, int iNumMipmaps=-1, <a class="el" href="namespaceOgre.html#a465">Real</a> gamma=1.0f, bool isAlpha=false)</td></tr> |
---|
| 50 | |
---|
| 51 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a texture from an <a class="el" href="classOgre_1_1Image.html">Image</a> object. <a href="#Ogre_1_1TextureManagera3"></a><br><br></td></tr> |
---|
| 52 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera4">loadRawData</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, <a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &stream, <a class="el" href="namespaceOgre.html#a467">ushort</a> uWidth, <a class="el" href="namespaceOgre.html#a467">ushort</a> uHeight, <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> format, <a class="el" href="namespaceOgre.html#a685">TextureType</a> texType=TEX_TYPE_2D, int iNumMipmaps=-1, <a class="el" href="namespaceOgre.html#a465">Real</a> gamma=1.0f)</td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a texture from a raw data stream. <a href="#Ogre_1_1TextureManagera4"></a><br><br></td></tr> |
---|
| 55 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera5">createManual</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, <a class="el" href="namespaceOgre.html#a685">TextureType</a> texType, <a class="el" href="namespaceOgre.html#a468">uint</a> width, <a class="el" href="namespaceOgre.html#a468">uint</a> height, <a class="el" href="namespaceOgre.html#a468">uint</a> depth, int num_mips, <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> format, int usage=TU_DEFAULT, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0)</td></tr> |
---|
| 56 | |
---|
| 57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a manual texture with specified width, height and depth (not loaded from a file). <a href="#Ogre_1_1TextureManagera5"></a><br><br></td></tr> |
---|
| 58 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera6">createManual</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, <a class="el" href="namespaceOgre.html#a685">TextureType</a> texType, <a class="el" href="namespaceOgre.html#a468">uint</a> width, <a class="el" href="namespaceOgre.html#a468">uint</a> height, int num_mips, <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> format, int usage=TU_DEFAULT, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0)</td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a manual texture with a depth of 1 (not loaded from a file). <a href="#Ogre_1_1TextureManagera6"></a><br><br></td></tr> |
---|
| 61 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera7">enable32BitTextures</a> (bool setting=true)</td></tr> |
---|
| 62 | |
---|
| 63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Enables / disables 32-bit textures. <a href="#Ogre_1_1TextureManagera7"></a><br><br></td></tr> |
---|
| 64 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera8">isEnable32BitTextures</a> (void)</td></tr> |
---|
| 65 | |
---|
| 66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks 32-bit textures enable setting. <a href="#Ogre_1_1TextureManagera8"></a><br><br></td></tr> |
---|
| 67 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera9">isFormatSupported</a> (<a class="el" href="namespaceOgre.html#a685">TextureType</a> ttype, <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> format, int usage)</td></tr> |
---|
| 68 | |
---|
| 69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this render system can natively support the precise texture format requested with the given usage options. <a href="#Ogre_1_1TextureManagera9"></a><br><br></td></tr> |
---|
| 70 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera10">isEquivalentFormatSupported</a> (<a class="el" href="namespaceOgre.html#a685">TextureType</a> ttype, <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> format, int usage)</td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this render system can support the texture format requested with the given usage options, or another format with no quality reduction. <a href="#Ogre_1_1TextureManagera10"></a><br><br></td></tr> |
---|
| 73 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera12">setDefaultNumMipmaps</a> (size_t num)</td></tr> |
---|
| 74 | |
---|
| 75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default number of mipmaps to be used for loaded textures, for when textures are loaded automatically (e.g. <a href="#Ogre_1_1TextureManagera12"></a><br><br></td></tr> |
---|
| 76 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera13">getDefaultNumMipmaps</a> ()</td></tr> |
---|
| 77 | |
---|
| 78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default number of mipmaps to be used for loaded textures. <a href="#Ogre_1_1TextureManagera13"></a><br><br></td></tr> |
---|
| 79 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera14">create</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0, const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *createParams=0)</td></tr> |
---|
| 80 | |
---|
| 81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new blank resource, but does not immediately load it. <a href="#Ogre_1_1TextureManagera14"></a><br><br></td></tr> |
---|
| 82 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera15">setMemoryBudget</a> (size_t bytes)</td></tr> |
---|
| 83 | |
---|
| 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a limit on the amount of memory this resource handler may use. <a href="#Ogre_1_1TextureManagera15"></a><br><br></td></tr> |
---|
| 85 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera16">getMemoryBudget</a> (void) const </td></tr> |
---|
| 86 | |
---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the limit on the amount of memory this resource handler may use. <a href="#Ogre_1_1TextureManagera16"></a><br><br></td></tr> |
---|
| 88 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera17">unload</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
| 89 | |
---|
| 90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unloads a single resource by name. <a href="#Ogre_1_1TextureManagera17"></a><br><br></td></tr> |
---|
| 91 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera18">unload</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr> |
---|
| 92 | |
---|
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unloads a single resource by handle. <a href="#Ogre_1_1TextureManagera18"></a><br><br></td></tr> |
---|
| 94 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera19">unloadAll</a> (bool reloadableOnly=true)</td></tr> |
---|
| 95 | |
---|
| 96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unloads all resources. <a href="#Ogre_1_1TextureManagera19"></a><br><br></td></tr> |
---|
| 97 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera20">reloadAll</a> (bool reloadableOnly=true)</td></tr> |
---|
| 98 | |
---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Caused all currently loaded resources to be reloaded. <a href="#Ogre_1_1TextureManagera20"></a><br><br></td></tr> |
---|
| 100 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera21">unloadUnreferencedResources</a> (bool reloadableOnly=true)</td></tr> |
---|
| 101 | |
---|
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unload all resources which are not referenced by any other object. <a href="#Ogre_1_1TextureManagera21"></a><br><br></td></tr> |
---|
| 103 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera22">reloadUnreferencedResources</a> (bool reloadableOnly=true)</td></tr> |
---|
| 104 | |
---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Caused all currently loaded but not referenced by any other object resources to be reloaded. <a href="#Ogre_1_1TextureManagera22"></a><br><br></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera23">remove</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &r)</td></tr> |
---|
| 107 | |
---|
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a single resource. <a href="#Ogre_1_1TextureManagera23"></a><br><br></td></tr> |
---|
| 109 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera24">remove</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
| 110 | |
---|
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a single resource by name. <a href="#Ogre_1_1TextureManagera24"></a><br><br></td></tr> |
---|
| 112 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera25">remove</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr> |
---|
| 113 | |
---|
| 114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a single resource by handle. <a href="#Ogre_1_1TextureManagera25"></a><br><br></td></tr> |
---|
| 115 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera26">removeAll</a> (void)</td></tr> |
---|
| 116 | |
---|
| 117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all resources. <a href="#Ogre_1_1TextureManagera26"></a><br><br></td></tr> |
---|
| 118 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera27">getByName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
| 119 | |
---|
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a pointer to a resource by name, or null if the resource does not exist. <a href="#Ogre_1_1TextureManagera27"></a><br><br></td></tr> |
---|
| 121 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera28">getByHandle</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr> |
---|
| 122 | |
---|
| 123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a pointer to a resource by handle, or null if the resource does not exist. <a href="#Ogre_1_1TextureManagera28"></a><br><br></td></tr> |
---|
| 124 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera29">resourceExists</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
| 125 | |
---|
| 126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the named resource exists in this manager. <a href="#Ogre_1_1TextureManagera29"></a><br><br></td></tr> |
---|
| 127 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera30">resourceExists</a> (<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle)</td></tr> |
---|
| 128 | |
---|
| 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether a resource with the given handle exists in this manager. <a href="#Ogre_1_1TextureManagera30"></a><br><br></td></tr> |
---|
| 130 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera31">_notifyResourceTouched</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr> |
---|
| 131 | |
---|
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Notify this manager that a resource which it manages has been 'touched', ie used. <a href="#Ogre_1_1TextureManagera31"></a><br><br></td></tr> |
---|
| 133 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera32">_notifyResourceLoaded</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr> |
---|
| 134 | |
---|
| 135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Notify this manager that a resource which it manages has been loaded. <a href="#Ogre_1_1TextureManagera32"></a><br><br></td></tr> |
---|
| 136 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera33">_notifyResourceUnloaded</a> (<a class="el" href="classOgre_1_1Resource.html">Resource</a> *res)</td></tr> |
---|
| 137 | |
---|
| 138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Notify this manager that a resource which it manages has been unloaded. <a href="#Ogre_1_1TextureManagera33"></a><br><br></td></tr> |
---|
| 139 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="namespaceOgre.html#a580">StringVector</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera35">getScriptPatterns</a> (void) const </td></tr> |
---|
| 140 | |
---|
| 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the file patterns which should be used to find scripts for this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>. <a href="#Ogre_1_1TextureManagera35"></a><br><br></td></tr> |
---|
| 142 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera36">parseScript</a> (<a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &stream, const <a class="el" href="namespaceOgre.html#a471">String</a> &groupName)</td></tr> |
---|
| 143 | |
---|
| 144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Parse the definition of a set of resources from a script file. <a href="#Ogre_1_1TextureManagera36"></a><br><br></td></tr> |
---|
| 145 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera37">getLoadingOrder</a> (void) const </td></tr> |
---|
| 146 | |
---|
| 147 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the relative loading order of resources of this type. <a href="#Ogre_1_1TextureManagera37"></a><br><br></td></tr> |
---|
| 148 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera38">getResourceType</a> (void) const </td></tr> |
---|
| 149 | |
---|
| 150 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a string identifying the type of resource this manager handles. <a href="#Ogre_1_1TextureManagera38"></a><br><br></td></tr> |
---|
| 151 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera39">getResourceIterator</a> (void)</td></tr> |
---|
| 152 | |
---|
| 153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an iterator over all resources in this manager. <a href="#Ogre_1_1TextureManagera39"></a><br><br></td></tr> |
---|
| 154 | <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> |
---|
| 155 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagere0">getSingleton</a> (void)</td></tr> |
---|
| 156 | |
---|
| 157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. <a href="#Ogre_1_1TextureManagere0"></a><br><br></td></tr> |
---|
| 158 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagere1">getSingletonPtr</a> (void)</td></tr> |
---|
| 159 | |
---|
| 160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. <a href="#Ogre_1_1TextureManagere1"></a><br><br></td></tr> |
---|
| 161 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
| 162 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Resource.html">Resource</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagerb0">createImpl</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> handle, const <a class="el" href="namespaceOgre.html#a471">String</a> &group, bool isManual, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader, const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> *createParams)</td></tr> |
---|
| 163 | |
---|
| 164 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Remarks:</b></dt><dd>Subclasses must override this method and create a subclass of <a class="el" href="classOgre_1_1Resource.html">Resource</a>. </dd></dl> |
---|
| 165 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 166 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 167 | <tr><td valign=top><em>name</em> </td><td>The unique name of the resource </td></tr> |
---|
| 168 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to attach this new resource to </td></tr> |
---|
| 169 | <tr><td valign=top><em>isManual</em> </td><td>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. </td></tr> |
---|
| 170 | <tr><td valign=top><em>loader</em> </td><td>Pointer to a ManualLoader implementation which will be called when the <a class="el" href="classOgre_1_1Resource.html">Resource</a> wishes to load (should be supplied if you set isManual to true). You can in fact leave this parameter null if you wish, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualLoader instance is strongly recommended. </td></tr> |
---|
| 171 | <tr><td valign=top><em>createParams</em> </td><td>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.</td></tr> |
---|
| 172 | </table> |
---|
| 173 | </dl> |
---|
| 174 | <a href="#Ogre_1_1GLTextureManagerb0"></a><br><br></td></tr> |
---|
| 175 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagerb1">createWarningTexture</a> ()</td></tr> |
---|
| 176 | |
---|
| 177 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method to create a warning texture (bound when a texture unit is blank). <a href="#Ogre_1_1GLTextureManagerb1"></a><br><br></td></tr> |
---|
| 178 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb0">getNextHandle</a> (void)</td></tr> |
---|
| 179 | |
---|
| 180 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Allocates the next handle. <a href="#Ogre_1_1TextureManagerb0"></a><br><br></td></tr> |
---|
| 181 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb2">addImpl</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &res)</td></tr> |
---|
| 182 | |
---|
| 183 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add a newly created resource to the manager (note weak reference). <a href="#Ogre_1_1TextureManagerb2"></a><br><br></td></tr> |
---|
| 184 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb3">removeImpl</a> (<a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> &res)</td></tr> |
---|
| 185 | |
---|
| 186 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a resource from this manager; remove it from the lists. <a href="#Ogre_1_1TextureManagerb3"></a><br><br></td></tr> |
---|
| 187 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb4">checkUsage</a> (void)</td></tr> |
---|
| 188 | |
---|
| 189 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks memory usage and pages out if required. <a href="#Ogre_1_1TextureManagerb4"></a><br><br></td></tr> |
---|
| 190 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb5">getMemoryUsage</a> (void) const </td></tr> |
---|
| 191 | |
---|
| 192 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current memory usage, in bytes. <a href="#Ogre_1_1TextureManagerb5"></a><br><br></td></tr> |
---|
| 193 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
| 194 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1GLSupport.html">GLSupport</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagerp0">mGLSupport</a></td></tr> |
---|
| 195 | |
---|
| 196 | <tr><td class="memItemLeft" nowrap align=right valign=top>GLuint </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagerp1">mWarningTextureID</a></td></tr> |
---|
| 197 | |
---|
| 198 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagerp0">mIs32Bit</a></td></tr> |
---|
| 199 | |
---|
| 200 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagerp1">mDefaultNumMipmaps</a></td></tr> |
---|
| 201 | |
---|
| 202 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp2">mResourcesByHandle</a></td></tr> |
---|
| 203 | |
---|
| 204 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp3">mResources</a></td></tr> |
---|
| 205 | |
---|
| 206 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp4">mNextHandle</a></td></tr> |
---|
| 207 | |
---|
| 208 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp5">mMemoryBudget</a></td></tr> |
---|
| 209 | |
---|
| 210 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp6">mMemoryUsage</a></td></tr> |
---|
| 211 | |
---|
| 212 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a580">StringVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp7">mScriptPatterns</a></td></tr> |
---|
| 213 | |
---|
| 214 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Patterns to use to look for scripts if supported (e.g. *.overlay). <a href="#Ogre_1_1TextureManagerp7"></a><br><br></td></tr> |
---|
| 215 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp8">mLoadOrder</a></td></tr> |
---|
| 216 | |
---|
| 217 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Loading order relative to other managers, higher is later. <a href="#Ogre_1_1TextureManagerp8"></a><br><br></td></tr> |
---|
| 218 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp9">mResourceType</a></td></tr> |
---|
| 219 | |
---|
| 220 | <tr><td class="mdescLeft"> </td><td class="mdescRight">String identifying the resource type this manager handles. <a href="#Ogre_1_1TextureManagerp9"></a><br><br></td></tr> |
---|
| 221 | <tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr> |
---|
| 222 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a></td></tr> |
---|
| 223 | |
---|
| 224 | </table> |
---|
| 225 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 226 | GL-specific implementation of a <a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a>. |
---|
| 227 | <p> |
---|
| 228 | |
---|
| 229 | <p> |
---|
| 230 | Definition at line <a class="el" href="OgreGLTextureManager_8h-source.html#l00036">36</a> of file <a class="el" href="OgreGLTextureManager_8h-source.html">OgreGLTextureManager.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
| 231 | <a class="anchor" name="Ogre_1_1TextureManagerw1" doxytag="Ogre::GLTextureManager::ResourceHandleMap" ></a><p> |
---|
| 232 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 233 | <tr> |
---|
| 234 | <td class="mdRow"> |
---|
| 235 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 236 | <tr> |
---|
| 237 | <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="namespaceOgre.html#a529">ResourceHandle</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a>> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">Ogre::ResourceManager::ResourceHandleMap</a><code> [inherited]</code> |
---|
| 238 | </table> |
---|
| 239 | </td> |
---|
| 240 | </tr> |
---|
| 241 | </table> |
---|
| 242 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 243 | <tr> |
---|
| 244 | <td> |
---|
| 245 | |
---|
| 246 | </td> |
---|
| 247 | <td> |
---|
| 248 | |
---|
| 249 | <p> |
---|
| 250 | |
---|
| 251 | <p> |
---|
| 252 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00387">387</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 253 | </tr> |
---|
| 254 | </table> |
---|
| 255 | <a class="anchor" name="Ogre_1_1TextureManagerw0" doxytag="Ogre::GLTextureManager::ResourceMap" ></a><p> |
---|
| 256 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 257 | <tr> |
---|
| 258 | <td class="mdRow"> |
---|
| 259 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 260 | <tr> |
---|
| 261 | <td class="md" nowrap valign="top"> typedef HashMap< <a class="el" href="namespaceOgre.html#a471">String</a>, <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> > <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">Ogre::ResourceManager::ResourceMap</a><code> [inherited]</code> |
---|
| 262 | </table> |
---|
| 263 | </td> |
---|
| 264 | </tr> |
---|
| 265 | </table> |
---|
| 266 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 267 | <tr> |
---|
| 268 | <td> |
---|
| 269 | |
---|
| 270 | </td> |
---|
| 271 | <td> |
---|
| 272 | |
---|
| 273 | <p> |
---|
| 274 | |
---|
| 275 | <p> |
---|
| 276 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00386">386</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 277 | </tr> |
---|
| 278 | </table> |
---|
| 279 | <a class="anchor" name="Ogre_1_1TextureManagerw2" doxytag="Ogre::GLTextureManager::ResourceMapIterator" ></a><p> |
---|
| 280 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 281 | <tr> |
---|
| 282 | <td class="mdRow"> |
---|
| 283 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 284 | <tr> |
---|
| 285 | <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a><<a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a>> <a class="el" href="classOgre_1_1MapIterator.html">Ogre::ResourceManager::ResourceMapIterator</a><code> [inherited]</code> |
---|
| 286 | </table> |
---|
| 287 | </td> |
---|
| 288 | </tr> |
---|
| 289 | </table> |
---|
| 290 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 291 | <tr> |
---|
| 292 | <td> |
---|
| 293 | |
---|
| 294 | </td> |
---|
| 295 | <td> |
---|
| 296 | |
---|
| 297 | <p> |
---|
| 298 | |
---|
| 299 | <p> |
---|
| 300 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00405">405</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 301 | <p> |
---|
| 302 | Referenced by <a class="el" href="OgreResourceManager_8h-source.html#l00410">Ogre::ResourceManager::getResourceIterator()</a>. </td> |
---|
| 303 | </tr> |
---|
| 304 | </table> |
---|
| 305 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 306 | <a class="anchor" name="Ogre_1_1GLTextureManagera0" doxytag="Ogre::GLTextureManager::GLTextureManager" ></a><p> |
---|
| 307 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 308 | <tr> |
---|
| 309 | <td class="mdRow"> |
---|
| 310 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 311 | <tr> |
---|
| 312 | <td class="md" nowrap valign="top"> Ogre::GLTextureManager::GLTextureManager </td> |
---|
| 313 | <td class="md" valign="top">( </td> |
---|
| 314 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1GLSupport.html">GLSupport</a> & </td> |
---|
| 315 | <td class="mdname1" valign="top" nowrap> <em>support</em> </td> |
---|
| 316 | <td class="md" valign="top"> ) </td> |
---|
| 317 | <td class="md" nowrap></td> |
---|
| 318 | </tr> |
---|
| 319 | |
---|
| 320 | </table> |
---|
| 321 | </td> |
---|
| 322 | </tr> |
---|
| 323 | </table> |
---|
| 324 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 325 | <tr> |
---|
| 326 | <td> |
---|
| 327 | |
---|
| 328 | </td> |
---|
| 329 | <td> |
---|
| 330 | |
---|
| 331 | <p> |
---|
| 332 | </td> |
---|
| 333 | </tr> |
---|
| 334 | </table> |
---|
| 335 | <a class="anchor" name="Ogre_1_1GLTextureManagera1" doxytag="Ogre::GLTextureManager::~GLTextureManager" ></a><p> |
---|
| 336 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 337 | <tr> |
---|
| 338 | <td class="mdRow"> |
---|
| 339 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 340 | <tr> |
---|
| 341 | <td class="md" nowrap valign="top"> virtual Ogre::GLTextureManager::~<a class="el" href="classOgre_1_1GLTextureManager.html">GLTextureManager</a> </td> |
---|
| 342 | <td class="md" valign="top">( </td> |
---|
| 343 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 344 | <td class="md" valign="top"> ) </td> |
---|
| 345 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
| 346 | </tr> |
---|
| 347 | |
---|
| 348 | </table> |
---|
| 349 | </td> |
---|
| 350 | </tr> |
---|
| 351 | </table> |
---|
| 352 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 353 | <tr> |
---|
| 354 | <td> |
---|
| 355 | |
---|
| 356 | </td> |
---|
| 357 | <td> |
---|
| 358 | |
---|
| 359 | <p> |
---|
| 360 | </td> |
---|
| 361 | </tr> |
---|
| 362 | </table> |
---|
| 363 | <hr><h2>Member Function Documentation</h2> |
---|
| 364 | <a class="anchor" name="Ogre_1_1TextureManagera32" doxytag="Ogre::GLTextureManager::_notifyResourceLoaded" ></a><p> |
---|
| 365 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 366 | <tr> |
---|
| 367 | <td class="mdRow"> |
---|
| 368 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 369 | <tr> |
---|
| 370 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceLoaded </td> |
---|
| 371 | <td class="md" valign="top">( </td> |
---|
| 372 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> * </td> |
---|
| 373 | <td class="mdname1" valign="top" nowrap> <em>res</em> </td> |
---|
| 374 | <td class="md" valign="top"> ) </td> |
---|
| 375 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 376 | </tr> |
---|
| 377 | |
---|
| 378 | </table> |
---|
| 379 | </td> |
---|
| 380 | </tr> |
---|
| 381 | </table> |
---|
| 382 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 383 | <tr> |
---|
| 384 | <td> |
---|
| 385 | |
---|
| 386 | </td> |
---|
| 387 | <td> |
---|
| 388 | |
---|
| 389 | <p> |
---|
| 390 | Notify this manager that a resource which it manages has been loaded. |
---|
| 391 | <p> |
---|
| 392 | </td> |
---|
| 393 | </tr> |
---|
| 394 | </table> |
---|
| 395 | <a class="anchor" name="Ogre_1_1TextureManagera31" doxytag="Ogre::GLTextureManager::_notifyResourceTouched" ></a><p> |
---|
| 396 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 397 | <tr> |
---|
| 398 | <td class="mdRow"> |
---|
| 399 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 400 | <tr> |
---|
| 401 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceTouched </td> |
---|
| 402 | <td class="md" valign="top">( </td> |
---|
| 403 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> * </td> |
---|
| 404 | <td class="mdname1" valign="top" nowrap> <em>res</em> </td> |
---|
| 405 | <td class="md" valign="top"> ) </td> |
---|
| 406 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 407 | </tr> |
---|
| 408 | |
---|
| 409 | </table> |
---|
| 410 | </td> |
---|
| 411 | </tr> |
---|
| 412 | </table> |
---|
| 413 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 414 | <tr> |
---|
| 415 | <td> |
---|
| 416 | |
---|
| 417 | </td> |
---|
| 418 | <td> |
---|
| 419 | |
---|
| 420 | <p> |
---|
| 421 | Notify this manager that a resource which it manages has been 'touched', ie used. |
---|
| 422 | <p> |
---|
| 423 | </td> |
---|
| 424 | </tr> |
---|
| 425 | </table> |
---|
| 426 | <a class="anchor" name="Ogre_1_1TextureManagera33" doxytag="Ogre::GLTextureManager::_notifyResourceUnloaded" ></a><p> |
---|
| 427 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 428 | <tr> |
---|
| 429 | <td class="mdRow"> |
---|
| 430 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 431 | <tr> |
---|
| 432 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::_notifyResourceUnloaded </td> |
---|
| 433 | <td class="md" valign="top">( </td> |
---|
| 434 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Resource.html">Resource</a> * </td> |
---|
| 435 | <td class="mdname1" valign="top" nowrap> <em>res</em> </td> |
---|
| 436 | <td class="md" valign="top"> ) </td> |
---|
| 437 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 438 | </tr> |
---|
| 439 | |
---|
| 440 | </table> |
---|
| 441 | </td> |
---|
| 442 | </tr> |
---|
| 443 | </table> |
---|
| 444 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 445 | <tr> |
---|
| 446 | <td> |
---|
| 447 | |
---|
| 448 | </td> |
---|
| 449 | <td> |
---|
| 450 | |
---|
| 451 | <p> |
---|
| 452 | Notify this manager that a resource which it manages has been unloaded. |
---|
| 453 | <p> |
---|
| 454 | </td> |
---|
| 455 | </tr> |
---|
| 456 | </table> |
---|
| 457 | <a class="anchor" name="Ogre_1_1TextureManagerb2" doxytag="Ogre::GLTextureManager::addImpl" ></a><p> |
---|
| 458 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 459 | <tr> |
---|
| 460 | <td class="mdRow"> |
---|
| 461 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 462 | <tr> |
---|
| 463 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::addImpl </td> |
---|
| 464 | <td class="md" valign="top">( </td> |
---|
| 465 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> & </td> |
---|
| 466 | <td class="mdname1" valign="top" nowrap> <em>res</em> </td> |
---|
| 467 | <td class="md" valign="top"> ) </td> |
---|
| 468 | <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> |
---|
| 469 | </tr> |
---|
| 470 | |
---|
| 471 | </table> |
---|
| 472 | </td> |
---|
| 473 | </tr> |
---|
| 474 | </table> |
---|
| 475 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 476 | <tr> |
---|
| 477 | <td> |
---|
| 478 | |
---|
| 479 | </td> |
---|
| 480 | <td> |
---|
| 481 | |
---|
| 482 | <p> |
---|
| 483 | Add a newly created resource to the manager (note weak reference). |
---|
| 484 | <p> |
---|
| 485 | </td> |
---|
| 486 | </tr> |
---|
| 487 | </table> |
---|
| 488 | <a class="anchor" name="Ogre_1_1TextureManagerb4" doxytag="Ogre::GLTextureManager::checkUsage" ></a><p> |
---|
| 489 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 490 | <tr> |
---|
| 491 | <td class="mdRow"> |
---|
| 492 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 493 | <tr> |
---|
| 494 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::checkUsage </td> |
---|
| 495 | <td class="md" valign="top">( </td> |
---|
| 496 | <td class="md" nowrap valign="top">void </td> |
---|
| 497 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 498 | <td class="md" valign="top"> ) </td> |
---|
| 499 | <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> |
---|
| 500 | </tr> |
---|
| 501 | |
---|
| 502 | </table> |
---|
| 503 | </td> |
---|
| 504 | </tr> |
---|
| 505 | </table> |
---|
| 506 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 507 | <tr> |
---|
| 508 | <td> |
---|
| 509 | |
---|
| 510 | </td> |
---|
| 511 | <td> |
---|
| 512 | |
---|
| 513 | <p> |
---|
| 514 | Checks memory usage and pages out if required. |
---|
| 515 | <p> |
---|
| 516 | </td> |
---|
| 517 | </tr> |
---|
| 518 | </table> |
---|
| 519 | <a class="anchor" name="Ogre_1_1TextureManagera14" doxytag="Ogre::GLTextureManager::create" ></a><p> |
---|
| 520 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 521 | <tr> |
---|
| 522 | <td class="mdRow"> |
---|
| 523 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 524 | <tr> |
---|
| 525 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::create </td> |
---|
| 526 | <td class="md" valign="top">( </td> |
---|
| 527 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 528 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 529 | </tr> |
---|
| 530 | <tr> |
---|
| 531 | <td class="md" nowrap align="right"></td> |
---|
| 532 | <td></td> |
---|
| 533 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 534 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 535 | </tr> |
---|
| 536 | <tr> |
---|
| 537 | <td class="md" nowrap align="right"></td> |
---|
| 538 | <td></td> |
---|
| 539 | <td class="md" nowrap>bool </td> |
---|
| 540 | <td class="mdname" nowrap> <em>isManual</em> = false, </td> |
---|
| 541 | </tr> |
---|
| 542 | <tr> |
---|
| 543 | <td class="md" nowrap align="right"></td> |
---|
| 544 | <td></td> |
---|
| 545 | <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td> |
---|
| 546 | <td class="mdname" nowrap> <em>loader</em> = 0, </td> |
---|
| 547 | </tr> |
---|
| 548 | <tr> |
---|
| 549 | <td class="md" nowrap align="right"></td> |
---|
| 550 | <td></td> |
---|
| 551 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> * </td> |
---|
| 552 | <td class="mdname" nowrap> <em>createParams</em> = 0</td> |
---|
| 553 | </tr> |
---|
| 554 | <tr> |
---|
| 555 | <td></td> |
---|
| 556 | <td class="md">) </td> |
---|
| 557 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 558 | </tr> |
---|
| 559 | |
---|
| 560 | </table> |
---|
| 561 | </td> |
---|
| 562 | </tr> |
---|
| 563 | </table> |
---|
| 564 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 565 | <tr> |
---|
| 566 | <td> |
---|
| 567 | |
---|
| 568 | </td> |
---|
| 569 | <td> |
---|
| 570 | |
---|
| 571 | <p> |
---|
| 572 | Creates a new blank resource, but does not immediately load it. |
---|
| 573 | <p> |
---|
| 574 | <dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html">Resource</a> managers handle disparate types of resources, so if you want to get at the detailed interface of this resource, you'll have to cast the result to the subclass you know you're creating. </dd></dl> |
---|
| 575 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 576 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 577 | <tr><td valign=top><em>name</em> </td><td>The unique name of the resource </td></tr> |
---|
| 578 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to attach this new resource to </td></tr> |
---|
| 579 | <tr><td valign=top><em>isManual</em> </td><td>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. </td></tr> |
---|
| 580 | <tr><td valign=top><em>loader</em> </td><td>Pointer to a ManualLoader implementation which will be called when the <a class="el" href="classOgre_1_1Resource.html">Resource</a> wishes to load (should be supplied if you set isManual to true). You can in fact leave this parameter null if you wish, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualLoader instance is strongly recommended. </td></tr> |
---|
| 581 | <tr><td valign=top><em>createParams</em> </td><td>If any parameters are required to create an instance, they should be supplied here as name / value pairs </td></tr> |
---|
| 582 | </table> |
---|
| 583 | </dl> |
---|
| 584 | </td> |
---|
| 585 | </tr> |
---|
| 586 | </table> |
---|
| 587 | <a class="anchor" name="Ogre_1_1GLTextureManagerb0" doxytag="Ogre::GLTextureManager::createImpl" ></a><p> |
---|
| 588 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 589 | <tr> |
---|
| 590 | <td class="mdRow"> |
---|
| 591 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 592 | <tr> |
---|
| 593 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Resource.html">Resource</a>* Ogre::GLTextureManager::createImpl </td> |
---|
| 594 | <td class="md" valign="top">( </td> |
---|
| 595 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 596 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 597 | </tr> |
---|
| 598 | <tr> |
---|
| 599 | <td class="md" nowrap align="right"></td> |
---|
| 600 | <td></td> |
---|
| 601 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> </td> |
---|
| 602 | <td class="mdname" nowrap> <em>handle</em>, </td> |
---|
| 603 | </tr> |
---|
| 604 | <tr> |
---|
| 605 | <td class="md" nowrap align="right"></td> |
---|
| 606 | <td></td> |
---|
| 607 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 608 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 609 | </tr> |
---|
| 610 | <tr> |
---|
| 611 | <td class="md" nowrap align="right"></td> |
---|
| 612 | <td></td> |
---|
| 613 | <td class="md" nowrap>bool </td> |
---|
| 614 | <td class="mdname" nowrap> <em>isManual</em>, </td> |
---|
| 615 | </tr> |
---|
| 616 | <tr> |
---|
| 617 | <td class="md" nowrap align="right"></td> |
---|
| 618 | <td></td> |
---|
| 619 | <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td> |
---|
| 620 | <td class="mdname" nowrap> <em>loader</em>, </td> |
---|
| 621 | </tr> |
---|
| 622 | <tr> |
---|
| 623 | <td class="md" nowrap align="right"></td> |
---|
| 624 | <td></td> |
---|
| 625 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> * </td> |
---|
| 626 | <td class="mdname" nowrap> <em>createParams</em></td> |
---|
| 627 | </tr> |
---|
| 628 | <tr> |
---|
| 629 | <td></td> |
---|
| 630 | <td class="md">) </td> |
---|
| 631 | <td class="md" colspan="2"><code> [protected, virtual]</code></td> |
---|
| 632 | </tr> |
---|
| 633 | |
---|
| 634 | </table> |
---|
| 635 | </td> |
---|
| 636 | </tr> |
---|
| 637 | </table> |
---|
| 638 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 639 | <tr> |
---|
| 640 | <td> |
---|
| 641 | |
---|
| 642 | </td> |
---|
| 643 | <td> |
---|
| 644 | |
---|
| 645 | <p> |
---|
| 646 | <dl compact><dt><b>Remarks:</b></dt><dd>Subclasses must override this method and create a subclass of <a class="el" href="classOgre_1_1Resource.html">Resource</a>. </dd></dl> |
---|
| 647 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 648 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 649 | <tr><td valign=top><em>name</em> </td><td>The unique name of the resource </td></tr> |
---|
| 650 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to attach this new resource to </td></tr> |
---|
| 651 | <tr><td valign=top><em>isManual</em> </td><td>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. </td></tr> |
---|
| 652 | <tr><td valign=top><em>loader</em> </td><td>Pointer to a ManualLoader implementation which will be called when the <a class="el" href="classOgre_1_1Resource.html">Resource</a> wishes to load (should be supplied if you set isManual to true). You can in fact leave this parameter null if you wish, but the <a class="el" href="classOgre_1_1Resource.html">Resource</a> will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualLoader instance is strongly recommended. </td></tr> |
---|
| 653 | <tr><td valign=top><em>createParams</em> </td><td>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.</td></tr> |
---|
| 654 | </table> |
---|
| 655 | </dl> |
---|
| 656 | |
---|
| 657 | <p> |
---|
| 658 | |
---|
| 659 | <p> |
---|
| 660 | Implements <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerb1">Ogre::ResourceManager</a>. </td> |
---|
| 661 | </tr> |
---|
| 662 | </table> |
---|
| 663 | <a class="anchor" name="Ogre_1_1TextureManagera6" doxytag="Ogre::GLTextureManager::createManual" ></a><p> |
---|
| 664 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 665 | <tr> |
---|
| 666 | <td class="mdRow"> |
---|
| 667 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 668 | <tr> |
---|
| 669 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> Ogre::TextureManager::createManual </td> |
---|
| 670 | <td class="md" valign="top">( </td> |
---|
| 671 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 672 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 673 | </tr> |
---|
| 674 | <tr> |
---|
| 675 | <td class="md" nowrap align="right"></td> |
---|
| 676 | <td></td> |
---|
| 677 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 678 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 679 | </tr> |
---|
| 680 | <tr> |
---|
| 681 | <td class="md" nowrap align="right"></td> |
---|
| 682 | <td></td> |
---|
| 683 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 684 | <td class="mdname" nowrap> <em>texType</em>, </td> |
---|
| 685 | </tr> |
---|
| 686 | <tr> |
---|
| 687 | <td class="md" nowrap align="right"></td> |
---|
| 688 | <td></td> |
---|
| 689 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a468">uint</a> </td> |
---|
| 690 | <td class="mdname" nowrap> <em>width</em>, </td> |
---|
| 691 | </tr> |
---|
| 692 | <tr> |
---|
| 693 | <td class="md" nowrap align="right"></td> |
---|
| 694 | <td></td> |
---|
| 695 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a468">uint</a> </td> |
---|
| 696 | <td class="mdname" nowrap> <em>height</em>, </td> |
---|
| 697 | </tr> |
---|
| 698 | <tr> |
---|
| 699 | <td class="md" nowrap align="right"></td> |
---|
| 700 | <td></td> |
---|
| 701 | <td class="md" nowrap>int </td> |
---|
| 702 | <td class="mdname" nowrap> <em>num_mips</em>, </td> |
---|
| 703 | </tr> |
---|
| 704 | <tr> |
---|
| 705 | <td class="md" nowrap align="right"></td> |
---|
| 706 | <td></td> |
---|
| 707 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a671">PixelFormat</a> </td> |
---|
| 708 | <td class="mdname" nowrap> <em>format</em>, </td> |
---|
| 709 | </tr> |
---|
| 710 | <tr> |
---|
| 711 | <td class="md" nowrap align="right"></td> |
---|
| 712 | <td></td> |
---|
| 713 | <td class="md" nowrap>int </td> |
---|
| 714 | <td class="mdname" nowrap> <em>usage</em> = TU_DEFAULT, </td> |
---|
| 715 | </tr> |
---|
| 716 | <tr> |
---|
| 717 | <td class="md" nowrap align="right"></td> |
---|
| 718 | <td></td> |
---|
| 719 | <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td> |
---|
| 720 | <td class="mdname" nowrap> <em>loader</em> = 0</td> |
---|
| 721 | </tr> |
---|
| 722 | <tr> |
---|
| 723 | <td></td> |
---|
| 724 | <td class="md">) </td> |
---|
| 725 | <td class="md" colspan="2"><code> [inherited]</code></td> |
---|
| 726 | </tr> |
---|
| 727 | |
---|
| 728 | </table> |
---|
| 729 | </td> |
---|
| 730 | </tr> |
---|
| 731 | </table> |
---|
| 732 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 733 | <tr> |
---|
| 734 | <td> |
---|
| 735 | |
---|
| 736 | </td> |
---|
| 737 | <td> |
---|
| 738 | |
---|
| 739 | <p> |
---|
| 740 | Create a manual texture with a depth of 1 (not loaded from a file). |
---|
| 741 | <p> |
---|
| 742 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 743 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 744 | <tr><td valign=top><em>name</em> </td><td>The name to give the resulting texture </td></tr> |
---|
| 745 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to assign the texture to </td></tr> |
---|
| 746 | <tr><td valign=top><em>texType</em> </td><td>The type of texture to load/create, defaults to normal 2D textures </td></tr> |
---|
| 747 | <tr><td valign=top><em>width,height</em> </td><td>The dimensions of the texture </td></tr> |
---|
| 748 | <tr><td valign=top><em>numMipmaps</em> </td><td>The number of pre-filtered mipmaps to generate. If left to default (-1) then the TextureManager's default number of mipmaps will be used (see <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera12">setDefaultNumMipmaps()</a>). If set to MIP_UNLIMITED mipmaps will be generated until the lowest possible level, 1x1x1. </td></tr> |
---|
| 749 | <tr><td valign=top><em>format</em> </td><td>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. </td></tr> |
---|
| 750 | <tr><td valign=top><em>usage</em> </td><td>The kind of usage this texture is intended for. It is a combination of TU_STATIC, TU_DYNAMIC, TU_WRITE_ONLY, TU_AUTOMIPMAP and TU_RENDERTARGET (see TextureUsage enum). You are strongly advised to use HBU_STATIC_WRITE_ONLY wherever possible, if you need to update regularly, consider HBU_DYNAMIC_WRITE_ONLY. </td></tr> |
---|
| 751 | <tr><td valign=top><em>loader</em> </td><td>If you intend the contents of the manual texture to be regularly updated, to the extent that you don'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 <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> and pass a pointer to it in this parameter; this means that if the manual texture ever needs to be reloaded, the <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> will be called to do it. </td></tr> |
---|
| 752 | </table> |
---|
| 753 | </dl> |
---|
| 754 | |
---|
| 755 | <p> |
---|
| 756 | Definition at line <a class="el" href="OgreTextureManager_8h-source.html#l00204">204</a> of file <a class="el" href="OgreTextureManager_8h-source.html">OgreTextureManager.h</a>. |
---|
| 757 | <p> |
---|
| 758 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00143">Ogre::uint</a>. </td> |
---|
| 759 | </tr> |
---|
| 760 | </table> |
---|
| 761 | <a class="anchor" name="Ogre_1_1TextureManagera5" doxytag="Ogre::GLTextureManager::createManual" ></a><p> |
---|
| 762 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 763 | <tr> |
---|
| 764 | <td class="mdRow"> |
---|
| 765 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 766 | <tr> |
---|
| 767 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> Ogre::TextureManager::createManual </td> |
---|
| 768 | <td class="md" valign="top">( </td> |
---|
| 769 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 770 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 771 | </tr> |
---|
| 772 | <tr> |
---|
| 773 | <td class="md" nowrap align="right"></td> |
---|
| 774 | <td></td> |
---|
| 775 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 776 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 777 | </tr> |
---|
| 778 | <tr> |
---|
| 779 | <td class="md" nowrap align="right"></td> |
---|
| 780 | <td></td> |
---|
| 781 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 782 | <td class="mdname" nowrap> <em>texType</em>, </td> |
---|
| 783 | </tr> |
---|
| 784 | <tr> |
---|
| 785 | <td class="md" nowrap align="right"></td> |
---|
| 786 | <td></td> |
---|
| 787 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a468">uint</a> </td> |
---|
| 788 | <td class="mdname" nowrap> <em>width</em>, </td> |
---|
| 789 | </tr> |
---|
| 790 | <tr> |
---|
| 791 | <td class="md" nowrap align="right"></td> |
---|
| 792 | <td></td> |
---|
| 793 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a468">uint</a> </td> |
---|
| 794 | <td class="mdname" nowrap> <em>height</em>, </td> |
---|
| 795 | </tr> |
---|
| 796 | <tr> |
---|
| 797 | <td class="md" nowrap align="right"></td> |
---|
| 798 | <td></td> |
---|
| 799 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a468">uint</a> </td> |
---|
| 800 | <td class="mdname" nowrap> <em>depth</em>, </td> |
---|
| 801 | </tr> |
---|
| 802 | <tr> |
---|
| 803 | <td class="md" nowrap align="right"></td> |
---|
| 804 | <td></td> |
---|
| 805 | <td class="md" nowrap>int </td> |
---|
| 806 | <td class="mdname" nowrap> <em>num_mips</em>, </td> |
---|
| 807 | </tr> |
---|
| 808 | <tr> |
---|
| 809 | <td class="md" nowrap align="right"></td> |
---|
| 810 | <td></td> |
---|
| 811 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a671">PixelFormat</a> </td> |
---|
| 812 | <td class="mdname" nowrap> <em>format</em>, </td> |
---|
| 813 | </tr> |
---|
| 814 | <tr> |
---|
| 815 | <td class="md" nowrap align="right"></td> |
---|
| 816 | <td></td> |
---|
| 817 | <td class="md" nowrap>int </td> |
---|
| 818 | <td class="mdname" nowrap> <em>usage</em> = TU_DEFAULT, </td> |
---|
| 819 | </tr> |
---|
| 820 | <tr> |
---|
| 821 | <td class="md" nowrap align="right"></td> |
---|
| 822 | <td></td> |
---|
| 823 | <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td> |
---|
| 824 | <td class="mdname" nowrap> <em>loader</em> = 0</td> |
---|
| 825 | </tr> |
---|
| 826 | <tr> |
---|
| 827 | <td></td> |
---|
| 828 | <td class="md">) </td> |
---|
| 829 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 830 | </tr> |
---|
| 831 | |
---|
| 832 | </table> |
---|
| 833 | </td> |
---|
| 834 | </tr> |
---|
| 835 | </table> |
---|
| 836 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 837 | <tr> |
---|
| 838 | <td> |
---|
| 839 | |
---|
| 840 | </td> |
---|
| 841 | <td> |
---|
| 842 | |
---|
| 843 | <p> |
---|
| 844 | Create a manual texture with specified width, height and depth (not loaded from a file). |
---|
| 845 | <p> |
---|
| 846 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 847 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 848 | <tr><td valign=top><em>name</em> </td><td>The name to give the resulting texture </td></tr> |
---|
| 849 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to assign the texture to </td></tr> |
---|
| 850 | <tr><td valign=top><em>texType</em> </td><td>The type of texture to load/create, defaults to normal 2D textures </td></tr> |
---|
| 851 | <tr><td valign=top><em>width,height,depth</em> </td><td>The dimensions of the texture </td></tr> |
---|
| 852 | <tr><td valign=top><em>numMipmaps</em> </td><td>The number of pre-filtered mipmaps to generate. If left to default (-1) then the TextureManager's default number of mipmaps will be used (see <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera12">setDefaultNumMipmaps()</a>) If set to MIP_UNLIMITED mipmaps will be generated until the lowest possible level, 1x1x1. </td></tr> |
---|
| 853 | <tr><td valign=top><em>format</em> </td><td>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. </td></tr> |
---|
| 854 | <tr><td valign=top><em>usage</em> </td><td>The kind of usage this texture is intended for. It is a combination of TU_STATIC, TU_DYNAMIC, TU_WRITE_ONLY, TU_AUTOMIPMAP and TU_RENDERTARGET (see TextureUsage enum). You are strongly advised to use HBU_STATIC_WRITE_ONLY wherever possible, if you need to update regularly, consider HBU_DYNAMIC_WRITE_ONLY. </td></tr> |
---|
| 855 | <tr><td valign=top><em>loader</em> </td><td>If you intend the contents of the manual texture to be regularly updated, to the extent that you don'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 <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> and pass a pointer to it in this parameter; this means that if the manual texture ever needs to be reloaded, the <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> will be called to do it. </td></tr> |
---|
| 856 | </table> |
---|
| 857 | </dl> |
---|
| 858 | </td> |
---|
| 859 | </tr> |
---|
| 860 | </table> |
---|
| 861 | <a class="anchor" name="Ogre_1_1GLTextureManagerb1" doxytag="Ogre::GLTextureManager::createWarningTexture" ></a><p> |
---|
| 862 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 863 | <tr> |
---|
| 864 | <td class="mdRow"> |
---|
| 865 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 866 | <tr> |
---|
| 867 | <td class="md" nowrap valign="top"> void Ogre::GLTextureManager::createWarningTexture </td> |
---|
| 868 | <td class="md" valign="top">( </td> |
---|
| 869 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 870 | <td class="md" valign="top"> ) </td> |
---|
| 871 | <td class="md" nowrap><code> [protected]</code></td> |
---|
| 872 | </tr> |
---|
| 873 | |
---|
| 874 | </table> |
---|
| 875 | </td> |
---|
| 876 | </tr> |
---|
| 877 | </table> |
---|
| 878 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 879 | <tr> |
---|
| 880 | <td> |
---|
| 881 | |
---|
| 882 | </td> |
---|
| 883 | <td> |
---|
| 884 | |
---|
| 885 | <p> |
---|
| 886 | Internal method to create a warning texture (bound when a texture unit is blank). |
---|
| 887 | <p> |
---|
| 888 | </td> |
---|
| 889 | </tr> |
---|
| 890 | </table> |
---|
| 891 | <a class="anchor" name="Ogre_1_1TextureManagera7" doxytag="Ogre::GLTextureManager::enable32BitTextures" ></a><p> |
---|
| 892 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 893 | <tr> |
---|
| 894 | <td class="mdRow"> |
---|
| 895 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 896 | <tr> |
---|
| 897 | <td class="md" nowrap valign="top"> virtual void Ogre::TextureManager::enable32BitTextures </td> |
---|
| 898 | <td class="md" valign="top">( </td> |
---|
| 899 | <td class="md" nowrap valign="top">bool </td> |
---|
| 900 | <td class="mdname1" valign="top" nowrap> <em>setting</em> = true </td> |
---|
| 901 | <td class="md" valign="top"> ) </td> |
---|
| 902 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 903 | </tr> |
---|
| 904 | |
---|
| 905 | </table> |
---|
| 906 | </td> |
---|
| 907 | </tr> |
---|
| 908 | </table> |
---|
| 909 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 910 | <tr> |
---|
| 911 | <td> |
---|
| 912 | |
---|
| 913 | </td> |
---|
| 914 | <td> |
---|
| 915 | |
---|
| 916 | <p> |
---|
| 917 | Enables / disables 32-bit textures. |
---|
| 918 | <p> |
---|
| 919 | </td> |
---|
| 920 | </tr> |
---|
| 921 | </table> |
---|
| 922 | <a class="anchor" name="Ogre_1_1TextureManagera28" doxytag="Ogre::GLTextureManager::getByHandle" ></a><p> |
---|
| 923 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 924 | <tr> |
---|
| 925 | <td class="mdRow"> |
---|
| 926 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 927 | <tr> |
---|
| 928 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByHandle </td> |
---|
| 929 | <td class="md" valign="top">( </td> |
---|
| 930 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> </td> |
---|
| 931 | <td class="mdname1" valign="top" nowrap> <em>handle</em> </td> |
---|
| 932 | <td class="md" valign="top"> ) </td> |
---|
| 933 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 934 | </tr> |
---|
| 935 | |
---|
| 936 | </table> |
---|
| 937 | </td> |
---|
| 938 | </tr> |
---|
| 939 | </table> |
---|
| 940 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 941 | <tr> |
---|
| 942 | <td> |
---|
| 943 | |
---|
| 944 | </td> |
---|
| 945 | <td> |
---|
| 946 | |
---|
| 947 | <p> |
---|
| 948 | Retrieves a pointer to a resource by handle, or null if the resource does not exist. |
---|
| 949 | <p> |
---|
| 950 | </td> |
---|
| 951 | </tr> |
---|
| 952 | </table> |
---|
| 953 | <a class="anchor" name="Ogre_1_1TextureManagera27" doxytag="Ogre::GLTextureManager::getByName" ></a><p> |
---|
| 954 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 955 | <tr> |
---|
| 956 | <td class="mdRow"> |
---|
| 957 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 958 | <tr> |
---|
| 959 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::getByName </td> |
---|
| 960 | <td class="md" valign="top">( </td> |
---|
| 961 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 962 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
| 963 | <td class="md" valign="top"> ) </td> |
---|
| 964 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 965 | </tr> |
---|
| 966 | |
---|
| 967 | </table> |
---|
| 968 | </td> |
---|
| 969 | </tr> |
---|
| 970 | </table> |
---|
| 971 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 972 | <tr> |
---|
| 973 | <td> |
---|
| 974 | |
---|
| 975 | </td> |
---|
| 976 | <td> |
---|
| 977 | |
---|
| 978 | <p> |
---|
| 979 | Retrieves a pointer to a resource by name, or null if the resource does not exist. |
---|
| 980 | <p> |
---|
| 981 | </td> |
---|
| 982 | </tr> |
---|
| 983 | </table> |
---|
| 984 | <a class="anchor" name="Ogre_1_1TextureManagera13" doxytag="Ogre::GLTextureManager::getDefaultNumMipmaps" ></a><p> |
---|
| 985 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 986 | <tr> |
---|
| 987 | <td class="mdRow"> |
---|
| 988 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 989 | <tr> |
---|
| 990 | <td class="md" nowrap valign="top"> virtual size_t Ogre::TextureManager::getDefaultNumMipmaps </td> |
---|
| 991 | <td class="md" valign="top">( </td> |
---|
| 992 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 993 | <td class="md" valign="top"> ) </td> |
---|
| 994 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 995 | </tr> |
---|
| 996 | |
---|
| 997 | </table> |
---|
| 998 | </td> |
---|
| 999 | </tr> |
---|
| 1000 | </table> |
---|
| 1001 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1002 | <tr> |
---|
| 1003 | <td> |
---|
| 1004 | |
---|
| 1005 | </td> |
---|
| 1006 | <td> |
---|
| 1007 | |
---|
| 1008 | <p> |
---|
| 1009 | Gets the default number of mipmaps to be used for loaded textures. |
---|
| 1010 | <p> |
---|
| 1011 | |
---|
| 1012 | <p> |
---|
| 1013 | Definition at line <a class="el" href="OgreTextureManager_8h-source.html#l00263">263</a> of file <a class="el" href="OgreTextureManager_8h-source.html">OgreTextureManager.h</a>. </td> |
---|
| 1014 | </tr> |
---|
| 1015 | </table> |
---|
| 1016 | <a class="anchor" name="Ogre_1_1TextureManagera37" doxytag="Ogre::GLTextureManager::getLoadingOrder" ></a><p> |
---|
| 1017 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1018 | <tr> |
---|
| 1019 | <td class="mdRow"> |
---|
| 1020 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1021 | <tr> |
---|
| 1022 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::ResourceManager::getLoadingOrder </td> |
---|
| 1023 | <td class="md" valign="top">( </td> |
---|
| 1024 | <td class="md" nowrap valign="top">void </td> |
---|
| 1025 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1026 | <td class="md" valign="top"> ) </td> |
---|
| 1027 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
| 1028 | </tr> |
---|
| 1029 | |
---|
| 1030 | </table> |
---|
| 1031 | </td> |
---|
| 1032 | </tr> |
---|
| 1033 | </table> |
---|
| 1034 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1035 | <tr> |
---|
| 1036 | <td> |
---|
| 1037 | |
---|
| 1038 | </td> |
---|
| 1039 | <td> |
---|
| 1040 | |
---|
| 1041 | <p> |
---|
| 1042 | Gets the relative loading order of resources of this type. |
---|
| 1043 | <p> |
---|
| 1044 | <dl compact><dt><b>Remarks:</b></dt><dd>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.</dd></dl> |
---|
| 1045 | |
---|
| 1046 | <p> |
---|
| 1047 | Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera3">Ogre::ScriptLoader</a>. |
---|
| 1048 | <p> |
---|
| 1049 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00340">340</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 1050 | <p> |
---|
| 1051 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00113">Ogre::Real</a>. </td> |
---|
| 1052 | </tr> |
---|
| 1053 | </table> |
---|
| 1054 | <a class="anchor" name="Ogre_1_1TextureManagera16" doxytag="Ogre::GLTextureManager::getMemoryBudget" ></a><p> |
---|
| 1055 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1056 | <tr> |
---|
| 1057 | <td class="mdRow"> |
---|
| 1058 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1059 | <tr> |
---|
| 1060 | <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryBudget </td> |
---|
| 1061 | <td class="md" valign="top">( </td> |
---|
| 1062 | <td class="md" nowrap valign="top">void </td> |
---|
| 1063 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1064 | <td class="md" valign="top"> ) </td> |
---|
| 1065 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
| 1066 | </tr> |
---|
| 1067 | |
---|
| 1068 | </table> |
---|
| 1069 | </td> |
---|
| 1070 | </tr> |
---|
| 1071 | </table> |
---|
| 1072 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1073 | <tr> |
---|
| 1074 | <td> |
---|
| 1075 | |
---|
| 1076 | </td> |
---|
| 1077 | <td> |
---|
| 1078 | |
---|
| 1079 | <p> |
---|
| 1080 | Get the limit on the amount of memory this resource handler may use. |
---|
| 1081 | <p> |
---|
| 1082 | </td> |
---|
| 1083 | </tr> |
---|
| 1084 | </table> |
---|
| 1085 | <a class="anchor" name="Ogre_1_1TextureManagerb5" doxytag="Ogre::GLTextureManager::getMemoryUsage" ></a><p> |
---|
| 1086 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1087 | <tr> |
---|
| 1088 | <td class="mdRow"> |
---|
| 1089 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1090 | <tr> |
---|
| 1091 | <td class="md" nowrap valign="top"> virtual size_t Ogre::ResourceManager::getMemoryUsage </td> |
---|
| 1092 | <td class="md" valign="top">( </td> |
---|
| 1093 | <td class="md" nowrap valign="top">void </td> |
---|
| 1094 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1095 | <td class="md" valign="top"> ) </td> |
---|
| 1096 | <td class="md" nowrap> const<code> [protected, virtual, inherited]</code></td> |
---|
| 1097 | </tr> |
---|
| 1098 | |
---|
| 1099 | </table> |
---|
| 1100 | </td> |
---|
| 1101 | </tr> |
---|
| 1102 | </table> |
---|
| 1103 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1104 | <tr> |
---|
| 1105 | <td> |
---|
| 1106 | |
---|
| 1107 | </td> |
---|
| 1108 | <td> |
---|
| 1109 | |
---|
| 1110 | <p> |
---|
| 1111 | Gets the current memory usage, in bytes. |
---|
| 1112 | <p> |
---|
| 1113 | |
---|
| 1114 | <p> |
---|
| 1115 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00382">382</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 1116 | </tr> |
---|
| 1117 | </table> |
---|
| 1118 | <a class="anchor" name="Ogre_1_1GLTextureManagera3" doxytag="Ogre::GLTextureManager::getNativeFormat" ></a><p> |
---|
| 1119 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1120 | <tr> |
---|
| 1121 | <td class="mdRow"> |
---|
| 1122 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1123 | <tr> |
---|
| 1124 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a671">PixelFormat</a> Ogre::GLTextureManager::getNativeFormat </td> |
---|
| 1125 | <td class="md" valign="top">( </td> |
---|
| 1126 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 1127 | <td class="mdname" nowrap> <em>ttype</em>, </td> |
---|
| 1128 | </tr> |
---|
| 1129 | <tr> |
---|
| 1130 | <td class="md" nowrap align="right"></td> |
---|
| 1131 | <td></td> |
---|
| 1132 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a671">PixelFormat</a> </td> |
---|
| 1133 | <td class="mdname" nowrap> <em>format</em>, </td> |
---|
| 1134 | </tr> |
---|
| 1135 | <tr> |
---|
| 1136 | <td class="md" nowrap align="right"></td> |
---|
| 1137 | <td></td> |
---|
| 1138 | <td class="md" nowrap>int </td> |
---|
| 1139 | <td class="mdname" nowrap> <em>usage</em></td> |
---|
| 1140 | </tr> |
---|
| 1141 | <tr> |
---|
| 1142 | <td></td> |
---|
| 1143 | <td class="md">) </td> |
---|
| 1144 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
| 1145 | </tr> |
---|
| 1146 | |
---|
| 1147 | </table> |
---|
| 1148 | </td> |
---|
| 1149 | </tr> |
---|
| 1150 | </table> |
---|
| 1151 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1152 | <tr> |
---|
| 1153 | <td> |
---|
| 1154 | |
---|
| 1155 | </td> |
---|
| 1156 | <td> |
---|
| 1157 | |
---|
| 1158 | <p> |
---|
| 1159 | |
---|
| 1160 | <p> |
---|
| 1161 | |
---|
| 1162 | <p> |
---|
| 1163 | Implements <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera11">Ogre::TextureManager</a>. </td> |
---|
| 1164 | </tr> |
---|
| 1165 | </table> |
---|
| 1166 | <a class="anchor" name="Ogre_1_1TextureManagerb0" doxytag="Ogre::GLTextureManager::getNextHandle" ></a><p> |
---|
| 1167 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1168 | <tr> |
---|
| 1169 | <td class="mdRow"> |
---|
| 1170 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1171 | <tr> |
---|
| 1172 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> Ogre::ResourceManager::getNextHandle </td> |
---|
| 1173 | <td class="md" valign="top">( </td> |
---|
| 1174 | <td class="md" nowrap valign="top">void </td> |
---|
| 1175 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1176 | <td class="md" valign="top"> ) </td> |
---|
| 1177 | <td class="md" nowrap><code> [protected, inherited]</code></td> |
---|
| 1178 | </tr> |
---|
| 1179 | |
---|
| 1180 | </table> |
---|
| 1181 | </td> |
---|
| 1182 | </tr> |
---|
| 1183 | </table> |
---|
| 1184 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1185 | <tr> |
---|
| 1186 | <td> |
---|
| 1187 | |
---|
| 1188 | </td> |
---|
| 1189 | <td> |
---|
| 1190 | |
---|
| 1191 | <p> |
---|
| 1192 | Allocates the next handle. |
---|
| 1193 | <p> |
---|
| 1194 | </td> |
---|
| 1195 | </tr> |
---|
| 1196 | </table> |
---|
| 1197 | <a class="anchor" name="Ogre_1_1TextureManagera39" doxytag="Ogre::GLTextureManager::getResourceIterator" ></a><p> |
---|
| 1198 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1199 | <tr> |
---|
| 1200 | <td class="mdRow"> |
---|
| 1201 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1202 | <tr> |
---|
| 1203 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw2">ResourceMapIterator</a> Ogre::ResourceManager::getResourceIterator </td> |
---|
| 1204 | <td class="md" valign="top">( </td> |
---|
| 1205 | <td class="md" nowrap valign="top">void </td> |
---|
| 1206 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1207 | <td class="md" valign="top"> ) </td> |
---|
| 1208 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
| 1209 | </tr> |
---|
| 1210 | |
---|
| 1211 | </table> |
---|
| 1212 | </td> |
---|
| 1213 | </tr> |
---|
| 1214 | </table> |
---|
| 1215 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1216 | <tr> |
---|
| 1217 | <td> |
---|
| 1218 | |
---|
| 1219 | </td> |
---|
| 1220 | <td> |
---|
| 1221 | |
---|
| 1222 | <p> |
---|
| 1223 | Returns an iterator over all resources in this manager. |
---|
| 1224 | <p> |
---|
| 1225 | <dl compact><dt><b>Note:</b></dt><dd>Use of this iterator is NOT thread safe! </dd></dl> |
---|
| 1226 | |
---|
| 1227 | <p> |
---|
| 1228 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00410">410</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 1229 | <p> |
---|
| 1230 | References <a class="el" href="OgreResourceManager_8h-source.html#l00405">Ogre::ResourceManager::ResourceMapIterator</a>. </td> |
---|
| 1231 | </tr> |
---|
| 1232 | </table> |
---|
| 1233 | <a class="anchor" name="Ogre_1_1TextureManagera38" doxytag="Ogre::GLTextureManager::getResourceType" ></a><p> |
---|
| 1234 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1235 | <tr> |
---|
| 1236 | <td class="mdRow"> |
---|
| 1237 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1238 | <tr> |
---|
| 1239 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>& Ogre::ResourceManager::getResourceType </td> |
---|
| 1240 | <td class="md" valign="top">( </td> |
---|
| 1241 | <td class="md" nowrap valign="top">void </td> |
---|
| 1242 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1243 | <td class="md" valign="top"> ) </td> |
---|
| 1244 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
| 1245 | </tr> |
---|
| 1246 | |
---|
| 1247 | </table> |
---|
| 1248 | </td> |
---|
| 1249 | </tr> |
---|
| 1250 | </table> |
---|
| 1251 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1252 | <tr> |
---|
| 1253 | <td> |
---|
| 1254 | |
---|
| 1255 | </td> |
---|
| 1256 | <td> |
---|
| 1257 | |
---|
| 1258 | <p> |
---|
| 1259 | Gets a string identifying the type of resource this manager handles. |
---|
| 1260 | <p> |
---|
| 1261 | |
---|
| 1262 | <p> |
---|
| 1263 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00343">343</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 1264 | <p> |
---|
| 1265 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>. </td> |
---|
| 1266 | </tr> |
---|
| 1267 | </table> |
---|
| 1268 | <a class="anchor" name="Ogre_1_1TextureManagera35" doxytag="Ogre::GLTextureManager::getScriptPatterns" ></a><p> |
---|
| 1269 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1270 | <tr> |
---|
| 1271 | <td class="mdRow"> |
---|
| 1272 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1273 | <tr> |
---|
| 1274 | <td class="md" nowrap valign="top"> virtual const <a class="el" href="namespaceOgre.html#a580">StringVector</a>& Ogre::ResourceManager::getScriptPatterns </td> |
---|
| 1275 | <td class="md" valign="top">( </td> |
---|
| 1276 | <td class="md" nowrap valign="top">void </td> |
---|
| 1277 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1278 | <td class="md" valign="top"> ) </td> |
---|
| 1279 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
| 1280 | </tr> |
---|
| 1281 | |
---|
| 1282 | </table> |
---|
| 1283 | </td> |
---|
| 1284 | </tr> |
---|
| 1285 | </table> |
---|
| 1286 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1287 | <tr> |
---|
| 1288 | <td> |
---|
| 1289 | |
---|
| 1290 | </td> |
---|
| 1291 | <td> |
---|
| 1292 | |
---|
| 1293 | <p> |
---|
| 1294 | Gets the file patterns which should be used to find scripts for this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>. |
---|
| 1295 | <p> |
---|
| 1296 | <dl compact><dt><b>Remarks:</b></dt><dd>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 <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>). </dd></dl> |
---|
| 1297 | <dl compact><dt><b></b></dt><dd>This method lets you determine the file pattern which will be used to identify scripts intended for this manager. </dd></dl> |
---|
| 1298 | <dl compact><dt><b>Returns:</b></dt><dd>A list of file patterns, in the order they should be searched in. </dd></dl> |
---|
| 1299 | <dl compact><dt><b>See also:</b></dt><dd>isScriptingSupported, <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagera36">parseScript</a></dd></dl> |
---|
| 1300 | |
---|
| 1301 | <p> |
---|
| 1302 | Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera1">Ogre::ScriptLoader</a>. |
---|
| 1303 | <p> |
---|
| 1304 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00317">317</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 1305 | <p> |
---|
| 1306 | References <a class="el" href="OgreStringVector_8h-source.html#l00036">Ogre::StringVector</a>. </td> |
---|
| 1307 | </tr> |
---|
| 1308 | </table> |
---|
| 1309 | <a class="anchor" name="Ogre_1_1TextureManagere0" doxytag="Ogre::GLTextureManager::getSingleton" ></a><p> |
---|
| 1310 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1311 | <tr> |
---|
| 1312 | <td class="mdRow"> |
---|
| 1313 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1314 | <tr> |
---|
| 1315 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a>& Ogre::TextureManager::getSingleton </td> |
---|
| 1316 | <td class="md" valign="top">( </td> |
---|
| 1317 | <td class="md" nowrap valign="top">void </td> |
---|
| 1318 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1319 | <td class="md" valign="top"> ) </td> |
---|
| 1320 | <td class="md" nowrap><code> [static, inherited]</code></td> |
---|
| 1321 | </tr> |
---|
| 1322 | |
---|
| 1323 | </table> |
---|
| 1324 | </td> |
---|
| 1325 | </tr> |
---|
| 1326 | </table> |
---|
| 1327 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1328 | <tr> |
---|
| 1329 | <td> |
---|
| 1330 | |
---|
| 1331 | </td> |
---|
| 1332 | <td> |
---|
| 1333 | |
---|
| 1334 | <p> |
---|
| 1335 | Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. |
---|
| 1336 | <p> |
---|
| 1337 | <dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl> |
---|
| 1338 | <dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl> |
---|
| 1339 | |
---|
| 1340 | <p> |
---|
| 1341 | Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone0">Ogre::Singleton< TextureManager ></a>. </td> |
---|
| 1342 | </tr> |
---|
| 1343 | </table> |
---|
| 1344 | <a class="anchor" name="Ogre_1_1TextureManagere1" doxytag="Ogre::GLTextureManager::getSingletonPtr" ></a><p> |
---|
| 1345 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1346 | <tr> |
---|
| 1347 | <td class="mdRow"> |
---|
| 1348 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1349 | <tr> |
---|
| 1350 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a>* Ogre::TextureManager::getSingletonPtr </td> |
---|
| 1351 | <td class="md" valign="top">( </td> |
---|
| 1352 | <td class="md" nowrap valign="top">void </td> |
---|
| 1353 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1354 | <td class="md" valign="top"> ) </td> |
---|
| 1355 | <td class="md" nowrap><code> [static, inherited]</code></td> |
---|
| 1356 | </tr> |
---|
| 1357 | |
---|
| 1358 | </table> |
---|
| 1359 | </td> |
---|
| 1360 | </tr> |
---|
| 1361 | </table> |
---|
| 1362 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1363 | <tr> |
---|
| 1364 | <td> |
---|
| 1365 | |
---|
| 1366 | </td> |
---|
| 1367 | <td> |
---|
| 1368 | |
---|
| 1369 | <p> |
---|
| 1370 | Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. |
---|
| 1371 | <p> |
---|
| 1372 | <dl compact><dt><b>Remarks:</b></dt><dd>Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. </dd></dl> |
---|
| 1373 | <dl compact><dt><b></b></dt><dd>This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dd></dl> |
---|
| 1374 | |
---|
| 1375 | <p> |
---|
| 1376 | Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletone1">Ogre::Singleton< TextureManager ></a>. </td> |
---|
| 1377 | </tr> |
---|
| 1378 | </table> |
---|
| 1379 | <a class="anchor" name="Ogre_1_1GLTextureManagera2" doxytag="Ogre::GLTextureManager::getWarningTextureID" ></a><p> |
---|
| 1380 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1381 | <tr> |
---|
| 1382 | <td class="mdRow"> |
---|
| 1383 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1384 | <tr> |
---|
| 1385 | <td class="md" nowrap valign="top"> GLuint Ogre::GLTextureManager::getWarningTextureID </td> |
---|
| 1386 | <td class="md" valign="top">( </td> |
---|
| 1387 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1388 | <td class="md" valign="top"> ) </td> |
---|
| 1389 | <td class="md" nowrap></td> |
---|
| 1390 | </tr> |
---|
| 1391 | |
---|
| 1392 | </table> |
---|
| 1393 | </td> |
---|
| 1394 | </tr> |
---|
| 1395 | </table> |
---|
| 1396 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1397 | <tr> |
---|
| 1398 | <td> |
---|
| 1399 | |
---|
| 1400 | </td> |
---|
| 1401 | <td> |
---|
| 1402 | |
---|
| 1403 | <p> |
---|
| 1404 | |
---|
| 1405 | <p> |
---|
| 1406 | Definition at line <a class="el" href="OgreGLTextureManager_8h-source.html#l00042">42</a> of file <a class="el" href="OgreGLTextureManager_8h-source.html">OgreGLTextureManager.h</a>. |
---|
| 1407 | <p> |
---|
| 1408 | References <a class="el" href="OgreGLTextureManager_8h-source.html#l00057">mWarningTextureID</a>. </td> |
---|
| 1409 | </tr> |
---|
| 1410 | </table> |
---|
| 1411 | <a class="anchor" name="Ogre_1_1TextureManagera8" doxytag="Ogre::GLTextureManager::isEnable32BitTextures" ></a><p> |
---|
| 1412 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1413 | <tr> |
---|
| 1414 | <td class="mdRow"> |
---|
| 1415 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1416 | <tr> |
---|
| 1417 | <td class="md" nowrap valign="top"> virtual bool Ogre::TextureManager::isEnable32BitTextures </td> |
---|
| 1418 | <td class="md" valign="top">( </td> |
---|
| 1419 | <td class="md" nowrap valign="top">void </td> |
---|
| 1420 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 1421 | <td class="md" valign="top"> ) </td> |
---|
| 1422 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 1423 | </tr> |
---|
| 1424 | |
---|
| 1425 | </table> |
---|
| 1426 | </td> |
---|
| 1427 | </tr> |
---|
| 1428 | </table> |
---|
| 1429 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1430 | <tr> |
---|
| 1431 | <td> |
---|
| 1432 | |
---|
| 1433 | </td> |
---|
| 1434 | <td> |
---|
| 1435 | |
---|
| 1436 | <p> |
---|
| 1437 | Checks 32-bit textures enable setting. |
---|
| 1438 | <p> |
---|
| 1439 | |
---|
| 1440 | <p> |
---|
| 1441 | Definition at line <a class="el" href="OgreTextureManager_8h-source.html#l00218">218</a> of file <a class="el" href="OgreTextureManager_8h-source.html">OgreTextureManager.h</a>. </td> |
---|
| 1442 | </tr> |
---|
| 1443 | </table> |
---|
| 1444 | <a class="anchor" name="Ogre_1_1TextureManagera10" doxytag="Ogre::GLTextureManager::isEquivalentFormatSupported" ></a><p> |
---|
| 1445 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1446 | <tr> |
---|
| 1447 | <td class="mdRow"> |
---|
| 1448 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1449 | <tr> |
---|
| 1450 | <td class="md" nowrap valign="top"> virtual bool Ogre::TextureManager::isEquivalentFormatSupported </td> |
---|
| 1451 | <td class="md" valign="top">( </td> |
---|
| 1452 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 1453 | <td class="mdname" nowrap> <em>ttype</em>, </td> |
---|
| 1454 | </tr> |
---|
| 1455 | <tr> |
---|
| 1456 | <td class="md" nowrap align="right"></td> |
---|
| 1457 | <td></td> |
---|
| 1458 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a671">PixelFormat</a> </td> |
---|
| 1459 | <td class="mdname" nowrap> <em>format</em>, </td> |
---|
| 1460 | </tr> |
---|
| 1461 | <tr> |
---|
| 1462 | <td class="md" nowrap align="right"></td> |
---|
| 1463 | <td></td> |
---|
| 1464 | <td class="md" nowrap>int </td> |
---|
| 1465 | <td class="mdname" nowrap> <em>usage</em></td> |
---|
| 1466 | </tr> |
---|
| 1467 | <tr> |
---|
| 1468 | <td></td> |
---|
| 1469 | <td class="md">) </td> |
---|
| 1470 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 1471 | </tr> |
---|
| 1472 | |
---|
| 1473 | </table> |
---|
| 1474 | </td> |
---|
| 1475 | </tr> |
---|
| 1476 | </table> |
---|
| 1477 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1478 | <tr> |
---|
| 1479 | <td> |
---|
| 1480 | |
---|
| 1481 | </td> |
---|
| 1482 | <td> |
---|
| 1483 | |
---|
| 1484 | <p> |
---|
| 1485 | Returns whether this render system can support the texture format requested with the given usage options, or another format with no quality reduction. |
---|
| 1486 | <p> |
---|
| 1487 | </td> |
---|
| 1488 | </tr> |
---|
| 1489 | </table> |
---|
| 1490 | <a class="anchor" name="Ogre_1_1TextureManagera9" doxytag="Ogre::GLTextureManager::isFormatSupported" ></a><p> |
---|
| 1491 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1492 | <tr> |
---|
| 1493 | <td class="mdRow"> |
---|
| 1494 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1495 | <tr> |
---|
| 1496 | <td class="md" nowrap valign="top"> virtual bool Ogre::TextureManager::isFormatSupported </td> |
---|
| 1497 | <td class="md" valign="top">( </td> |
---|
| 1498 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 1499 | <td class="mdname" nowrap> <em>ttype</em>, </td> |
---|
| 1500 | </tr> |
---|
| 1501 | <tr> |
---|
| 1502 | <td class="md" nowrap align="right"></td> |
---|
| 1503 | <td></td> |
---|
| 1504 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a671">PixelFormat</a> </td> |
---|
| 1505 | <td class="mdname" nowrap> <em>format</em>, </td> |
---|
| 1506 | </tr> |
---|
| 1507 | <tr> |
---|
| 1508 | <td class="md" nowrap align="right"></td> |
---|
| 1509 | <td></td> |
---|
| 1510 | <td class="md" nowrap>int </td> |
---|
| 1511 | <td class="mdname" nowrap> <em>usage</em></td> |
---|
| 1512 | </tr> |
---|
| 1513 | <tr> |
---|
| 1514 | <td></td> |
---|
| 1515 | <td class="md">) </td> |
---|
| 1516 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 1517 | </tr> |
---|
| 1518 | |
---|
| 1519 | </table> |
---|
| 1520 | </td> |
---|
| 1521 | </tr> |
---|
| 1522 | </table> |
---|
| 1523 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1524 | <tr> |
---|
| 1525 | <td> |
---|
| 1526 | |
---|
| 1527 | </td> |
---|
| 1528 | <td> |
---|
| 1529 | |
---|
| 1530 | <p> |
---|
| 1531 | Returns whether this render system can natively support the precise texture format requested with the given usage options. |
---|
| 1532 | <p> |
---|
| 1533 | <dl compact><dt><b>Remarks:</b></dt><dd>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. </dd></dl> |
---|
| 1534 | <dl compact><dt><b>Note:</b></dt><dd>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 isEquivalentFormatSupport instead. </dd></dl> |
---|
| 1535 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1536 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1537 | <tr><td valign=top><em>format</em> </td><td>The pixel format requested </td></tr> |
---|
| 1538 | <tr><td valign=top><em>usage</em> </td><td>The kind of usage this texture is intended for, a combination of the TextureUsage flags. </td></tr> |
---|
| 1539 | </table> |
---|
| 1540 | </dl> |
---|
| 1541 | <dl compact><dt><b>Returns:</b></dt><dd>true if the format is natively supported, false if a fallback would be used.</dd></dl> |
---|
| 1542 | </td> |
---|
| 1543 | </tr> |
---|
| 1544 | </table> |
---|
| 1545 | <a class="anchor" name="Ogre_1_1TextureManagera34" doxytag="Ogre::GLTextureManager::load" ></a><p> |
---|
| 1546 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1547 | <tr> |
---|
| 1548 | <td class="mdRow"> |
---|
| 1549 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1550 | <tr> |
---|
| 1551 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> Ogre::ResourceManager::load </td> |
---|
| 1552 | <td class="md" valign="top">( </td> |
---|
| 1553 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1554 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 1555 | </tr> |
---|
| 1556 | <tr> |
---|
| 1557 | <td class="md" nowrap align="right"></td> |
---|
| 1558 | <td></td> |
---|
| 1559 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1560 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 1561 | </tr> |
---|
| 1562 | <tr> |
---|
| 1563 | <td class="md" nowrap align="right"></td> |
---|
| 1564 | <td></td> |
---|
| 1565 | <td class="md" nowrap>bool </td> |
---|
| 1566 | <td class="mdname" nowrap> <em>isManual</em> = false, </td> |
---|
| 1567 | </tr> |
---|
| 1568 | <tr> |
---|
| 1569 | <td class="md" nowrap align="right"></td> |
---|
| 1570 | <td></td> |
---|
| 1571 | <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td> |
---|
| 1572 | <td class="mdname" nowrap> <em>loader</em> = 0, </td> |
---|
| 1573 | </tr> |
---|
| 1574 | <tr> |
---|
| 1575 | <td class="md" nowrap align="right"></td> |
---|
| 1576 | <td></td> |
---|
| 1577 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> * </td> |
---|
| 1578 | <td class="mdname" nowrap> <em>loadParams</em> = 0</td> |
---|
| 1579 | </tr> |
---|
| 1580 | <tr> |
---|
| 1581 | <td></td> |
---|
| 1582 | <td class="md">) </td> |
---|
| 1583 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 1584 | </tr> |
---|
| 1585 | |
---|
| 1586 | </table> |
---|
| 1587 | </td> |
---|
| 1588 | </tr> |
---|
| 1589 | </table> |
---|
| 1590 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1591 | <tr> |
---|
| 1592 | <td> |
---|
| 1593 | |
---|
| 1594 | </td> |
---|
| 1595 | <td> |
---|
| 1596 | |
---|
| 1597 | <p> |
---|
| 1598 | Generic load method, used to create a <a class="el" href="classOgre_1_1Resource.html">Resource</a> specific to this <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> without using one of the specialised 'load' methods (containing per-Resource-type parameters). |
---|
| 1599 | <p> |
---|
| 1600 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1601 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1602 | <tr><td valign=top><em>name</em> </td><td>The name of the <a class="el" href="classOgre_1_1Resource.html">Resource</a> </td></tr> |
---|
| 1603 | <tr><td valign=top><em>group</em> </td><td>The resource group to which this resource will belong </td></tr> |
---|
| 1604 | <tr><td valign=top><em>isManual</em> </td><td>Is the resource to be manually loaded? If so, you should provide a value for the loader parameter </td></tr> |
---|
| 1605 | <tr><td valign=top><em>loader</em> </td><td>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 </td></tr> |
---|
| 1606 | <tr><td valign=top><em>loadParams</em> </td><td>Optional pointer to a list of name/value pairs containing loading parameters for this type of resource.</td></tr> |
---|
| 1607 | </table> |
---|
| 1608 | </dl> |
---|
| 1609 | |
---|
| 1610 | <p> |
---|
| 1611 | Reimplemented in <a class="el" href="classOgre_1_1BspResourceManager.html#Ogre_1_1BspResourceManagera2">Ogre::BspResourceManager</a>. </td> |
---|
| 1612 | </tr> |
---|
| 1613 | </table> |
---|
| 1614 | <a class="anchor" name="Ogre_1_1TextureManagera2" doxytag="Ogre::GLTextureManager::load" ></a><p> |
---|
| 1615 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1616 | <tr> |
---|
| 1617 | <td class="mdRow"> |
---|
| 1618 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1619 | <tr> |
---|
| 1620 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> Ogre::TextureManager::load </td> |
---|
| 1621 | <td class="md" valign="top">( </td> |
---|
| 1622 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1623 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 1624 | </tr> |
---|
| 1625 | <tr> |
---|
| 1626 | <td class="md" nowrap align="right"></td> |
---|
| 1627 | <td></td> |
---|
| 1628 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1629 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 1630 | </tr> |
---|
| 1631 | <tr> |
---|
| 1632 | <td class="md" nowrap align="right"></td> |
---|
| 1633 | <td></td> |
---|
| 1634 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 1635 | <td class="mdname" nowrap> <em>texType</em> = TEX_TYPE_2D, </td> |
---|
| 1636 | </tr> |
---|
| 1637 | <tr> |
---|
| 1638 | <td class="md" nowrap align="right"></td> |
---|
| 1639 | <td></td> |
---|
| 1640 | <td class="md" nowrap>int </td> |
---|
| 1641 | <td class="mdname" nowrap> <em>numMipmaps</em> = -1, </td> |
---|
| 1642 | </tr> |
---|
| 1643 | <tr> |
---|
| 1644 | <td class="md" nowrap align="right"></td> |
---|
| 1645 | <td></td> |
---|
| 1646 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 1647 | <td class="mdname" nowrap> <em>gamma</em> = 1.0f, </td> |
---|
| 1648 | </tr> |
---|
| 1649 | <tr> |
---|
| 1650 | <td class="md" nowrap align="right"></td> |
---|
| 1651 | <td></td> |
---|
| 1652 | <td class="md" nowrap>bool </td> |
---|
| 1653 | <td class="mdname" nowrap> <em>isAlpha</em> = false</td> |
---|
| 1654 | </tr> |
---|
| 1655 | <tr> |
---|
| 1656 | <td></td> |
---|
| 1657 | <td class="md">) </td> |
---|
| 1658 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 1659 | </tr> |
---|
| 1660 | |
---|
| 1661 | </table> |
---|
| 1662 | </td> |
---|
| 1663 | </tr> |
---|
| 1664 | </table> |
---|
| 1665 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1666 | <tr> |
---|
| 1667 | <td> |
---|
| 1668 | |
---|
| 1669 | </td> |
---|
| 1670 | <td> |
---|
| 1671 | |
---|
| 1672 | <p> |
---|
| 1673 | Loads a texture from a file. |
---|
| 1674 | <p> |
---|
| 1675 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1676 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1677 | <tr><td valign=top><em>name</em> </td><td>The file to load, or a String identifier in some cases </td></tr> |
---|
| 1678 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to assign the texture to </td></tr> |
---|
| 1679 | <tr><td valign=top><em>texType</em> </td><td>The type of texture to load/create, defaults to normal 2D textures </td></tr> |
---|
| 1680 | <tr><td valign=top><em>numMipmaps</em> </td><td>The number of pre-filtered mipmaps to generate. If left to default (-1) then the TextureManager's default number of mipmaps will be used (see <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera12">setDefaultNumMipmaps()</a>) If set to MIP_UNLIMITED mipmaps will be generated until the lowest possible level, 1x1x1. </td></tr> |
---|
| 1681 | <tr><td valign=top><em>gamma</em> </td><td>The gamma adjustment factor to apply to this texture (brightening/darkening) </td></tr> |
---|
| 1682 | </table> |
---|
| 1683 | </dl> |
---|
| 1684 | </td> |
---|
| 1685 | </tr> |
---|
| 1686 | </table> |
---|
| 1687 | <a class="anchor" name="Ogre_1_1TextureManagera3" doxytag="Ogre::GLTextureManager::loadImage" ></a><p> |
---|
| 1688 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1689 | <tr> |
---|
| 1690 | <td class="mdRow"> |
---|
| 1691 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1692 | <tr> |
---|
| 1693 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> Ogre::TextureManager::loadImage </td> |
---|
| 1694 | <td class="md" valign="top">( </td> |
---|
| 1695 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1696 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 1697 | </tr> |
---|
| 1698 | <tr> |
---|
| 1699 | <td class="md" nowrap align="right"></td> |
---|
| 1700 | <td></td> |
---|
| 1701 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1702 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 1703 | </tr> |
---|
| 1704 | <tr> |
---|
| 1705 | <td class="md" nowrap align="right"></td> |
---|
| 1706 | <td></td> |
---|
| 1707 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Image.html">Image</a> & </td> |
---|
| 1708 | <td class="mdname" nowrap> <em>img</em>, </td> |
---|
| 1709 | </tr> |
---|
| 1710 | <tr> |
---|
| 1711 | <td class="md" nowrap align="right"></td> |
---|
| 1712 | <td></td> |
---|
| 1713 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 1714 | <td class="mdname" nowrap> <em>texType</em> = TEX_TYPE_2D, </td> |
---|
| 1715 | </tr> |
---|
| 1716 | <tr> |
---|
| 1717 | <td class="md" nowrap align="right"></td> |
---|
| 1718 | <td></td> |
---|
| 1719 | <td class="md" nowrap>int </td> |
---|
| 1720 | <td class="mdname" nowrap> <em>iNumMipmaps</em> = -1, </td> |
---|
| 1721 | </tr> |
---|
| 1722 | <tr> |
---|
| 1723 | <td class="md" nowrap align="right"></td> |
---|
| 1724 | <td></td> |
---|
| 1725 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 1726 | <td class="mdname" nowrap> <em>gamma</em> = 1.0f, </td> |
---|
| 1727 | </tr> |
---|
| 1728 | <tr> |
---|
| 1729 | <td class="md" nowrap align="right"></td> |
---|
| 1730 | <td></td> |
---|
| 1731 | <td class="md" nowrap>bool </td> |
---|
| 1732 | <td class="mdname" nowrap> <em>isAlpha</em> = false</td> |
---|
| 1733 | </tr> |
---|
| 1734 | <tr> |
---|
| 1735 | <td></td> |
---|
| 1736 | <td class="md">) </td> |
---|
| 1737 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 1738 | </tr> |
---|
| 1739 | |
---|
| 1740 | </table> |
---|
| 1741 | </td> |
---|
| 1742 | </tr> |
---|
| 1743 | </table> |
---|
| 1744 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1745 | <tr> |
---|
| 1746 | <td> |
---|
| 1747 | |
---|
| 1748 | </td> |
---|
| 1749 | <td> |
---|
| 1750 | |
---|
| 1751 | <p> |
---|
| 1752 | Loads a texture from an <a class="el" href="classOgre_1_1Image.html">Image</a> object. |
---|
| 1753 | <p> |
---|
| 1754 | <dl compact><dt><b>Note:</b></dt><dd>The texture will create as manual texture without loader. </dd></dl> |
---|
| 1755 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1756 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1757 | <tr><td valign=top><em>name</em> </td><td>The name to give the resulting texture </td></tr> |
---|
| 1758 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to assign the texture to </td></tr> |
---|
| 1759 | <tr><td valign=top><em>img</em> </td><td>The <a class="el" href="classOgre_1_1Image.html">Image</a> object which contains the data to load </td></tr> |
---|
| 1760 | <tr><td valign=top><em>texType</em> </td><td>The type of texture to load/create, defaults to normal 2D textures </td></tr> |
---|
| 1761 | <tr><td valign=top><em>numMipmaps</em> </td><td>The number of pre-filtered mipmaps to generate. If left to default (-1) then the TextureManager's default number of mipmaps will be used (see <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera12">setDefaultNumMipmaps()</a>) If set to MIP_UNLIMITED mipmaps will be generated until the lowest possible level, 1x1x1. </td></tr> |
---|
| 1762 | <tr><td valign=top><em>gamma</em> </td><td>The gamma adjustment factor to apply to this texture (brightening/darkening) </td></tr> |
---|
| 1763 | </table> |
---|
| 1764 | </dl> |
---|
| 1765 | </td> |
---|
| 1766 | </tr> |
---|
| 1767 | </table> |
---|
| 1768 | <a class="anchor" name="Ogre_1_1TextureManagera4" doxytag="Ogre::GLTextureManager::loadRawData" ></a><p> |
---|
| 1769 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1770 | <tr> |
---|
| 1771 | <td class="mdRow"> |
---|
| 1772 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1773 | <tr> |
---|
| 1774 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> Ogre::TextureManager::loadRawData </td> |
---|
| 1775 | <td class="md" valign="top">( </td> |
---|
| 1776 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1777 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 1778 | </tr> |
---|
| 1779 | <tr> |
---|
| 1780 | <td class="md" nowrap align="right"></td> |
---|
| 1781 | <td></td> |
---|
| 1782 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1783 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 1784 | </tr> |
---|
| 1785 | <tr> |
---|
| 1786 | <td class="md" nowrap align="right"></td> |
---|
| 1787 | <td></td> |
---|
| 1788 | <td class="md" nowrap><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> & </td> |
---|
| 1789 | <td class="mdname" nowrap> <em>stream</em>, </td> |
---|
| 1790 | </tr> |
---|
| 1791 | <tr> |
---|
| 1792 | <td class="md" nowrap align="right"></td> |
---|
| 1793 | <td></td> |
---|
| 1794 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a467">ushort</a> </td> |
---|
| 1795 | <td class="mdname" nowrap> <em>uWidth</em>, </td> |
---|
| 1796 | </tr> |
---|
| 1797 | <tr> |
---|
| 1798 | <td class="md" nowrap align="right"></td> |
---|
| 1799 | <td></td> |
---|
| 1800 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a467">ushort</a> </td> |
---|
| 1801 | <td class="mdname" nowrap> <em>uHeight</em>, </td> |
---|
| 1802 | </tr> |
---|
| 1803 | <tr> |
---|
| 1804 | <td class="md" nowrap align="right"></td> |
---|
| 1805 | <td></td> |
---|
| 1806 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a671">PixelFormat</a> </td> |
---|
| 1807 | <td class="mdname" nowrap> <em>format</em>, </td> |
---|
| 1808 | </tr> |
---|
| 1809 | <tr> |
---|
| 1810 | <td class="md" nowrap align="right"></td> |
---|
| 1811 | <td></td> |
---|
| 1812 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
| 1813 | <td class="mdname" nowrap> <em>texType</em> = TEX_TYPE_2D, </td> |
---|
| 1814 | </tr> |
---|
| 1815 | <tr> |
---|
| 1816 | <td class="md" nowrap align="right"></td> |
---|
| 1817 | <td></td> |
---|
| 1818 | <td class="md" nowrap>int </td> |
---|
| 1819 | <td class="mdname" nowrap> <em>iNumMipmaps</em> = -1, </td> |
---|
| 1820 | </tr> |
---|
| 1821 | <tr> |
---|
| 1822 | <td class="md" nowrap align="right"></td> |
---|
| 1823 | <td></td> |
---|
| 1824 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 1825 | <td class="mdname" nowrap> <em>gamma</em> = 1.0f</td> |
---|
| 1826 | </tr> |
---|
| 1827 | <tr> |
---|
| 1828 | <td></td> |
---|
| 1829 | <td class="md">) </td> |
---|
| 1830 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 1831 | </tr> |
---|
| 1832 | |
---|
| 1833 | </table> |
---|
| 1834 | </td> |
---|
| 1835 | </tr> |
---|
| 1836 | </table> |
---|
| 1837 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1838 | <tr> |
---|
| 1839 | <td> |
---|
| 1840 | |
---|
| 1841 | </td> |
---|
| 1842 | <td> |
---|
| 1843 | |
---|
| 1844 | <p> |
---|
| 1845 | Loads a texture from a raw data stream. |
---|
| 1846 | <p> |
---|
| 1847 | <dl compact><dt><b>Note:</b></dt><dd>The texture will create as manual texture without loader. </dd></dl> |
---|
| 1848 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1849 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1850 | <tr><td valign=top><em>name</em> </td><td>The name to give the resulting texture </td></tr> |
---|
| 1851 | <tr><td valign=top><em>group</em> </td><td>The name of the resource group to assign the texture to </td></tr> |
---|
| 1852 | <tr><td valign=top><em>stream</em> </td><td>Incoming data stream </td></tr> |
---|
| 1853 | <tr><td valign=top><em>width,height</em> </td><td>The dimensions of the texture </td></tr> |
---|
| 1854 | <tr><td valign=top><em>format</em> </td><td>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. </td></tr> |
---|
| 1855 | <tr><td valign=top><em>texType</em> </td><td>The type of texture to load/create, defaults to normal 2D textures </td></tr> |
---|
| 1856 | <tr><td valign=top><em>numMipmaps</em> </td><td>The number of pre-filtered mipmaps to generate. If left to default (-1) then the TextureManager's default number of mipmaps will be used (see <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagera12">setDefaultNumMipmaps()</a>) If set to MIP_UNLIMITED mipmaps will be generated until the lowest possible level, 1x1x1. </td></tr> |
---|
| 1857 | <tr><td valign=top><em>gamma</em> </td><td>The gamma adjustment factor to apply to this texture (brightening/darkening) </td></tr> |
---|
| 1858 | </table> |
---|
| 1859 | </dl> |
---|
| 1860 | </td> |
---|
| 1861 | </tr> |
---|
| 1862 | </table> |
---|
| 1863 | <a class="anchor" name="Ogre_1_1TextureManagera36" doxytag="Ogre::GLTextureManager::parseScript" ></a><p> |
---|
| 1864 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1865 | <tr> |
---|
| 1866 | <td class="mdRow"> |
---|
| 1867 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1868 | <tr> |
---|
| 1869 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::parseScript </td> |
---|
| 1870 | <td class="md" valign="top">( </td> |
---|
| 1871 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> & </td> |
---|
| 1872 | <td class="mdname" nowrap> <em>stream</em>, </td> |
---|
| 1873 | </tr> |
---|
| 1874 | <tr> |
---|
| 1875 | <td class="md" nowrap align="right"></td> |
---|
| 1876 | <td></td> |
---|
| 1877 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 1878 | <td class="mdname" nowrap> <em>groupName</em></td> |
---|
| 1879 | </tr> |
---|
| 1880 | <tr> |
---|
| 1881 | <td></td> |
---|
| 1882 | <td class="md">) </td> |
---|
| 1883 | <td class="md" colspan="2"><code> [virtual, inherited]</code></td> |
---|
| 1884 | </tr> |
---|
| 1885 | |
---|
| 1886 | </table> |
---|
| 1887 | </td> |
---|
| 1888 | </tr> |
---|
| 1889 | </table> |
---|
| 1890 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1891 | <tr> |
---|
| 1892 | <td> |
---|
| 1893 | |
---|
| 1894 | </td> |
---|
| 1895 | <td> |
---|
| 1896 | |
---|
| 1897 | <p> |
---|
| 1898 | Parse the definition of a set of resources from a script file. |
---|
| 1899 | <p> |
---|
| 1900 | <dl compact><dt><b>Remarks:</b></dt><dd>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 <a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a>). </dd></dl> |
---|
| 1901 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1902 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1903 | <tr><td valign=top><em>stream</em> </td><td>Weak reference to a data stream which is the source of the script </td></tr> |
---|
| 1904 | <tr><td valign=top><em>groupName</em> </td><td>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.</td></tr> |
---|
| 1905 | </table> |
---|
| 1906 | </dl> |
---|
| 1907 | |
---|
| 1908 | <p> |
---|
| 1909 | Implements <a class="el" href="classOgre_1_1ScriptLoader.html#Ogre_1_1ScriptLoadera2">Ogre::ScriptLoader</a>. |
---|
| 1910 | <p> |
---|
| 1911 | Reimplemented in <a class="el" href="classOgre_1_1CompositorManager.html#Ogre_1_1CompositorManagera4">Ogre::CompositorManager</a>, <a class="el" href="classOgre_1_1FontManager.html#Ogre_1_1FontManagera2">Ogre::FontManager</a>, and <a class="el" href="classOgre_1_1MaterialManager.html#Ogre_1_1MaterialManagera3">Ogre::MaterialManager</a>. |
---|
| 1912 | <p> |
---|
| 1913 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00332">332</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 1914 | <p> |
---|
| 1915 | References <a class="el" href="OgreDataStream_8h-source.html#l00149">Ogre::DataStreamPtr</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>. </td> |
---|
| 1916 | </tr> |
---|
| 1917 | </table> |
---|
| 1918 | <a class="anchor" name="Ogre_1_1TextureManagera20" doxytag="Ogre::GLTextureManager::reloadAll" ></a><p> |
---|
| 1919 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1920 | <tr> |
---|
| 1921 | <td class="mdRow"> |
---|
| 1922 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1923 | <tr> |
---|
| 1924 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::reloadAll </td> |
---|
| 1925 | <td class="md" valign="top">( </td> |
---|
| 1926 | <td class="md" nowrap valign="top">bool </td> |
---|
| 1927 | <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true </td> |
---|
| 1928 | <td class="md" valign="top"> ) </td> |
---|
| 1929 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 1930 | </tr> |
---|
| 1931 | |
---|
| 1932 | </table> |
---|
| 1933 | </td> |
---|
| 1934 | </tr> |
---|
| 1935 | </table> |
---|
| 1936 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1937 | <tr> |
---|
| 1938 | <td> |
---|
| 1939 | |
---|
| 1940 | </td> |
---|
| 1941 | <td> |
---|
| 1942 | |
---|
| 1943 | <p> |
---|
| 1944 | Caused all currently loaded resources to be reloaded. |
---|
| 1945 | <p> |
---|
| 1946 | <dl compact><dt><b>Remarks:</b></dt><dd>All resources currently being held in this manager which are also marked as currently loaded will be unloaded, then loaded again. </dd></dl> |
---|
| 1947 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1948 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1949 | <tr><td valign=top><em>reloadableOnly</em> </td><td>If true (the default), only reload the resource that is reloadable. Because some resources isn't reloadable, they will be unloaded but can't loaded again. Thus, you might not want to them unloaded. Or, you might unload all of them, and then populate them manually later. </td></tr> |
---|
| 1950 | </table> |
---|
| 1951 | </dl> |
---|
| 1952 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea32">Resource::isReloadable</a> for resource is reloadable.</dd></dl> |
---|
| 1953 | </td> |
---|
| 1954 | </tr> |
---|
| 1955 | </table> |
---|
| 1956 | <a class="anchor" name="Ogre_1_1TextureManagera22" doxytag="Ogre::GLTextureManager::reloadUnreferencedResources" ></a><p> |
---|
| 1957 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1958 | <tr> |
---|
| 1959 | <td class="mdRow"> |
---|
| 1960 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1961 | <tr> |
---|
| 1962 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::reloadUnreferencedResources </td> |
---|
| 1963 | <td class="md" valign="top">( </td> |
---|
| 1964 | <td class="md" nowrap valign="top">bool </td> |
---|
| 1965 | <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true </td> |
---|
| 1966 | <td class="md" valign="top"> ) </td> |
---|
| 1967 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 1968 | </tr> |
---|
| 1969 | |
---|
| 1970 | </table> |
---|
| 1971 | </td> |
---|
| 1972 | </tr> |
---|
| 1973 | </table> |
---|
| 1974 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1975 | <tr> |
---|
| 1976 | <td> |
---|
| 1977 | |
---|
| 1978 | </td> |
---|
| 1979 | <td> |
---|
| 1980 | |
---|
| 1981 | <p> |
---|
| 1982 | Caused all currently loaded but not referenced by any other object resources to be reloaded. |
---|
| 1983 | <p> |
---|
| 1984 | <dl compact><dt><b>Remarks:</b></dt><dd>This method behaves like reloadAll, except that it only reloads resources which are not in use, ie not referenced by other objects. </dd></dl> |
---|
| 1985 | <dl compact><dt><b></b></dt><dd>Some referenced resource may exists 'weak' pointer to their sub-components (e.g. <a class="el" href="classOgre_1_1Entity.html">Entity</a> held pointer to <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>), in this case, unload or reload that resource will cause dangerous pointer access. Use this function instead of reloadAll allows you avoid fail in those situations. </dd></dl> |
---|
| 1986 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1987 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1988 | <tr><td valign=top><em>reloadableOnly</em> </td><td>If true (the default), only reloads resources which can be subsequently automatically reloaded.</td></tr> |
---|
| 1989 | </table> |
---|
| 1990 | </dl> |
---|
| 1991 | </td> |
---|
| 1992 | </tr> |
---|
| 1993 | </table> |
---|
| 1994 | <a class="anchor" name="Ogre_1_1TextureManagera25" doxytag="Ogre::GLTextureManager::remove" ></a><p> |
---|
| 1995 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1996 | <tr> |
---|
| 1997 | <td class="mdRow"> |
---|
| 1998 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1999 | <tr> |
---|
| 2000 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td> |
---|
| 2001 | <td class="md" valign="top">( </td> |
---|
| 2002 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> </td> |
---|
| 2003 | <td class="mdname1" valign="top" nowrap> <em>handle</em> </td> |
---|
| 2004 | <td class="md" valign="top"> ) </td> |
---|
| 2005 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2006 | </tr> |
---|
| 2007 | |
---|
| 2008 | </table> |
---|
| 2009 | </td> |
---|
| 2010 | </tr> |
---|
| 2011 | </table> |
---|
| 2012 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2013 | <tr> |
---|
| 2014 | <td> |
---|
| 2015 | |
---|
| 2016 | </td> |
---|
| 2017 | <td> |
---|
| 2018 | |
---|
| 2019 | <p> |
---|
| 2020 | Remove a single resource by handle. |
---|
| 2021 | <p> |
---|
| 2022 | <dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl> |
---|
| 2023 | <dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' 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. <p> |
---|
| 2024 | If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> 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 OGRE.</dd></dl> |
---|
| 2025 | </td> |
---|
| 2026 | </tr> |
---|
| 2027 | </table> |
---|
| 2028 | <a class="anchor" name="Ogre_1_1TextureManagera24" doxytag="Ogre::GLTextureManager::remove" ></a><p> |
---|
| 2029 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2030 | <tr> |
---|
| 2031 | <td class="mdRow"> |
---|
| 2032 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2033 | <tr> |
---|
| 2034 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td> |
---|
| 2035 | <td class="md" valign="top">( </td> |
---|
| 2036 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 2037 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
| 2038 | <td class="md" valign="top"> ) </td> |
---|
| 2039 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2040 | </tr> |
---|
| 2041 | |
---|
| 2042 | </table> |
---|
| 2043 | </td> |
---|
| 2044 | </tr> |
---|
| 2045 | </table> |
---|
| 2046 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2047 | <tr> |
---|
| 2048 | <td> |
---|
| 2049 | |
---|
| 2050 | </td> |
---|
| 2051 | <td> |
---|
| 2052 | |
---|
| 2053 | <p> |
---|
| 2054 | Remove a single resource by name. |
---|
| 2055 | <p> |
---|
| 2056 | <dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl> |
---|
| 2057 | <dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' 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. <p> |
---|
| 2058 | If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> 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 OGRE.</dd></dl> |
---|
| 2059 | </td> |
---|
| 2060 | </tr> |
---|
| 2061 | </table> |
---|
| 2062 | <a class="anchor" name="Ogre_1_1TextureManagera23" doxytag="Ogre::GLTextureManager::remove" ></a><p> |
---|
| 2063 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2064 | <tr> |
---|
| 2065 | <td class="mdRow"> |
---|
| 2066 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2067 | <tr> |
---|
| 2068 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::remove </td> |
---|
| 2069 | <td class="md" valign="top">( </td> |
---|
| 2070 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> & </td> |
---|
| 2071 | <td class="mdname1" valign="top" nowrap> <em>r</em> </td> |
---|
| 2072 | <td class="md" valign="top"> ) </td> |
---|
| 2073 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2074 | </tr> |
---|
| 2075 | |
---|
| 2076 | </table> |
---|
| 2077 | </td> |
---|
| 2078 | </tr> |
---|
| 2079 | </table> |
---|
| 2080 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2081 | <tr> |
---|
| 2082 | <td> |
---|
| 2083 | |
---|
| 2084 | </td> |
---|
| 2085 | <td> |
---|
| 2086 | |
---|
| 2087 | <p> |
---|
| 2088 | Remove a single resource. |
---|
| 2089 | <p> |
---|
| 2090 | <dl compact><dt><b>Remarks:</b></dt><dd>Removes a single resource, meaning it will be removed from the list of valid resources in this manager, also causing it to be unloaded. </dd></dl> |
---|
| 2091 | <dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' 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. <p> |
---|
| 2092 | If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> 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 OGRE.</dd></dl> |
---|
| 2093 | </td> |
---|
| 2094 | </tr> |
---|
| 2095 | </table> |
---|
| 2096 | <a class="anchor" name="Ogre_1_1TextureManagera26" doxytag="Ogre::GLTextureManager::removeAll" ></a><p> |
---|
| 2097 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2098 | <tr> |
---|
| 2099 | <td class="mdRow"> |
---|
| 2100 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2101 | <tr> |
---|
| 2102 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeAll </td> |
---|
| 2103 | <td class="md" valign="top">( </td> |
---|
| 2104 | <td class="md" nowrap valign="top">void </td> |
---|
| 2105 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 2106 | <td class="md" valign="top"> ) </td> |
---|
| 2107 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2108 | </tr> |
---|
| 2109 | |
---|
| 2110 | </table> |
---|
| 2111 | </td> |
---|
| 2112 | </tr> |
---|
| 2113 | </table> |
---|
| 2114 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2115 | <tr> |
---|
| 2116 | <td> |
---|
| 2117 | |
---|
| 2118 | </td> |
---|
| 2119 | <td> |
---|
| 2120 | |
---|
| 2121 | <p> |
---|
| 2122 | Removes all resources. |
---|
| 2123 | <p> |
---|
| 2124 | <dl compact><dt><b>Note:</b></dt><dd>The word 'Destroy' 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. <p> |
---|
| 2125 | If you do have shared pointers to resources hanging around after the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> 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 OGRE. </dd></dl> |
---|
| 2126 | |
---|
| 2127 | <p> |
---|
| 2128 | Reimplemented in <a class="el" href="classOgre_1_1CompositorManager.html#Ogre_1_1CompositorManagera12">Ogre::CompositorManager</a>. </td> |
---|
| 2129 | </tr> |
---|
| 2130 | </table> |
---|
| 2131 | <a class="anchor" name="Ogre_1_1TextureManagerb3" doxytag="Ogre::GLTextureManager::removeImpl" ></a><p> |
---|
| 2132 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2133 | <tr> |
---|
| 2134 | <td class="mdRow"> |
---|
| 2135 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2136 | <tr> |
---|
| 2137 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::removeImpl </td> |
---|
| 2138 | <td class="md" valign="top">( </td> |
---|
| 2139 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">ResourcePtr</a> & </td> |
---|
| 2140 | <td class="mdname1" valign="top" nowrap> <em>res</em> </td> |
---|
| 2141 | <td class="md" valign="top"> ) </td> |
---|
| 2142 | <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> |
---|
| 2143 | </tr> |
---|
| 2144 | |
---|
| 2145 | </table> |
---|
| 2146 | </td> |
---|
| 2147 | </tr> |
---|
| 2148 | </table> |
---|
| 2149 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2150 | <tr> |
---|
| 2151 | <td> |
---|
| 2152 | |
---|
| 2153 | </td> |
---|
| 2154 | <td> |
---|
| 2155 | |
---|
| 2156 | <p> |
---|
| 2157 | Remove a resource from this manager; remove it from the lists. |
---|
| 2158 | <p> |
---|
| 2159 | </td> |
---|
| 2160 | </tr> |
---|
| 2161 | </table> |
---|
| 2162 | <a class="anchor" name="Ogre_1_1TextureManagera30" doxytag="Ogre::GLTextureManager::resourceExists" ></a><p> |
---|
| 2163 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2164 | <tr> |
---|
| 2165 | <td class="mdRow"> |
---|
| 2166 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2167 | <tr> |
---|
| 2168 | <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td> |
---|
| 2169 | <td class="md" valign="top">( </td> |
---|
| 2170 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> </td> |
---|
| 2171 | <td class="mdname1" valign="top" nowrap> <em>handle</em> </td> |
---|
| 2172 | <td class="md" valign="top"> ) </td> |
---|
| 2173 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2174 | </tr> |
---|
| 2175 | |
---|
| 2176 | </table> |
---|
| 2177 | </td> |
---|
| 2178 | </tr> |
---|
| 2179 | </table> |
---|
| 2180 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2181 | <tr> |
---|
| 2182 | <td> |
---|
| 2183 | |
---|
| 2184 | </td> |
---|
| 2185 | <td> |
---|
| 2186 | |
---|
| 2187 | <p> |
---|
| 2188 | Returns whether a resource with the given handle exists in this manager. |
---|
| 2189 | <p> |
---|
| 2190 | |
---|
| 2191 | <p> |
---|
| 2192 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00265">265</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 2193 | <p> |
---|
| 2194 | References <a class="el" href="OgreSharedPtr_8h-source.html#l00114">Ogre::SharedPtr< T >::isNull()</a>, and <a class="el" href="OgreResource_8h-source.html#l00035">Ogre::ResourceHandle</a>. </td> |
---|
| 2195 | </tr> |
---|
| 2196 | </table> |
---|
| 2197 | <a class="anchor" name="Ogre_1_1TextureManagera29" doxytag="Ogre::GLTextureManager::resourceExists" ></a><p> |
---|
| 2198 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2199 | <tr> |
---|
| 2200 | <td class="mdRow"> |
---|
| 2201 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2202 | <tr> |
---|
| 2203 | <td class="md" nowrap valign="top"> virtual bool Ogre::ResourceManager::resourceExists </td> |
---|
| 2204 | <td class="md" valign="top">( </td> |
---|
| 2205 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 2206 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
| 2207 | <td class="md" valign="top"> ) </td> |
---|
| 2208 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2209 | </tr> |
---|
| 2210 | |
---|
| 2211 | </table> |
---|
| 2212 | </td> |
---|
| 2213 | </tr> |
---|
| 2214 | </table> |
---|
| 2215 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2216 | <tr> |
---|
| 2217 | <td> |
---|
| 2218 | |
---|
| 2219 | </td> |
---|
| 2220 | <td> |
---|
| 2221 | |
---|
| 2222 | <p> |
---|
| 2223 | Returns whether the named resource exists in this manager. |
---|
| 2224 | <p> |
---|
| 2225 | |
---|
| 2226 | <p> |
---|
| 2227 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00260">260</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. |
---|
| 2228 | <p> |
---|
| 2229 | References <a class="el" href="OgreSharedPtr_8h-source.html#l00114">Ogre::SharedPtr< T >::isNull()</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>. </td> |
---|
| 2230 | </tr> |
---|
| 2231 | </table> |
---|
| 2232 | <a class="anchor" name="Ogre_1_1TextureManagera12" doxytag="Ogre::GLTextureManager::setDefaultNumMipmaps" ></a><p> |
---|
| 2233 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2234 | <tr> |
---|
| 2235 | <td class="mdRow"> |
---|
| 2236 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2237 | <tr> |
---|
| 2238 | <td class="md" nowrap valign="top"> virtual void Ogre::TextureManager::setDefaultNumMipmaps </td> |
---|
| 2239 | <td class="md" valign="top">( </td> |
---|
| 2240 | <td class="md" nowrap valign="top">size_t </td> |
---|
| 2241 | <td class="mdname1" valign="top" nowrap> <em>num</em> </td> |
---|
| 2242 | <td class="md" valign="top"> ) </td> |
---|
| 2243 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2244 | </tr> |
---|
| 2245 | |
---|
| 2246 | </table> |
---|
| 2247 | </td> |
---|
| 2248 | </tr> |
---|
| 2249 | </table> |
---|
| 2250 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2251 | <tr> |
---|
| 2252 | <td> |
---|
| 2253 | |
---|
| 2254 | </td> |
---|
| 2255 | <td> |
---|
| 2256 | |
---|
| 2257 | <p> |
---|
| 2258 | Sets the default number of mipmaps to be used for loaded textures, for when textures are loaded automatically (e.g. |
---|
| 2259 | <p> |
---|
| 2260 | by <a class="el" href="classOgre_1_1Material.html">Material</a> class) or when 'load' is called with the default parameters by the application. If set to MIP_UNLIMITED mipmaps will be generated until the lowest possible level, 1x1x1. <dl compact><dt><b>Note:</b></dt><dd>The default value is 0. </dd></dl> |
---|
| 2261 | </td> |
---|
| 2262 | </tr> |
---|
| 2263 | </table> |
---|
| 2264 | <a class="anchor" name="Ogre_1_1TextureManagera15" doxytag="Ogre::GLTextureManager::setMemoryBudget" ></a><p> |
---|
| 2265 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2266 | <tr> |
---|
| 2267 | <td class="mdRow"> |
---|
| 2268 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2269 | <tr> |
---|
| 2270 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::setMemoryBudget </td> |
---|
| 2271 | <td class="md" valign="top">( </td> |
---|
| 2272 | <td class="md" nowrap valign="top">size_t </td> |
---|
| 2273 | <td class="mdname1" valign="top" nowrap> <em>bytes</em> </td> |
---|
| 2274 | <td class="md" valign="top"> ) </td> |
---|
| 2275 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2276 | </tr> |
---|
| 2277 | |
---|
| 2278 | </table> |
---|
| 2279 | </td> |
---|
| 2280 | </tr> |
---|
| 2281 | </table> |
---|
| 2282 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2283 | <tr> |
---|
| 2284 | <td> |
---|
| 2285 | |
---|
| 2286 | </td> |
---|
| 2287 | <td> |
---|
| 2288 | |
---|
| 2289 | <p> |
---|
| 2290 | Set a limit on the amount of memory this resource handler may use. |
---|
| 2291 | <p> |
---|
| 2292 | <dl compact><dt><b>Remarks:</b></dt><dd>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 <a class="el" href="classOgre_1_1Resource.html">Resource</a> is not destroyed; it simply needs to be reloaded when next used. </dd></dl> |
---|
| 2293 | </td> |
---|
| 2294 | </tr> |
---|
| 2295 | </table> |
---|
| 2296 | <a class="anchor" name="Ogre_1_1TextureManagera18" doxytag="Ogre::GLTextureManager::unload" ></a><p> |
---|
| 2297 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2298 | <tr> |
---|
| 2299 | <td class="mdRow"> |
---|
| 2300 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2301 | <tr> |
---|
| 2302 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td> |
---|
| 2303 | <td class="md" valign="top">( </td> |
---|
| 2304 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> </td> |
---|
| 2305 | <td class="mdname1" valign="top" nowrap> <em>handle</em> </td> |
---|
| 2306 | <td class="md" valign="top"> ) </td> |
---|
| 2307 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2308 | </tr> |
---|
| 2309 | |
---|
| 2310 | </table> |
---|
| 2311 | </td> |
---|
| 2312 | </tr> |
---|
| 2313 | </table> |
---|
| 2314 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2315 | <tr> |
---|
| 2316 | <td> |
---|
| 2317 | |
---|
| 2318 | </td> |
---|
| 2319 | <td> |
---|
| 2320 | |
---|
| 2321 | <p> |
---|
| 2322 | Unloads a single resource by handle. |
---|
| 2323 | <p> |
---|
| 2324 | <dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl> |
---|
| 2325 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups.</dd></dl> |
---|
| 2326 | </td> |
---|
| 2327 | </tr> |
---|
| 2328 | </table> |
---|
| 2329 | <a class="anchor" name="Ogre_1_1TextureManagera17" doxytag="Ogre::GLTextureManager::unload" ></a><p> |
---|
| 2330 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2331 | <tr> |
---|
| 2332 | <td class="mdRow"> |
---|
| 2333 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2334 | <tr> |
---|
| 2335 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unload </td> |
---|
| 2336 | <td class="md" valign="top">( </td> |
---|
| 2337 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
| 2338 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
| 2339 | <td class="md" valign="top"> ) </td> |
---|
| 2340 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2341 | </tr> |
---|
| 2342 | |
---|
| 2343 | </table> |
---|
| 2344 | </td> |
---|
| 2345 | </tr> |
---|
| 2346 | </table> |
---|
| 2347 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2348 | <tr> |
---|
| 2349 | <td> |
---|
| 2350 | |
---|
| 2351 | </td> |
---|
| 2352 | <td> |
---|
| 2353 | |
---|
| 2354 | <p> |
---|
| 2355 | Unloads a single resource by name. |
---|
| 2356 | <p> |
---|
| 2357 | <dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl> |
---|
| 2358 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups.</dd></dl> |
---|
| 2359 | </td> |
---|
| 2360 | </tr> |
---|
| 2361 | </table> |
---|
| 2362 | <a class="anchor" name="Ogre_1_1TextureManagera19" doxytag="Ogre::GLTextureManager::unloadAll" ></a><p> |
---|
| 2363 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2364 | <tr> |
---|
| 2365 | <td class="mdRow"> |
---|
| 2366 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2367 | <tr> |
---|
| 2368 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unloadAll </td> |
---|
| 2369 | <td class="md" valign="top">( </td> |
---|
| 2370 | <td class="md" nowrap valign="top">bool </td> |
---|
| 2371 | <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true </td> |
---|
| 2372 | <td class="md" valign="top"> ) </td> |
---|
| 2373 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2374 | </tr> |
---|
| 2375 | |
---|
| 2376 | </table> |
---|
| 2377 | </td> |
---|
| 2378 | </tr> |
---|
| 2379 | </table> |
---|
| 2380 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2381 | <tr> |
---|
| 2382 | <td> |
---|
| 2383 | |
---|
| 2384 | </td> |
---|
| 2385 | <td> |
---|
| 2386 | |
---|
| 2387 | <p> |
---|
| 2388 | Unloads all resources. |
---|
| 2389 | <p> |
---|
| 2390 | <dl compact><dt><b>Remarks:</b></dt><dd>Unloaded resources are not removed, they simply free up their memory as much as they can and wait to be reloaded. </dd></dl> |
---|
| 2391 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ResourceGroupManager.html">ResourceGroupManager</a> for unloading of resource groups. </dd></dl> |
---|
| 2392 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 2393 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 2394 | <tr><td valign=top><em>reloadableOnly</em> </td><td>If true (the default), only unload the resource that is reloadable. Because some resources isn't reloadable, they will be unloaded but can'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. </td></tr> |
---|
| 2395 | </table> |
---|
| 2396 | </dl> |
---|
| 2397 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea32">Resource::isReloadable</a> for resource is reloadable.</dd></dl> |
---|
| 2398 | </td> |
---|
| 2399 | </tr> |
---|
| 2400 | </table> |
---|
| 2401 | <a class="anchor" name="Ogre_1_1TextureManagera21" doxytag="Ogre::GLTextureManager::unloadUnreferencedResources" ></a><p> |
---|
| 2402 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2403 | <tr> |
---|
| 2404 | <td class="mdRow"> |
---|
| 2405 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2406 | <tr> |
---|
| 2407 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceManager::unloadUnreferencedResources </td> |
---|
| 2408 | <td class="md" valign="top">( </td> |
---|
| 2409 | <td class="md" nowrap valign="top">bool </td> |
---|
| 2410 | <td class="mdname1" valign="top" nowrap> <em>reloadableOnly</em> = true </td> |
---|
| 2411 | <td class="md" valign="top"> ) </td> |
---|
| 2412 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 2413 | </tr> |
---|
| 2414 | |
---|
| 2415 | </table> |
---|
| 2416 | </td> |
---|
| 2417 | </tr> |
---|
| 2418 | </table> |
---|
| 2419 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2420 | <tr> |
---|
| 2421 | <td> |
---|
| 2422 | |
---|
| 2423 | </td> |
---|
| 2424 | <td> |
---|
| 2425 | |
---|
| 2426 | <p> |
---|
| 2427 | Unload all resources which are not referenced by any other object. |
---|
| 2428 | <p> |
---|
| 2429 | <dl compact><dt><b>Remarks:</b></dt><dd>This method behaves like unloadAll, 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). </dd></dl> |
---|
| 2430 | <dl compact><dt><b></b></dt><dd>Some referenced resource may exists 'weak' pointer to their sub-components (e.g. <a class="el" href="classOgre_1_1Entity.html">Entity</a> held pointer to <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>), in this case, unload or reload that resource will cause dangerous pointer access. Use this function instead of unloadAll allows you avoid fail in those situations. </dd></dl> |
---|
| 2431 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 2432 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 2433 | <tr><td valign=top><em>reloadableOnly</em> </td><td>If true (the default), only unloads resources which can be subsequently automatically reloaded.</td></tr> |
---|
| 2434 | </table> |
---|
| 2435 | </dl> |
---|
| 2436 | </td> |
---|
| 2437 | </tr> |
---|
| 2438 | </table> |
---|
| 2439 | <hr><h2>Member Data Documentation</h2> |
---|
| 2440 | <a class="anchor" name="Ogre_1_1TextureManagerp1" doxytag="Ogre::GLTextureManager::mDefaultNumMipmaps" ></a><p> |
---|
| 2441 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2442 | <tr> |
---|
| 2443 | <td class="mdRow"> |
---|
| 2444 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2445 | <tr> |
---|
| 2446 | <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagerp1">Ogre::TextureManager::mDefaultNumMipmaps</a><code> [protected, inherited]</code> |
---|
| 2447 | </table> |
---|
| 2448 | </td> |
---|
| 2449 | </tr> |
---|
| 2450 | </table> |
---|
| 2451 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2452 | <tr> |
---|
| 2453 | <td> |
---|
| 2454 | |
---|
| 2455 | </td> |
---|
| 2456 | <td> |
---|
| 2457 | |
---|
| 2458 | <p> |
---|
| 2459 | |
---|
| 2460 | <p> |
---|
| 2461 | Definition at line <a class="el" href="OgreTextureManager_8h-source.html#l00304">304</a> of file <a class="el" href="OgreTextureManager_8h-source.html">OgreTextureManager.h</a>. </td> |
---|
| 2462 | </tr> |
---|
| 2463 | </table> |
---|
| 2464 | <a class="anchor" name="Ogre_1_1GLTextureManagerp0" doxytag="Ogre::GLTextureManager::mGLSupport" ></a><p> |
---|
| 2465 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2466 | <tr> |
---|
| 2467 | <td class="mdRow"> |
---|
| 2468 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2469 | <tr> |
---|
| 2470 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GLSupport.html">GLSupport</a>& <a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagerp0">Ogre::GLTextureManager::mGLSupport</a><code> [protected]</code> |
---|
| 2471 | </table> |
---|
| 2472 | </td> |
---|
| 2473 | </tr> |
---|
| 2474 | </table> |
---|
| 2475 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2476 | <tr> |
---|
| 2477 | <td> |
---|
| 2478 | |
---|
| 2479 | </td> |
---|
| 2480 | <td> |
---|
| 2481 | |
---|
| 2482 | <p> |
---|
| 2483 | |
---|
| 2484 | <p> |
---|
| 2485 | Definition at line <a class="el" href="OgreGLTextureManager_8h-source.html#l00056">56</a> of file <a class="el" href="OgreGLTextureManager_8h-source.html">OgreGLTextureManager.h</a>. </td> |
---|
| 2486 | </tr> |
---|
| 2487 | </table> |
---|
| 2488 | <a class="anchor" name="Ogre_1_1TextureManagerp0" doxytag="Ogre::GLTextureManager::mIs32Bit" ></a><p> |
---|
| 2489 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2490 | <tr> |
---|
| 2491 | <td class="mdRow"> |
---|
| 2492 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2493 | <tr> |
---|
| 2494 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1TextureManager.html#Ogre_1_1TextureManagerp0">Ogre::TextureManager::mIs32Bit</a><code> [protected, inherited]</code> |
---|
| 2495 | </table> |
---|
| 2496 | </td> |
---|
| 2497 | </tr> |
---|
| 2498 | </table> |
---|
| 2499 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2500 | <tr> |
---|
| 2501 | <td> |
---|
| 2502 | |
---|
| 2503 | </td> |
---|
| 2504 | <td> |
---|
| 2505 | |
---|
| 2506 | <p> |
---|
| 2507 | |
---|
| 2508 | <p> |
---|
| 2509 | Definition at line <a class="el" href="OgreTextureManager_8h-source.html#l00303">303</a> of file <a class="el" href="OgreTextureManager_8h-source.html">OgreTextureManager.h</a>. </td> |
---|
| 2510 | </tr> |
---|
| 2511 | </table> |
---|
| 2512 | <a class="anchor" name="Ogre_1_1TextureManagerp8" doxytag="Ogre::GLTextureManager::mLoadOrder" ></a><p> |
---|
| 2513 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2514 | <tr> |
---|
| 2515 | <td class="mdRow"> |
---|
| 2516 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2517 | <tr> |
---|
| 2518 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp8">Ogre::ResourceManager::mLoadOrder</a><code> [protected, inherited]</code> |
---|
| 2519 | </table> |
---|
| 2520 | </td> |
---|
| 2521 | </tr> |
---|
| 2522 | </table> |
---|
| 2523 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2524 | <tr> |
---|
| 2525 | <td> |
---|
| 2526 | |
---|
| 2527 | </td> |
---|
| 2528 | <td> |
---|
| 2529 | |
---|
| 2530 | <p> |
---|
| 2531 | Loading order relative to other managers, higher is later. |
---|
| 2532 | <p> |
---|
| 2533 | |
---|
| 2534 | <p> |
---|
| 2535 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00400">400</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2536 | </tr> |
---|
| 2537 | </table> |
---|
| 2538 | <a class="anchor" name="Ogre_1_1TextureManagerp5" doxytag="Ogre::GLTextureManager::mMemoryBudget" ></a><p> |
---|
| 2539 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2540 | <tr> |
---|
| 2541 | <td class="mdRow"> |
---|
| 2542 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2543 | <tr> |
---|
| 2544 | <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp5">Ogre::ResourceManager::mMemoryBudget</a><code> [protected, inherited]</code> |
---|
| 2545 | </table> |
---|
| 2546 | </td> |
---|
| 2547 | </tr> |
---|
| 2548 | </table> |
---|
| 2549 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2550 | <tr> |
---|
| 2551 | <td> |
---|
| 2552 | |
---|
| 2553 | </td> |
---|
| 2554 | <td> |
---|
| 2555 | |
---|
| 2556 | <p> |
---|
| 2557 | |
---|
| 2558 | <p> |
---|
| 2559 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00392">392</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2560 | </tr> |
---|
| 2561 | </table> |
---|
| 2562 | <a class="anchor" name="Ogre_1_1TextureManagerp6" doxytag="Ogre::GLTextureManager::mMemoryUsage" ></a><p> |
---|
| 2563 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2564 | <tr> |
---|
| 2565 | <td class="mdRow"> |
---|
| 2566 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2567 | <tr> |
---|
| 2568 | <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp6">Ogre::ResourceManager::mMemoryUsage</a><code> [protected, inherited]</code> |
---|
| 2569 | </table> |
---|
| 2570 | </td> |
---|
| 2571 | </tr> |
---|
| 2572 | </table> |
---|
| 2573 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2574 | <tr> |
---|
| 2575 | <td> |
---|
| 2576 | |
---|
| 2577 | </td> |
---|
| 2578 | <td> |
---|
| 2579 | |
---|
| 2580 | <p> |
---|
| 2581 | |
---|
| 2582 | <p> |
---|
| 2583 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00393">393</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2584 | </tr> |
---|
| 2585 | </table> |
---|
| 2586 | <a class="anchor" name="Ogre_1_1TextureManagerp4" doxytag="Ogre::GLTextureManager::mNextHandle" ></a><p> |
---|
| 2587 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2588 | <tr> |
---|
| 2589 | <td class="mdRow"> |
---|
| 2590 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2591 | <tr> |
---|
| 2592 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a529">ResourceHandle</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp4">Ogre::ResourceManager::mNextHandle</a><code> [protected, inherited]</code> |
---|
| 2593 | </table> |
---|
| 2594 | </td> |
---|
| 2595 | </tr> |
---|
| 2596 | </table> |
---|
| 2597 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2598 | <tr> |
---|
| 2599 | <td> |
---|
| 2600 | |
---|
| 2601 | </td> |
---|
| 2602 | <td> |
---|
| 2603 | |
---|
| 2604 | <p> |
---|
| 2605 | |
---|
| 2606 | <p> |
---|
| 2607 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00391">391</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2608 | </tr> |
---|
| 2609 | </table> |
---|
| 2610 | <a class="anchor" name="Ogre_1_1TextureManagerp3" doxytag="Ogre::GLTextureManager::mResources" ></a><p> |
---|
| 2611 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2612 | <tr> |
---|
| 2613 | <td class="mdRow"> |
---|
| 2614 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2615 | <tr> |
---|
| 2616 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw0">ResourceMap</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp3">Ogre::ResourceManager::mResources</a><code> [protected, inherited]</code> |
---|
| 2617 | </table> |
---|
| 2618 | </td> |
---|
| 2619 | </tr> |
---|
| 2620 | </table> |
---|
| 2621 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2622 | <tr> |
---|
| 2623 | <td> |
---|
| 2624 | |
---|
| 2625 | </td> |
---|
| 2626 | <td> |
---|
| 2627 | |
---|
| 2628 | <p> |
---|
| 2629 | |
---|
| 2630 | <p> |
---|
| 2631 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00390">390</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2632 | </tr> |
---|
| 2633 | </table> |
---|
| 2634 | <a class="anchor" name="Ogre_1_1TextureManagerp2" doxytag="Ogre::GLTextureManager::mResourcesByHandle" ></a><p> |
---|
| 2635 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2636 | <tr> |
---|
| 2637 | <td class="mdRow"> |
---|
| 2638 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2639 | <tr> |
---|
| 2640 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerw1">ResourceHandleMap</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp2">Ogre::ResourceManager::mResourcesByHandle</a><code> [protected, inherited]</code> |
---|
| 2641 | </table> |
---|
| 2642 | </td> |
---|
| 2643 | </tr> |
---|
| 2644 | </table> |
---|
| 2645 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2646 | <tr> |
---|
| 2647 | <td> |
---|
| 2648 | |
---|
| 2649 | </td> |
---|
| 2650 | <td> |
---|
| 2651 | |
---|
| 2652 | <p> |
---|
| 2653 | |
---|
| 2654 | <p> |
---|
| 2655 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00389">389</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2656 | </tr> |
---|
| 2657 | </table> |
---|
| 2658 | <a class="anchor" name="Ogre_1_1TextureManagerp9" doxytag="Ogre::GLTextureManager::mResourceType" ></a><p> |
---|
| 2659 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2660 | <tr> |
---|
| 2661 | <td class="mdRow"> |
---|
| 2662 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2663 | <tr> |
---|
| 2664 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp9">Ogre::ResourceManager::mResourceType</a><code> [protected, inherited]</code> |
---|
| 2665 | </table> |
---|
| 2666 | </td> |
---|
| 2667 | </tr> |
---|
| 2668 | </table> |
---|
| 2669 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2670 | <tr> |
---|
| 2671 | <td> |
---|
| 2672 | |
---|
| 2673 | </td> |
---|
| 2674 | <td> |
---|
| 2675 | |
---|
| 2676 | <p> |
---|
| 2677 | String identifying the resource type this manager handles. |
---|
| 2678 | <p> |
---|
| 2679 | |
---|
| 2680 | <p> |
---|
| 2681 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00402">402</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2682 | </tr> |
---|
| 2683 | </table> |
---|
| 2684 | <a class="anchor" name="Ogre_1_1Singletont0" doxytag="Ogre::GLTextureManager::ms_Singleton" ></a><p> |
---|
| 2685 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2686 | <tr> |
---|
| 2687 | <td class="mdRow"> |
---|
| 2688 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2689 | <tr> |
---|
| 2690 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a> * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>< <a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a> >::<a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletont0">ms_Singleton</a><code> [static, protected, inherited]</code> |
---|
| 2691 | </table> |
---|
| 2692 | </td> |
---|
| 2693 | </tr> |
---|
| 2694 | </table> |
---|
| 2695 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2696 | <tr> |
---|
| 2697 | <td> |
---|
| 2698 | |
---|
| 2699 | </td> |
---|
| 2700 | <td> |
---|
| 2701 | |
---|
| 2702 | <p> |
---|
| 2703 | |
---|
| 2704 | <p> |
---|
| 2705 | Definition at line <a class="el" href="OgreSingleton_8h-source.html#l00054">54</a> of file <a class="el" href="OgreSingleton_8h-source.html">OgreSingleton.h</a>. </td> |
---|
| 2706 | </tr> |
---|
| 2707 | </table> |
---|
| 2708 | <a class="anchor" name="Ogre_1_1TextureManagerp7" doxytag="Ogre::GLTextureManager::mScriptPatterns" ></a><p> |
---|
| 2709 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2710 | <tr> |
---|
| 2711 | <td class="mdRow"> |
---|
| 2712 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2713 | <tr> |
---|
| 2714 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a580">StringVector</a> <a class="el" href="classOgre_1_1ResourceManager.html#Ogre_1_1TextureManagerp7">Ogre::ResourceManager::mScriptPatterns</a><code> [protected, inherited]</code> |
---|
| 2715 | </table> |
---|
| 2716 | </td> |
---|
| 2717 | </tr> |
---|
| 2718 | </table> |
---|
| 2719 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2720 | <tr> |
---|
| 2721 | <td> |
---|
| 2722 | |
---|
| 2723 | </td> |
---|
| 2724 | <td> |
---|
| 2725 | |
---|
| 2726 | <p> |
---|
| 2727 | Patterns to use to look for scripts if supported (e.g. *.overlay). |
---|
| 2728 | <p> |
---|
| 2729 | |
---|
| 2730 | <p> |
---|
| 2731 | Definition at line <a class="el" href="OgreResourceManager_8h-source.html#l00398">398</a> of file <a class="el" href="OgreResourceManager_8h-source.html">OgreResourceManager.h</a>. </td> |
---|
| 2732 | </tr> |
---|
| 2733 | </table> |
---|
| 2734 | <a class="anchor" name="Ogre_1_1GLTextureManagerp1" doxytag="Ogre::GLTextureManager::mWarningTextureID" ></a><p> |
---|
| 2735 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 2736 | <tr> |
---|
| 2737 | <td class="mdRow"> |
---|
| 2738 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 2739 | <tr> |
---|
| 2740 | <td class="md" nowrap valign="top"> GLuint <a class="el" href="classOgre_1_1GLTextureManager.html#Ogre_1_1GLTextureManagerp1">Ogre::GLTextureManager::mWarningTextureID</a><code> [protected]</code> |
---|
| 2741 | </table> |
---|
| 2742 | </td> |
---|
| 2743 | </tr> |
---|
| 2744 | </table> |
---|
| 2745 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 2746 | <tr> |
---|
| 2747 | <td> |
---|
| 2748 | |
---|
| 2749 | </td> |
---|
| 2750 | <td> |
---|
| 2751 | |
---|
| 2752 | <p> |
---|
| 2753 | |
---|
| 2754 | <p> |
---|
| 2755 | Definition at line <a class="el" href="OgreGLTextureManager_8h-source.html#l00057">57</a> of file <a class="el" href="OgreGLTextureManager_8h-source.html">OgreGLTextureManager.h</a>. |
---|
| 2756 | <p> |
---|
| 2757 | Referenced by <a class="el" href="OgreGLTextureManager_8h-source.html#l00042">getWarningTextureID()</a>. </td> |
---|
| 2758 | </tr> |
---|
| 2759 | </table> |
---|
| 2760 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 2761 | <li><a class="el" href="OgreGLTextureManager_8h-source.html">OgreGLTextureManager.h</a></ul> |
---|
| 2762 | <hr> |
---|
| 2763 | <p> |
---|
| 2764 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 2765 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
| 2766 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
| 2767 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
| 2768 | <Work rdf:about=""> |
---|
| 2769 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 2770 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 2771 | </Work> |
---|
| 2772 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
| 2773 | |
---|
| 2774 | Last modified Sun Mar 12 14:53:41 2006 |
---|
| 2775 | </p> |
---|
| 2776 | </body> |
---|
| 2777 | </html> |
---|