source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1Texture.html @ 657

Revision 657, 135.2 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::Texture 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::Texture Class Reference</h1>Abstract class representing a <a class="el" href="classOgre_1_1Texture.html">Texture</a> resource. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::Texture:
16<p><center><img src="classOgre_1_1Texture.png" usemap="#Ogre::Texture_map" border="0" alt=""></center>
17<map name="Ogre::Texture_map">
18<area href="classOgre_1_1Resource.html" alt="Ogre::Resource" shape="rect" coords="264,56,430,80">
19<area href="classOgre_1_1StringInterface.html" alt="Ogre::StringInterface" shape="rect" coords="264,0,430,24">
20<area href="classOgre_1_1D3D9Texture.html" alt="Ogre::D3D9Texture" shape="rect" coords="0,168,166,192">
21<area href="classOgre_1_1D3DTexture.html" alt="Ogre::D3DTexture" shape="rect" coords="176,168,342,192">
22<area href="classOgre_1_1GLTexture.html" alt="Ogre::GLTexture" shape="rect" coords="352,168,518,192">
23<area href="classOgre_1_1RenderTargetTexture.html" alt="Ogre::RenderTargetTexture" shape="rect" coords="528,168,694,192">
24</map>
25<a href="classOgre_1_1Texture-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
26<tr><td></td></tr>
27<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
28<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea0">Texture</a> (<a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *creator, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;group, bool isManual=false, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader=0)</td></tr>
29
30<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea1">setTextureType</a> (<a class="el" href="namespaceOgre.html#a681">TextureType</a> ttype)</td></tr>
31
32<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the type of texture; can only be changed before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>.  <a href="#Ogre_1_1Texturea1"></a><br><br></td></tr>
33<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a681">TextureType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea2">getTextureType</a> (void) const </td></tr>
34
35<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the type of texture.  <a href="#Ogre_1_1Texturea2"></a><br><br></td></tr>
36<tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea3">getNumMipmaps</a> (void) const </td></tr>
37
38<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the number of mipmaps to be used for this texture.  <a href="#Ogre_1_1Texturea3"></a><br><br></td></tr>
39<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea4">setNumMipmaps</a> (size_t num)</td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the number of mipmaps to be used for this texture.  <a href="#Ogre_1_1Texturea4"></a><br><br></td></tr>
42<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea5">getMipmapsHardwareGenerated</a> (void) const </td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Are mipmaps hardware generated?  <a href="#Ogre_1_1Texturea5"></a><br><br></td></tr>
45<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea6">getGamma</a> (void) const </td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the gamma adjustment factor applied to this texture.  <a href="#Ogre_1_1Texturea6"></a><br><br></td></tr>
48<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea7">setGamma</a> (float g)</td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the gamma adjustment factor applied to this texture.  <a href="#Ogre_1_1Texturea7"></a><br><br></td></tr>
51<tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea8">getHeight</a> (void) const </td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the height of the texture.  <a href="#Ogre_1_1Texturea8"></a><br><br></td></tr>
54<tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea9">getWidth</a> (void) const </td></tr>
55
56<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the width of the texture.  <a href="#Ogre_1_1Texturea9"></a><br><br></td></tr>
57<tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea10">getDepth</a> (void) const </td></tr>
58
59<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the depth of the texture (only applicable for 3D textures).  <a href="#Ogre_1_1Texturea10"></a><br><br></td></tr>
60<tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea11">getSrcHeight</a> (void) const </td></tr>
61
62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the height of the original input texture (may differ due to hardware requirements).  <a href="#Ogre_1_1Texturea11"></a><br><br></td></tr>
63<tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea12">getSrcWidth</a> (void) const </td></tr>
64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the width of the original input texture (may differ due to hardware requirements).  <a href="#Ogre_1_1Texturea12"></a><br><br></td></tr>
66<tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea13">getSrcDepth</a> (void) const </td></tr>
67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the original depth of the input texture (only applicable for 3D textures).  <a href="#Ogre_1_1Texturea13"></a><br><br></td></tr>
69<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea14">setHeight</a> (unsigned int h)</td></tr>
70
71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the height of the texture; can only do this before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>;.  <a href="#Ogre_1_1Texturea14"></a><br><br></td></tr>
72<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea15">setWidth</a> (unsigned int w)</td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the width of the texture; can only do this before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>;.  <a href="#Ogre_1_1Texturea15"></a><br><br></td></tr>
75<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea16">setDepth</a> (unsigned int d)</td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the depth of the texture (only applicable for 3D textures); ; can only do this before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>;.  <a href="#Ogre_1_1Texturea16"></a><br><br></td></tr>
78<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea17">getUsage</a> () const </td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the TextureUsage indentifier for this <a class="el" href="classOgre_1_1Texture.html">Texture</a>.  <a href="#Ogre_1_1Texturea17"></a><br><br></td></tr>
81<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea18">setUsage</a> (int u)</td></tr>
82
83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the TextureUsage indentifier for this <a class="el" href="classOgre_1_1Texture.html">Texture</a>; only useful before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>.  <a href="#Ogre_1_1Texturea18"></a><br><br></td></tr>
84<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea19">createInternalResources</a> (void)</td></tr>
85
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates the internal texture resources for this texture.  <a href="#Ogre_1_1Texturea19"></a><br><br></td></tr>
87<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea20">freeInternalResources</a> (void)</td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Frees internal texture resources for this texture.  <a href="#Ogre_1_1Texturea20"></a><br><br></td></tr>
90<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea21">copyToTexture</a> (<a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> &amp;target)</td></tr>
91
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copies (and maybe scales to fit) the contents of this texture to another texture.  <a href="#Ogre_1_1Texturea21"></a><br><br></td></tr>
93<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea22">loadImage</a> (const <a class="el" href="classOgre_1_1Image.html">Image</a> &amp;img)=0</td></tr>
94
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the data from an image.  <a href="#Ogre_1_1Texturea22"></a><br><br></td></tr>
96<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea23">loadRawData</a> (<a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &amp;stream, <a class="el" href="namespaceOgre.html#a422">ushort</a> uWidth, <a class="el" href="namespaceOgre.html#a422">ushort</a> uHeight, <a class="el" href="namespaceOgre.html#a667">PixelFormat</a> eFormat)</td></tr>
97
98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the data from a raw stream.  <a href="#Ogre_1_1Texturea23"></a><br><br></td></tr>
99<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea24">enable32Bit</a> (bool setting=true)</td></tr>
100
101<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a667">PixelFormat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea25">getFormat</a> () const </td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the pixel format for the texture surface.  <a href="#Ogre_1_1Texturea25"></a><br><br></td></tr>
104<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea26">setFormat</a> (<a class="el" href="namespaceOgre.html#a667">PixelFormat</a> pf)</td></tr>
105
106<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the pixel format for the texture surface; can only be set before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>.  <a href="#Ogre_1_1Texturea26"></a><br><br></td></tr>
107<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea27">hasAlpha</a> (void) const </td></tr>
108
109<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the texture has an alpha layer.  <a href="#Ogre_1_1Texturea27"></a><br><br></td></tr>
110<tr><td class="memItemLeft" nowrap align=right valign=top>virtual size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea28">getNumFaces</a> () const </td></tr>
111
112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of faces this texture has.  <a href="#Ogre_1_1Texturea28"></a><br><br></td></tr>
113<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1HardwarePixelBufferSharedPtr.html">HardwarePixelBufferSharedPtr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea29">getBuffer</a> (size_t face=0, size_t mipmap=0)=0</td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return hardware pixel buffer for a surface.  <a href="#Ogre_1_1Texturea29"></a><br><br></td></tr>
116<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load</a> (void)</td></tr>
117
118<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the resource, if it is not already.  <a href="#Ogre_1_1Texturea30"></a><br><br></td></tr>
119<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea31">reload</a> (void)</td></tr>
120
121<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reloads the resource, if it is already loaded.  <a href="#Ogre_1_1Texturea31"></a><br><br></td></tr>
122<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea32">isReloadable</a> (void) const </td></tr>
123
124<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> is reloadable, false otherwise.  <a href="#Ogre_1_1Texturea32"></a><br><br></td></tr>
125<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea33">isManuallyLoaded</a> (void) const </td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this resource manually loaded?  <a href="#Ogre_1_1Texturea33"></a><br><br></td></tr>
128<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea34">unload</a> (void)</td></tr>
129
130<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unloads the resource; this is not permanent, the resource can be reloaded later if required.  <a href="#Ogre_1_1Texturea34"></a><br><br></td></tr>
131<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea35">getSize</a> (void) const </td></tr>
132
133<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves info about the size of the resource.  <a href="#Ogre_1_1Texturea35"></a><br><br></td></tr>
134<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea36">touch</a> (void)</td></tr>
135
136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">'Touches' the resource to indicate it has been used.  <a href="#Ogre_1_1Texturea36"></a><br><br></td></tr>
137<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea37">getName</a> (void) const </td></tr>
138
139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets resource name.  <a href="#Ogre_1_1Texturea37"></a><br><br></td></tr>
140<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea38">getHandle</a> (void) const </td></tr>
141
142<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea39">isLoaded</a> (void) const </td></tr>
143
144<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> has been loaded, false otherwise.  <a href="#Ogre_1_1Texturea39"></a><br><br></td></tr>
145<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea40">getGroup</a> (void)</td></tr>
146
147<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the group which this resource is a member of.  <a href="#Ogre_1_1Texturea40"></a><br><br></td></tr>
148<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea41">getCreator</a> (void)</td></tr>
149
150<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the manager which created this resource.  <a href="#Ogre_1_1Texturea41"></a><br><br></td></tr>
151<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea42">getOrigin</a> (void) const </td></tr>
152
153<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the origin of this resource, e.g.  <a href="#Ogre_1_1Texturea42"></a><br><br></td></tr>
154<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea43">_notifyOrigin</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;origin)</td></tr>
155
156<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notify this resource of it's origin.  <a href="#Ogre_1_1Texturea43"></a><br><br></td></tr>
157<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea44">getParamDictionary</a> (void)</td></tr>
158
159<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the parameter dictionary for this class.  <a href="#Ogre_1_1Texturea44"></a><br><br></td></tr>
160<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea45">getParamDictionary</a> (void) const </td></tr>
161
162<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a518">ParameterList</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea46">getParameters</a> (void) const </td></tr>
163
164<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a list of parameters valid for this object.  <a href="#Ogre_1_1Texturea46"></a><br><br></td></tr>
165<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea47">setParameter</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;value)</td></tr>
166
167<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic parameter setting method.  <a href="#Ogre_1_1Texturea47"></a><br><br></td></tr>
168<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea48">setParameterList</a> (const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> &amp;paramList)</td></tr>
169
170<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic multiple parameter setting method.  <a href="#Ogre_1_1Texturea48"></a><br><br></td></tr>
171<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea49">getParameter</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name) const </td></tr>
172
173<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic parameter retrieval method.  <a href="#Ogre_1_1Texturea49"></a><br><br></td></tr>
174<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea50">copyParametersTo</a> (<a class="el" href="classOgre_1_1StringInterface.html">StringInterface</a> *dest) const </td></tr>
175
176<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method for copying this object's parameters to another object.  <a href="#Ogre_1_1Texturea50"></a><br><br></td></tr>
177<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
178<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturee0">cleanupDictionary</a> ()</td></tr>
179
180<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cleans up the static 'msDictionary' required to reset <a class="el" href="namespaceOgre.html">Ogre</a>, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> implementers (e.g.  <a href="#Ogre_1_1Texturee0"></a><br><br></td></tr>
181<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
182<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Textureb0">calculateSize</a> (void) const </td></tr>
183
184<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">  <a href="#Ogre_1_1Textureb0"></a><br><br></td></tr>
185<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Textureb1">_loadImages</a> (const std::vector&lt; const <a class="el" href="classOgre_1_1Image.html">Image</a> * &gt; &amp;images)</td></tr>
186
187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic method to load the texture from a set of images.  <a href="#Ogre_1_1Textureb1"></a><br><br></td></tr>
188<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Textureb2">createInternalResourcesImpl</a> (void)=0</td></tr>
189
190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implementation of creating internal texture resources.  <a href="#Ogre_1_1Textureb2"></a><br><br></td></tr>
191<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Textureb3">freeInternalResourcesImpl</a> (void)=0</td></tr>
192
193<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implementation of freeing internal texture resources.  <a href="#Ogre_1_1Textureb3"></a><br><br></td></tr>
194<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Textureb4">unloadImpl</a> (void)</td></tr>
195
196<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default implementation of unload which calls freeInternalResources.  <a href="#Ogre_1_1Textureb4"></a><br><br></td></tr>
197<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Textureb5">loadImpl</a> (void)=0</td></tr>
198
199<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal implementation of the 'load' action, only called if this resource is not being loaded from a <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a>.  <a href="#Ogre_1_1Textureb5"></a><br><br></td></tr>
200<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Textureb6">createParamDictionary</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;className)</td></tr>
201
202<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for creating a parameter dictionary for the class, if it does not already exist.  <a href="#Ogre_1_1Textureb6"></a><br><br></td></tr>
203<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
204<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep0">mHeight</a></td></tr>
205
206<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep1">mWidth</a></td></tr>
207
208<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep2">mDepth</a></td></tr>
209
210<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep3">mNumRequestedMipmaps</a></td></tr>
211
212<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep4">mNumMipmaps</a></td></tr>
213
214<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep5">mMipmapsHardwareGenerated</a></td></tr>
215
216<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep6">mGamma</a></td></tr>
217
218<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a681">TextureType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep7">mTextureType</a></td></tr>
219
220<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a667">PixelFormat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep8">mFormat</a></td></tr>
221
222<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep9">mUsage</a></td></tr>
223
224<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep10">mSrcBpp</a></td></tr>
225
226<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep11">mSrcWidth</a></td></tr>
227
228<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep12">mSrcHeight</a></td></tr>
229
230<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep13">mSrcDepth</a></td></tr>
231
232<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep14">mFinalBpp</a></td></tr>
233
234<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep15">mHasAlpha</a></td></tr>
235
236<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep16">mInternalResourcesCreated</a></td></tr>
237
238<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep17">mCreator</a></td></tr>
239
240<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creator.  <a href="#Ogre_1_1Texturep17"></a><br><br></td></tr>
241<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep18">mName</a></td></tr>
242
243<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unique name of the resource.  <a href="#Ogre_1_1Texturep18"></a><br><br></td></tr>
244<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep19">mGroup</a></td></tr>
245
246<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The name of the resource group.  <a href="#Ogre_1_1Texturep19"></a><br><br></td></tr>
247<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep20">mHandle</a></td></tr>
248
249<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Numeric handle for more efficient look up than name.  <a href="#Ogre_1_1Texturep20"></a><br><br></td></tr>
250<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep21">mIsLoaded</a></td></tr>
251
252<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the resource currently loaded?  <a href="#Ogre_1_1Texturep21"></a><br><br></td></tr>
253<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep22">mSize</a></td></tr>
254
255<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The size of the resource in bytes.  <a href="#Ogre_1_1Texturep22"></a><br><br></td></tr>
256<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep23">mIsManual</a></td></tr>
257
258<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this file manually loaded?  <a href="#Ogre_1_1Texturep23"></a><br><br></td></tr>
259<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep24">mOrigin</a></td></tr>
260
261<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Origin of this resource (e.g. script name) - optional.  <a href="#Ogre_1_1Texturep24"></a><br><br></td></tr>
262<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep25">mLoader</a></td></tr>
263
264<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Optional manual loader; if provided, data is loaded from here instead of a file.  <a href="#Ogre_1_1Texturep25"></a><br><br></td></tr>
265<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturep26">mParamDictName</a></td></tr>
266
267<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class name for this instance to be used as a lookup (must be initialised by subclasses).  <a href="#Ogre_1_1Texturep26"></a><br><br></td></tr>
268<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
269<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a520">ParamDictionaryMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturet0">msDictionary</a></td></tr>
270
271<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dictionary of parameters.  <a href="#Ogre_1_1Texturet0"></a><br><br></td></tr>
272</table>
273<hr><a name="_details"></a><h2>Detailed Description</h2>
274Abstract class representing a <a class="el" href="classOgre_1_1Texture.html">Texture</a> resource.
275<p>
276<dl compact><dt><b>Remarks:</b></dt><dd>The actual concrete subclass which will exist for a texture is dependent on the rendering system in use (Direct3D, OpenGL etc). This class represents the commonalities, and is the one 'used' by programmers even though the real implementation could be different in reality. <a class="el" href="classOgre_1_1Texture.html">Texture</a> objects are created through the 'create' method of the <a class="el" href="classOgre_1_1TextureManager.html">TextureManager</a> concrete subclass. </dd></dl>
277
278<p>
279
280<p>
281Definition at line <a class="el" href="OgreTexture_8h-source.html#l00090">90</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
282<a class="anchor" name="Ogre_1_1Texturea0" doxytag="Ogre::Texture::Texture" ></a><p>
283<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
284  <tr>
285    <td class="mdRow">
286      <table cellpadding="0" cellspacing="0" border="0">
287        <tr>
288          <td class="md" nowrap valign="top"> Ogre::Texture::Texture </td>
289          <td class="md" valign="top">(&nbsp;</td>
290          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *&nbsp;</td>
291          <td class="mdname" nowrap> <em>creator</em>, </td>
292        </tr>
293        <tr>
294          <td class="md" nowrap align="right"></td>
295          <td></td>
296          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
297          <td class="mdname" nowrap> <em>name</em>, </td>
298        </tr>
299        <tr>
300          <td class="md" nowrap align="right"></td>
301          <td></td>
302          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a>&nbsp;</td>
303          <td class="mdname" nowrap> <em>handle</em>, </td>
304        </tr>
305        <tr>
306          <td class="md" nowrap align="right"></td>
307          <td></td>
308          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
309          <td class="mdname" nowrap> <em>group</em>, </td>
310        </tr>
311        <tr>
312          <td class="md" nowrap align="right"></td>
313          <td></td>
314          <td class="md" nowrap>bool&nbsp;</td>
315          <td class="mdname" nowrap> <em>isManual</em> = false, </td>
316        </tr>
317        <tr>
318          <td class="md" nowrap align="right"></td>
319          <td></td>
320          <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *&nbsp;</td>
321          <td class="mdname" nowrap> <em>loader</em> = 0</td>
322        </tr>
323        <tr>
324          <td></td>
325          <td class="md">)&nbsp;</td>
326          <td class="md" colspan="2"></td>
327        </tr>
328
329      </table>
330    </td>
331  </tr>
332</table>
333<table cellspacing=5 cellpadding=0 border=0>
334  <tr>
335    <td>
336      &nbsp;
337    </td>
338    <td>
339
340<p>
341    </td>
342  </tr>
343</table>
344<hr><h2>Member Function Documentation</h2>
345<a class="anchor" name="Ogre_1_1Textureb1" doxytag="Ogre::Texture::_loadImages" ></a><p>
346<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
347  <tr>
348    <td class="mdRow">
349      <table cellpadding="0" cellspacing="0" border="0">
350        <tr>
351          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::_loadImages </td>
352          <td class="md" valign="top">(&nbsp;</td>
353          <td class="md" nowrap valign="top">const std::vector&lt; const <a class="el" href="classOgre_1_1Image.html">Image</a> * &gt; &amp;&nbsp;</td>
354          <td class="mdname1" valign="top" nowrap> <em>images</em>          </td>
355          <td class="md" valign="top">&nbsp;)&nbsp;</td>
356          <td class="md" nowrap><code> [protected, virtual]</code></td>
357        </tr>
358
359      </table>
360    </td>
361  </tr>
362</table>
363<table cellspacing=5 cellpadding=0 border=0>
364  <tr>
365    <td>
366      &nbsp;
367    </td>
368    <td>
369
370<p>
371Generic method to load the texture from a set of images.
372<p>
373This can be used by the specific implementation for convience. Implementations might decide not to use this function if they can use their own image loading functions. <dl compact><dt><b>Parameters:</b></dt><dd>
374  <table border="0" cellspacing="2" cellpadding="0">
375    <tr><td valign=top><em>images</em>&nbsp;</td><td>Vector of pointers to Images. If there is only one image in this vector, the faces of that image will be used. If there are multiple images in the vector each image will be loaded as a face.</td></tr>
376  </table>
377</dl>
378    </td>
379  </tr>
380</table>
381<a class="anchor" name="Ogre_1_1Texturea43" doxytag="Ogre::Texture::_notifyOrigin" ></a><p>
382<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
383  <tr>
384    <td class="mdRow">
385      <table cellpadding="0" cellspacing="0" border="0">
386        <tr>
387          <td class="md" nowrap valign="top"> void Ogre::Resource::_notifyOrigin </td>
388          <td class="md" valign="top">(&nbsp;</td>
389          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
390          <td class="mdname1" valign="top" nowrap> <em>origin</em>          </td>
391          <td class="md" valign="top">&nbsp;)&nbsp;</td>
392          <td class="md" nowrap><code> [inherited]</code></td>
393        </tr>
394
395      </table>
396    </td>
397  </tr>
398</table>
399<table cellspacing=5 cellpadding=0 border=0>
400  <tr>
401    <td>
402      &nbsp;
403    </td>
404    <td>
405
406<p>
407Notify this resource of it's origin.
408<p>
409
410<p>
411Definition at line <a class="el" href="OgreResource_8h-source.html#l00214">214</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
412<p>
413References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
414  </tr>
415</table>
416<a class="anchor" name="Ogre_1_1Textureb0" doxytag="Ogre::Texture::calculateSize" ></a><p>
417<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
418  <tr>
419    <td class="mdRow">
420      <table cellpadding="0" cellspacing="0" border="0">
421        <tr>
422          <td class="md" nowrap valign="top"> size_t Ogre::Texture::calculateSize </td>
423          <td class="md" valign="top">(&nbsp;</td>
424          <td class="md" nowrap valign="top">void&nbsp;</td>
425          <td class="mdname1" valign="top" nowrap>          </td>
426          <td class="md" valign="top">&nbsp;)&nbsp;</td>
427          <td class="md" nowrap> const<code> [protected, virtual]</code></td>
428        </tr>
429
430      </table>
431    </td>
432  </tr>
433</table>
434<table cellspacing=5 cellpadding=0 border=0>
435  <tr>
436    <td>
437      &nbsp;
438    </td>
439    <td>
440
441<p>
442 
443<p>
444
445<p>
446Implements <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Resourceb3">Ogre::Resource</a>.    </td>
447  </tr>
448</table>
449<a class="anchor" name="Ogre_1_1Texturee0" doxytag="Ogre::Texture::cleanupDictionary" ></a><p>
450<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
451  <tr>
452    <td class="mdRow">
453      <table cellpadding="0" cellspacing="0" border="0">
454        <tr>
455          <td class="md" nowrap valign="top"> void Ogre::StringInterface::cleanupDictionary </td>
456          <td class="md" valign="top">(&nbsp;</td>
457          <td class="mdname1" valign="top" nowrap>          </td>
458          <td class="md" valign="top">&nbsp;)&nbsp;</td>
459          <td class="md" nowrap><code> [static, inherited]</code></td>
460        </tr>
461
462      </table>
463    </td>
464  </tr>
465</table>
466<table cellspacing=5 cellpadding=0 border=0>
467  <tr>
468    <td>
469      &nbsp;
470    </td>
471    <td>
472
473<p>
474Cleans up the static 'msDictionary' required to reset <a class="el" href="namespaceOgre.html">Ogre</a>, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> implementers (e.g.
475<p>
476<a class="el" href="classOgre_1_1MaterialManager.html">MaterialManager</a>) initializes.     </td>
477  </tr>
478</table>
479<a class="anchor" name="Ogre_1_1Texturea50" doxytag="Ogre::Texture::copyParametersTo" ></a><p>
480<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
481  <tr>
482    <td class="mdRow">
483      <table cellpadding="0" cellspacing="0" border="0">
484        <tr>
485          <td class="md" nowrap valign="top"> virtual void Ogre::StringInterface::copyParametersTo </td>
486          <td class="md" valign="top">(&nbsp;</td>
487          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1StringInterface.html">StringInterface</a> *&nbsp;</td>
488          <td class="mdname1" valign="top" nowrap> <em>dest</em>          </td>
489          <td class="md" valign="top">&nbsp;)&nbsp;</td>
490          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
491        </tr>
492
493      </table>
494    </td>
495  </tr>
496</table>
497<table cellspacing=5 cellpadding=0 border=0>
498  <tr>
499    <td>
500      &nbsp;
501    </td>
502    <td>
503
504<p>
505Method for copying this object's parameters to another object.
506<p>
507<dl compact><dt><b>Remarks:</b></dt><dd>This method takes the values of all the object's parameters and tries to set the same values on the destination object. This provides a completely type independent way to copy parameters to other objects. Note that because of the String manipulation involved, this should not be regarded as an efficient process and should be saved for times outside of the rendering loop. </dd></dl>
508<dl compact><dt><b></b></dt><dd>Any unrecognised parameters will be ignored as with setParameter method. </dd></dl>
509<dl compact><dt><b>Parameters:</b></dt><dd>
510  <table border="0" cellspacing="2" cellpadding="0">
511    <tr><td valign=top><em>dest</em>&nbsp;</td><td>Pointer to object to have it's parameters set the same as this object. </td></tr>
512  </table>
513</dl>
514
515<p>
516Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00296">296</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.
517<p>
518References <a class="el" href="OgreStringInterface_8h-source.html#l00084">Ogre::ParamDictionary::mParamDefs</a>, and <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea47">Ogre::StringInterface::setParameter()</a>.    </td>
519  </tr>
520</table>
521<a class="anchor" name="Ogre_1_1Texturea21" doxytag="Ogre::Texture::copyToTexture" ></a><p>
522<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
523  <tr>
524    <td class="mdRow">
525      <table cellpadding="0" cellspacing="0" border="0">
526        <tr>
527          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::copyToTexture </td>
528          <td class="md" valign="top">(&nbsp;</td>
529          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1TexturePtr.html">TexturePtr</a> &amp;&nbsp;</td>
530          <td class="mdname1" valign="top" nowrap> <em>target</em>          </td>
531          <td class="md" valign="top">&nbsp;)&nbsp;</td>
532          <td class="md" nowrap><code> [virtual]</code></td>
533        </tr>
534
535      </table>
536    </td>
537  </tr>
538</table>
539<table cellspacing=5 cellpadding=0 border=0>
540  <tr>
541    <td>
542      &nbsp;
543    </td>
544    <td>
545
546<p>
547Copies (and maybe scales to fit) the contents of this texture to another texture.
548<p>
549
550<p>
551Reimplemented in <a class="el" href="classOgre_1_1D3DTexture.html#Ogre_1_1D3DTexturea4">Ogre::D3DTexture</a>, and <a class="el" href="classOgre_1_1D3D9Texture.html#Ogre_1_1D3D9Texturea2">Ogre::D3D9Texture</a>.
552<p>
553Definition at line <a class="el" href="OgreTexture_8h-source.html#l00201">201</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
554  </tr>
555</table>
556<a class="anchor" name="Ogre_1_1Texturea19" doxytag="Ogre::Texture::createInternalResources" ></a><p>
557<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
558  <tr>
559    <td class="mdRow">
560      <table cellpadding="0" cellspacing="0" border="0">
561        <tr>
562          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::createInternalResources </td>
563          <td class="md" valign="top">(&nbsp;</td>
564          <td class="md" nowrap valign="top">void&nbsp;</td>
565          <td class="mdname1" valign="top" nowrap>          </td>
566          <td class="md" valign="top">&nbsp;)&nbsp;</td>
567          <td class="md" nowrap><code> [virtual]</code></td>
568        </tr>
569
570      </table>
571    </td>
572  </tr>
573</table>
574<table cellspacing=5 cellpadding=0 border=0>
575  <tr>
576    <td>
577      &nbsp;
578    </td>
579    <td>
580
581<p>
582Creates the internal texture resources for this texture.
583<p>
584<dl compact><dt><b>Remarks:</b></dt><dd>This method creates the internal texture resources (pixel buffers, texture surfaces etc) required to begin using this texture. You do not need to call this method directly unless you are manually creating a texture, in which case something must call it, after having set the size and format of the texture (e.g. the <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> might be the best one to call it). If you are not defining a manual texture, or if you use one of the self-contained load...() methods, then it will be called for you. </dd></dl>
585    </td>
586  </tr>
587</table>
588<a class="anchor" name="Ogre_1_1Textureb2" doxytag="Ogre::Texture::createInternalResourcesImpl" ></a><p>
589<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
590  <tr>
591    <td class="mdRow">
592      <table cellpadding="0" cellspacing="0" border="0">
593        <tr>
594          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::createInternalResourcesImpl </td>
595          <td class="md" valign="top">(&nbsp;</td>
596          <td class="md" nowrap valign="top">void&nbsp;</td>
597          <td class="mdname1" valign="top" nowrap>          </td>
598          <td class="md" valign="top">&nbsp;)&nbsp;</td>
599          <td class="md" nowrap><code> [protected, pure virtual]</code></td>
600        </tr>
601
602      </table>
603    </td>
604  </tr>
605</table>
606<table cellspacing=5 cellpadding=0 border=0>
607  <tr>
608    <td>
609      &nbsp;
610    </td>
611    <td>
612
613<p>
614Implementation of creating internal texture resources.
615<p>
616
617<p>
618Implemented in <a class="el" href="classOgre_1_1D3DTexture.html#Ogre_1_1D3DTextureb1">Ogre::D3DTexture</a>, <a class="el" href="classOgre_1_1D3D9Texture.html#Ogre_1_1D3D9Textureb8">Ogre::D3D9Texture</a>, and <a class="el" href="classOgre_1_1GLTexture.html#Ogre_1_1GLTextureb0">Ogre::GLTexture</a>.    </td>
619  </tr>
620</table>
621<a class="anchor" name="Ogre_1_1Textureb6" doxytag="Ogre::Texture::createParamDictionary" ></a><p>
622<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
623  <tr>
624    <td class="mdRow">
625      <table cellpadding="0" cellspacing="0" border="0">
626        <tr>
627          <td class="md" nowrap valign="top"> bool Ogre::StringInterface::createParamDictionary </td>
628          <td class="md" valign="top">(&nbsp;</td>
629          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
630          <td class="mdname1" valign="top" nowrap> <em>className</em>          </td>
631          <td class="md" valign="top">&nbsp;)&nbsp;</td>
632          <td class="md" nowrap><code> [protected, inherited]</code></td>
633        </tr>
634
635      </table>
636    </td>
637  </tr>
638</table>
639<table cellspacing=5 cellpadding=0 border=0>
640  <tr>
641    <td>
642      &nbsp;
643    </td>
644    <td>
645
646<p>
647Internal method for creating a parameter dictionary for the class, if it does not already exist.
648<p>
649<dl compact><dt><b>Remarks:</b></dt><dd>This method will check to see if a parameter dictionary exist for this class yet, and if not will create one. NB you must supply the name of the class (RTTI is not used or performance). </dd></dl>
650<dl compact><dt><b>Parameters:</b></dt><dd>
651  <table border="0" cellspacing="2" cellpadding="0">
652    <tr><td valign=top><em>className</em>&nbsp;</td><td>the name of the class using the dictionary </td></tr>
653  </table>
654</dl>
655<dl compact><dt><b>Returns:</b></dt><dd>true if a new dictionary was created, false if it was already there </dd></dl>
656
657<p>
658Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00172">172</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.
659<p>
660References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
661  </tr>
662</table>
663<a class="anchor" name="Ogre_1_1Texturea24" doxytag="Ogre::Texture::enable32Bit" ></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"> virtual void Ogre::Texture::enable32Bit </td>
670          <td class="md" valign="top">(&nbsp;</td>
671          <td class="md" nowrap valign="top">bool&nbsp;</td>
672          <td class="mdname1" valign="top" nowrap> <em>setting</em> = true          </td>
673          <td class="md" valign="top">&nbsp;)&nbsp;</td>
674          <td class="md" nowrap><code> [virtual]</code></td>
675        </tr>
676
677      </table>
678    </td>
679  </tr>
680</table>
681<table cellspacing=5 cellpadding=0 border=0>
682  <tr>
683    <td>
684      &nbsp;
685    </td>
686    <td>
687
688<p>
689
690<p>
691Definition at line <a class="el" href="OgreTexture_8h-source.html#l00212">212</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
692  </tr>
693</table>
694<a class="anchor" name="Ogre_1_1Texturea20" doxytag="Ogre::Texture::freeInternalResources" ></a><p>
695<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
696  <tr>
697    <td class="mdRow">
698      <table cellpadding="0" cellspacing="0" border="0">
699        <tr>
700          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::freeInternalResources </td>
701          <td class="md" valign="top">(&nbsp;</td>
702          <td class="md" nowrap valign="top">void&nbsp;</td>
703          <td class="mdname1" valign="top" nowrap>          </td>
704          <td class="md" valign="top">&nbsp;)&nbsp;</td>
705          <td class="md" nowrap><code> [virtual]</code></td>
706        </tr>
707
708      </table>
709    </td>
710  </tr>
711</table>
712<table cellspacing=5 cellpadding=0 border=0>
713  <tr>
714    <td>
715      &nbsp;
716    </td>
717    <td>
718
719<p>
720Frees internal texture resources for this texture.
721<p>
722    </td>
723  </tr>
724</table>
725<a class="anchor" name="Ogre_1_1Textureb3" doxytag="Ogre::Texture::freeInternalResourcesImpl" ></a><p>
726<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
727  <tr>
728    <td class="mdRow">
729      <table cellpadding="0" cellspacing="0" border="0">
730        <tr>
731          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::freeInternalResourcesImpl </td>
732          <td class="md" valign="top">(&nbsp;</td>
733          <td class="md" nowrap valign="top">void&nbsp;</td>
734          <td class="mdname1" valign="top" nowrap>          </td>
735          <td class="md" valign="top">&nbsp;)&nbsp;</td>
736          <td class="md" nowrap><code> [protected, pure virtual]</code></td>
737        </tr>
738
739      </table>
740    </td>
741  </tr>
742</table>
743<table cellspacing=5 cellpadding=0 border=0>
744  <tr>
745    <td>
746      &nbsp;
747    </td>
748    <td>
749
750<p>
751Implementation of freeing internal texture resources.
752<p>
753
754<p>
755Implemented in <a class="el" href="classOgre_1_1D3DTexture.html#Ogre_1_1D3DTextureb2">Ogre::D3DTexture</a>, <a class="el" href="classOgre_1_1D3D9Texture.html#Ogre_1_1D3D9Textureb9">Ogre::D3D9Texture</a>, and <a class="el" href="classOgre_1_1GLTexture.html#Ogre_1_1GLTextureb2">Ogre::GLTexture</a>.    </td>
756  </tr>
757</table>
758<a class="anchor" name="Ogre_1_1Texturea29" doxytag="Ogre::Texture::getBuffer" ></a><p>
759<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
760  <tr>
761    <td class="mdRow">
762      <table cellpadding="0" cellspacing="0" border="0">
763        <tr>
764          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1HardwarePixelBufferSharedPtr.html">HardwarePixelBufferSharedPtr</a> Ogre::Texture::getBuffer </td>
765          <td class="md" valign="top">(&nbsp;</td>
766          <td class="md" nowrap valign="top">size_t&nbsp;</td>
767          <td class="mdname" nowrap> <em>face</em> = 0, </td>
768        </tr>
769        <tr>
770          <td class="md" nowrap align="right"></td>
771          <td></td>
772          <td class="md" nowrap>size_t&nbsp;</td>
773          <td class="mdname" nowrap> <em>mipmap</em> = 0</td>
774        </tr>
775        <tr>
776          <td></td>
777          <td class="md">)&nbsp;</td>
778          <td class="md" colspan="2"><code> [pure virtual]</code></td>
779        </tr>
780
781      </table>
782    </td>
783  </tr>
784</table>
785<table cellspacing=5 cellpadding=0 border=0>
786  <tr>
787    <td>
788      &nbsp;
789    </td>
790    <td>
791
792<p>
793Return hardware pixel buffer for a surface.
794<p>
795This buffer can then be used to copy data from and to a particular level of the texture. <dl compact><dt><b>Parameters:</b></dt><dd>
796  <table border="0" cellspacing="2" cellpadding="0">
797    <tr><td valign=top><em>face</em>&nbsp;</td><td>Face number, in case of a cubemap texture. Must be 0 for other types of textures. </td></tr>
798    <tr><td valign=top><em>mipmap</em>&nbsp;</td><td>Mipmap level. This goes from 0 for the first, largest mipmap level to <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturea3">getNumMipmaps()</a>-1 for the smallest. </td></tr>
799  </table>
800</dl>
801<dl compact><dt><b>Returns:</b></dt><dd>A shared pointer to a hardware pixel buffer </dd></dl>
802<dl compact><dt><b>Remarks:</b></dt><dd>The buffer is invalidated when the resource is unloaded or destroyed. Do not use it after the lifetime of the containing texture.</dd></dl>
803
804<p>
805Implemented in <a class="el" href="classOgre_1_1D3DTexture.html#Ogre_1_1D3DTexturea6">Ogre::D3DTexture</a>, <a class="el" href="classOgre_1_1D3D9Texture.html#Ogre_1_1D3D9Texturea4">Ogre::D3D9Texture</a>, and <a class="el" href="classOgre_1_1GLTexture.html#Ogre_1_1GLTexturea4">Ogre::GLTexture</a>.    </td>
806  </tr>
807</table>
808<a class="anchor" name="Ogre_1_1Texturea41" doxytag="Ogre::Texture::getCreator" ></a><p>
809<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
810  <tr>
811    <td class="mdRow">
812      <table cellpadding="0" cellspacing="0" border="0">
813        <tr>
814          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>* Ogre::Resource::getCreator </td>
815          <td class="md" valign="top">(&nbsp;</td>
816          <td class="md" nowrap valign="top">void&nbsp;</td>
817          <td class="mdname1" valign="top" nowrap>          </td>
818          <td class="md" valign="top">&nbsp;)&nbsp;</td>
819          <td class="md" nowrap><code> [inherited]</code></td>
820        </tr>
821
822      </table>
823    </td>
824  </tr>
825</table>
826<table cellspacing=5 cellpadding=0 border=0>
827  <tr>
828    <td>
829      &nbsp;
830    </td>
831    <td>
832
833<p>
834Gets the manager which created this resource.
835<p>
836
837<p>
838Definition at line <a class="el" href="OgreResource_8h-source.html#l00205">205</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
839  </tr>
840</table>
841<a class="anchor" name="Ogre_1_1Texturea10" doxytag="Ogre::Texture::getDepth" ></a><p>
842<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
843  <tr>
844    <td class="mdRow">
845      <table cellpadding="0" cellspacing="0" border="0">
846        <tr>
847          <td class="md" nowrap valign="top"> virtual unsigned int Ogre::Texture::getDepth </td>
848          <td class="md" valign="top">(&nbsp;</td>
849          <td class="md" nowrap valign="top">void&nbsp;</td>
850          <td class="mdname1" valign="top" nowrap>          </td>
851          <td class="md" valign="top">&nbsp;)&nbsp;</td>
852          <td class="md" nowrap> const<code> [virtual]</code></td>
853        </tr>
854
855      </table>
856    </td>
857  </tr>
858</table>
859<table cellspacing=5 cellpadding=0 border=0>
860  <tr>
861    <td>
862      &nbsp;
863    </td>
864    <td>
865
866<p>
867Returns the depth of the texture (only applicable for 3D textures).
868<p>
869
870<p>
871Definition at line <a class="el" href="OgreTexture_8h-source.html#l00140">140</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
872  </tr>
873</table>
874<a class="anchor" name="Ogre_1_1Texturea25" doxytag="Ogre::Texture::getFormat" ></a><p>
875<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
876  <tr>
877    <td class="mdRow">
878      <table cellpadding="0" cellspacing="0" border="0">
879        <tr>
880          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a667">PixelFormat</a> Ogre::Texture::getFormat </td>
881          <td class="md" valign="top">(&nbsp;</td>
882          <td class="mdname1" valign="top" nowrap>          </td>
883          <td class="md" valign="top">&nbsp;)&nbsp;</td>
884          <td class="md" nowrap> const<code> [virtual]</code></td>
885        </tr>
886
887      </table>
888    </td>
889  </tr>
890</table>
891<table cellspacing=5 cellpadding=0 border=0>
892  <tr>
893    <td>
894      &nbsp;
895    </td>
896    <td>
897
898<p>
899Returns the pixel format for the texture surface.
900<p>
901
902<p>
903Definition at line <a class="el" href="OgreTexture_8h-source.html#l00218">218</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.
904<p>
905References <a class="el" href="OgrePixelFormat_8h-source.html#l00033">Ogre::PixelFormat</a>.    </td>
906  </tr>
907</table>
908<a class="anchor" name="Ogre_1_1Texturea6" doxytag="Ogre::Texture::getGamma" ></a><p>
909<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
910  <tr>
911    <td class="mdRow">
912      <table cellpadding="0" cellspacing="0" border="0">
913        <tr>
914          <td class="md" nowrap valign="top"> virtual float Ogre::Texture::getGamma </td>
915          <td class="md" valign="top">(&nbsp;</td>
916          <td class="md" nowrap valign="top">void&nbsp;</td>
917          <td class="mdname1" valign="top" nowrap>          </td>
918          <td class="md" valign="top">&nbsp;)&nbsp;</td>
919          <td class="md" nowrap> const<code> [virtual]</code></td>
920        </tr>
921
922      </table>
923    </td>
924  </tr>
925</table>
926<table cellspacing=5 cellpadding=0 border=0>
927  <tr>
928    <td>
929      &nbsp;
930    </td>
931    <td>
932
933<p>
934Returns the gamma adjustment factor applied to this texture.
935<p>
936
937<p>
938Definition at line <a class="el" href="OgreTexture_8h-source.html#l00122">122</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
939  </tr>
940</table>
941<a class="anchor" name="Ogre_1_1Texturea40" doxytag="Ogre::Texture::getGroup" ></a><p>
942<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
943  <tr>
944    <td class="mdRow">
945      <table cellpadding="0" cellspacing="0" border="0">
946        <tr>
947          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>&amp; Ogre::Resource::getGroup </td>
948          <td class="md" valign="top">(&nbsp;</td>
949          <td class="md" nowrap valign="top">void&nbsp;</td>
950          <td class="mdname1" valign="top" nowrap>          </td>
951          <td class="md" valign="top">&nbsp;)&nbsp;</td>
952          <td class="md" nowrap><code> [inherited]</code></td>
953        </tr>
954
955      </table>
956    </td>
957  </tr>
958</table>
959<table cellspacing=5 cellpadding=0 border=0>
960  <tr>
961    <td>
962      &nbsp;
963    </td>
964    <td>
965
966<p>
967Gets the group which this resource is a member of.
968<p>
969
970<p>
971Definition at line <a class="el" href="OgreResource_8h-source.html#l00202">202</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
972<p>
973References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
974  </tr>
975</table>
976<a class="anchor" name="Ogre_1_1Texturea38" doxytag="Ogre::Texture::getHandle" ></a><p>
977<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
978  <tr>
979    <td class="mdRow">
980      <table cellpadding="0" cellspacing="0" border="0">
981        <tr>
982          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> Ogre::Resource::getHandle </td>
983          <td class="md" valign="top">(&nbsp;</td>
984          <td class="md" nowrap valign="top">void&nbsp;</td>
985          <td class="mdname1" valign="top" nowrap>          </td>
986          <td class="md" valign="top">&nbsp;)&nbsp;</td>
987          <td class="md" nowrap> const<code> [inherited]</code></td>
988        </tr>
989
990      </table>
991    </td>
992  </tr>
993</table>
994<table cellspacing=5 cellpadding=0 border=0>
995  <tr>
996    <td>
997      &nbsp;
998    </td>
999    <td>
1000
1001<p>
1002
1003<p>
1004Definition at line <a class="el" href="OgreResource_8h-source.html#l00188">188</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
1005<p>
1006References <a class="el" href="OgreResource_8h-source.html#l00035">Ogre::ResourceHandle</a>.    </td>
1007  </tr>
1008</table>
1009<a class="anchor" name="Ogre_1_1Texturea8" doxytag="Ogre::Texture::getHeight" ></a><p>
1010<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1011  <tr>
1012    <td class="mdRow">
1013      <table cellpadding="0" cellspacing="0" border="0">
1014        <tr>
1015          <td class="md" nowrap valign="top"> virtual unsigned int Ogre::Texture::getHeight </td>
1016          <td class="md" valign="top">(&nbsp;</td>
1017          <td class="md" nowrap valign="top">void&nbsp;</td>
1018          <td class="mdname1" valign="top" nowrap>          </td>
1019          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1020          <td class="md" nowrap> const<code> [virtual]</code></td>
1021        </tr>
1022
1023      </table>
1024    </td>
1025  </tr>
1026</table>
1027<table cellspacing=5 cellpadding=0 border=0>
1028  <tr>
1029    <td>
1030      &nbsp;
1031    </td>
1032    <td>
1033
1034<p>
1035Returns the height of the texture.
1036<p>
1037
1038<p>
1039Definition at line <a class="el" href="OgreTexture_8h-source.html#l00132">132</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1040  </tr>
1041</table>
1042<a class="anchor" name="Ogre_1_1Texturea5" doxytag="Ogre::Texture::getMipmapsHardwareGenerated" ></a><p>
1043<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1044  <tr>
1045    <td class="mdRow">
1046      <table cellpadding="0" cellspacing="0" border="0">
1047        <tr>
1048          <td class="md" nowrap valign="top"> virtual bool Ogre::Texture::getMipmapsHardwareGenerated </td>
1049          <td class="md" valign="top">(&nbsp;</td>
1050          <td class="md" nowrap valign="top">void&nbsp;</td>
1051          <td class="mdname1" valign="top" nowrap>          </td>
1052          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1053          <td class="md" nowrap> const<code> [virtual]</code></td>
1054        </tr>
1055
1056      </table>
1057    </td>
1058  </tr>
1059</table>
1060<table cellspacing=5 cellpadding=0 border=0>
1061  <tr>
1062    <td>
1063      &nbsp;
1064    </td>
1065    <td>
1066
1067<p>
1068Are mipmaps hardware generated?
1069<p>
1070<dl compact><dt><b>Remarks:</b></dt><dd>Will only be accurate after texture load, or createInternalResources</dd></dl>
1071
1072<p>
1073Definition at line <a class="el" href="OgreTexture_8h-source.html#l00118">118</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1074  </tr>
1075</table>
1076<a class="anchor" name="Ogre_1_1Texturea37" doxytag="Ogre::Texture::getName" ></a><p>
1077<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1078  <tr>
1079    <td class="mdRow">
1080      <table cellpadding="0" cellspacing="0" border="0">
1081        <tr>
1082          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>&amp; Ogre::Resource::getName </td>
1083          <td class="md" valign="top">(&nbsp;</td>
1084          <td class="md" nowrap valign="top">void&nbsp;</td>
1085          <td class="mdname1" valign="top" nowrap>          </td>
1086          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1087          <td class="md" nowrap> const<code> [inherited]</code></td>
1088        </tr>
1089
1090      </table>
1091    </td>
1092  </tr>
1093</table>
1094<table cellspacing=5 cellpadding=0 border=0>
1095  <tr>
1096    <td>
1097      &nbsp;
1098    </td>
1099    <td>
1100
1101<p>
1102Gets resource name.
1103<p>
1104
1105<p>
1106Definition at line <a class="el" href="OgreResource_8h-source.html#l00183">183</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
1107<p>
1108References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
1109  </tr>
1110</table>
1111<a class="anchor" name="Ogre_1_1Texturea28" doxytag="Ogre::Texture::getNumFaces" ></a><p>
1112<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1113  <tr>
1114    <td class="mdRow">
1115      <table cellpadding="0" cellspacing="0" border="0">
1116        <tr>
1117          <td class="md" nowrap valign="top"> virtual size_t Ogre::Texture::getNumFaces </td>
1118          <td class="md" valign="top">(&nbsp;</td>
1119          <td class="mdname1" valign="top" nowrap>          </td>
1120          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1121          <td class="md" nowrap> const<code> [virtual]</code></td>
1122        </tr>
1123
1124      </table>
1125    </td>
1126  </tr>
1127</table>
1128<table cellspacing=5 cellpadding=0 border=0>
1129  <tr>
1130    <td>
1131      &nbsp;
1132    </td>
1133    <td>
1134
1135<p>
1136Return the number of faces this texture has.
1137<p>
1138This will be 6 for a cubemap texture and 1 for a 1D, 2D or 3D one.     </td>
1139  </tr>
1140</table>
1141<a class="anchor" name="Ogre_1_1Texturea3" doxytag="Ogre::Texture::getNumMipmaps" ></a><p>
1142<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1143  <tr>
1144    <td class="mdRow">
1145      <table cellpadding="0" cellspacing="0" border="0">
1146        <tr>
1147          <td class="md" nowrap valign="top"> virtual size_t Ogre::Texture::getNumMipmaps </td>
1148          <td class="md" valign="top">(&nbsp;</td>
1149          <td class="md" nowrap valign="top">void&nbsp;</td>
1150          <td class="mdname1" valign="top" nowrap>          </td>
1151          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1152          <td class="md" nowrap> const<code> [virtual]</code></td>
1153        </tr>
1154
1155      </table>
1156    </td>
1157  </tr>
1158</table>
1159<table cellspacing=5 cellpadding=0 border=0>
1160  <tr>
1161    <td>
1162      &nbsp;
1163    </td>
1164    <td>
1165
1166<p>
1167Gets the number of mipmaps to be used for this texture.
1168<p>
1169
1170<p>
1171Definition at line <a class="el" href="OgreTexture_8h-source.html#l00106">106</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1172  </tr>
1173</table>
1174<a class="anchor" name="Ogre_1_1Texturea42" doxytag="Ogre::Texture::getOrigin" ></a><p>
1175<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1176  <tr>
1177    <td class="mdRow">
1178      <table cellpadding="0" cellspacing="0" border="0">
1179        <tr>
1180          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>&amp; Ogre::Resource::getOrigin </td>
1181          <td class="md" valign="top">(&nbsp;</td>
1182          <td class="md" nowrap valign="top">void&nbsp;</td>
1183          <td class="mdname1" valign="top" nowrap>          </td>
1184          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1185          <td class="md" nowrap> const<code> [inherited]</code></td>
1186        </tr>
1187
1188      </table>
1189    </td>
1190  </tr>
1191</table>
1192<table cellspacing=5 cellpadding=0 border=0>
1193  <tr>
1194    <td>
1195      &nbsp;
1196    </td>
1197    <td>
1198
1199<p>
1200Get the origin of this resource, e.g.
1201<p>
1202a script file name. <dl compact><dt><b>Remarks:</b></dt><dd>This property will only contain something if the creator of this resource chose to populate it. Script loaders are advised to populate it.</dd></dl>
1203
1204<p>
1205Definition at line <a class="el" href="OgreResource_8h-source.html#l00212">212</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
1206<p>
1207References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
1208  </tr>
1209</table>
1210<a class="anchor" name="Ogre_1_1Texturea45" doxytag="Ogre::Texture::getParamDictionary" ></a><p>
1211<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1212  <tr>
1213    <td class="mdRow">
1214      <table cellpadding="0" cellspacing="0" border="0">
1215        <tr>
1216          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a>* Ogre::StringInterface::getParamDictionary </td>
1217          <td class="md" valign="top">(&nbsp;</td>
1218          <td class="md" nowrap valign="top">void&nbsp;</td>
1219          <td class="mdname1" valign="top" nowrap>          </td>
1220          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1221          <td class="md" nowrap> const<code> [inherited]</code></td>
1222        </tr>
1223
1224      </table>
1225    </td>
1226  </tr>
1227</table>
1228<table cellspacing=5 cellpadding=0 border=0>
1229  <tr>
1230    <td>
1231      &nbsp;
1232    </td>
1233    <td>
1234
1235<p>
1236
1237<p>
1238Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00209">209</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
1239  </tr>
1240</table>
1241<a class="anchor" name="Ogre_1_1Texturea44" doxytag="Ogre::Texture::getParamDictionary" ></a><p>
1242<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1243  <tr>
1244    <td class="mdRow">
1245      <table cellpadding="0" cellspacing="0" border="0">
1246        <tr>
1247          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a>* Ogre::StringInterface::getParamDictionary </td>
1248          <td class="md" valign="top">(&nbsp;</td>
1249          <td class="md" nowrap valign="top">void&nbsp;</td>
1250          <td class="mdname1" valign="top" nowrap>          </td>
1251          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1252          <td class="md" nowrap><code> [inherited]</code></td>
1253        </tr>
1254
1255      </table>
1256    </td>
1257  </tr>
1258</table>
1259<table cellspacing=5 cellpadding=0 border=0>
1260  <tr>
1261    <td>
1262      &nbsp;
1263    </td>
1264    <td>
1265
1266<p>
1267Retrieves the parameter dictionary for this class.
1268<p>
1269<dl compact><dt><b>Remarks:</b></dt><dd>Only valid to call this after createParamDictionary. </dd></dl>
1270<dl compact><dt><b>Returns:</b></dt><dd>Pointer to <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> shared by all instances of this class which you can add parameters to, retrieve parameters etc. </dd></dl>
1271
1272<p>
1273Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00196">196</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
1274  </tr>
1275</table>
1276<a class="anchor" name="Ogre_1_1Texturea49" doxytag="Ogre::Texture::getParameter" ></a><p>
1277<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1278  <tr>
1279    <td class="mdRow">
1280      <table cellpadding="0" cellspacing="0" border="0">
1281        <tr>
1282          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a426">String</a> Ogre::StringInterface::getParameter </td>
1283          <td class="md" valign="top">(&nbsp;</td>
1284          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
1285          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
1286          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1287          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
1288        </tr>
1289
1290      </table>
1291    </td>
1292  </tr>
1293</table>
1294<table cellspacing=5 cellpadding=0 border=0>
1295  <tr>
1296    <td>
1297      &nbsp;
1298    </td>
1299    <td>
1300
1301<p>
1302Generic parameter retrieval method.
1303<p>
1304<dl compact><dt><b>Remarks:</b></dt><dd>Call this method with the name of a parameter to retrieve a string-format value of the parameter in question. If in doubt, check the parameter definition in the list returned from getParameters for the type of this parameter. If you like you can use <a class="el" href="classOgre_1_1StringConverter.html">StringConverter</a> to convert this string back into a native type. </dd></dl>
1305<dl compact><dt><b>Parameters:</b></dt><dd>
1306  <table border="0" cellspacing="2" cellpadding="0">
1307    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the parameter to get </td></tr>
1308  </table>
1309</dl>
1310<dl compact><dt><b>Returns:</b></dt><dd>String value of parameter, blank if not found </dd></dl>
1311
1312<p>
1313Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00265">265</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.
1314<p>
1315References <a class="el" href="classOgre_1_1ParamCommand.html#Ogre_1_1ParamCommanda0">Ogre::ParamCommand::doGet()</a>, <a class="el" href="OgreStringInterface_8h-source.html#l00090">Ogre::ParamDictionary::getParamCommand()</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
1316  </tr>
1317</table>
1318<a class="anchor" name="Ogre_1_1Texturea46" doxytag="Ogre::Texture::getParameters" ></a><p>
1319<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1320  <tr>
1321    <td class="mdRow">
1322      <table cellpadding="0" cellspacing="0" border="0">
1323        <tr>
1324          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a518">ParameterList</a>&amp; Ogre::StringInterface::getParameters </td>
1325          <td class="md" valign="top">(&nbsp;</td>
1326          <td class="md" nowrap valign="top">void&nbsp;</td>
1327          <td class="mdname1" valign="top" nowrap>          </td>
1328          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1329          <td class="md" nowrap> const<code> [inherited]</code></td>
1330        </tr>
1331
1332      </table>
1333    </td>
1334  </tr>
1335</table>
1336<table cellspacing=5 cellpadding=0 border=0>
1337  <tr>
1338    <td>
1339      &nbsp;
1340    </td>
1341    <td>
1342
1343<p>
1344Retrieves a list of parameters valid for this object.
1345<p>
1346<dl compact><dt><b>Returns:</b></dt><dd>A reference to a static list of <a class="el" href="classOgre_1_1ParameterDef.html">ParameterDef</a> objects. </dd></dl>
1347    </td>
1348  </tr>
1349</table>
1350<a class="anchor" name="Ogre_1_1Texturea35" doxytag="Ogre::Texture::getSize" ></a><p>
1351<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1352  <tr>
1353    <td class="mdRow">
1354      <table cellpadding="0" cellspacing="0" border="0">
1355        <tr>
1356          <td class="md" nowrap valign="top"> size_t Ogre::Resource::getSize </td>
1357          <td class="md" valign="top">(&nbsp;</td>
1358          <td class="md" nowrap valign="top">void&nbsp;</td>
1359          <td class="mdname1" valign="top" nowrap>          </td>
1360          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1361          <td class="md" nowrap> const<code> [inherited]</code></td>
1362        </tr>
1363
1364      </table>
1365    </td>
1366  </tr>
1367</table>
1368<table cellspacing=5 cellpadding=0 border=0>
1369  <tr>
1370    <td>
1371      &nbsp;
1372    </td>
1373    <td>
1374
1375<p>
1376Retrieves info about the size of the resource.
1377<p>
1378
1379<p>
1380Definition at line <a class="el" href="OgreResource_8h-source.html#l00172">172</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
1381  </tr>
1382</table>
1383<a class="anchor" name="Ogre_1_1Texturea13" doxytag="Ogre::Texture::getSrcDepth" ></a><p>
1384<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1385  <tr>
1386    <td class="mdRow">
1387      <table cellpadding="0" cellspacing="0" border="0">
1388        <tr>
1389          <td class="md" nowrap valign="top"> virtual unsigned int Ogre::Texture::getSrcDepth </td>
1390          <td class="md" valign="top">(&nbsp;</td>
1391          <td class="md" nowrap valign="top">void&nbsp;</td>
1392          <td class="mdname1" valign="top" nowrap>          </td>
1393          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1394          <td class="md" nowrap> const<code> [virtual]</code></td>
1395        </tr>
1396
1397      </table>
1398    </td>
1399  </tr>
1400</table>
1401<table cellspacing=5 cellpadding=0 border=0>
1402  <tr>
1403    <td>
1404      &nbsp;
1405    </td>
1406    <td>
1407
1408<p>
1409Returns the original depth of the input texture (only applicable for 3D textures).
1410<p>
1411
1412<p>
1413Definition at line <a class="el" href="OgreTexture_8h-source.html#l00152">152</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1414  </tr>
1415</table>
1416<a class="anchor" name="Ogre_1_1Texturea11" doxytag="Ogre::Texture::getSrcHeight" ></a><p>
1417<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1418  <tr>
1419    <td class="mdRow">
1420      <table cellpadding="0" cellspacing="0" border="0">
1421        <tr>
1422          <td class="md" nowrap valign="top"> virtual unsigned int Ogre::Texture::getSrcHeight </td>
1423          <td class="md" valign="top">(&nbsp;</td>
1424          <td class="md" nowrap valign="top">void&nbsp;</td>
1425          <td class="mdname1" valign="top" nowrap>          </td>
1426          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1427          <td class="md" nowrap> const<code> [virtual]</code></td>
1428        </tr>
1429
1430      </table>
1431    </td>
1432  </tr>
1433</table>
1434<table cellspacing=5 cellpadding=0 border=0>
1435  <tr>
1436    <td>
1437      &nbsp;
1438    </td>
1439    <td>
1440
1441<p>
1442Returns the height of the original input texture (may differ due to hardware requirements).
1443<p>
1444
1445<p>
1446Definition at line <a class="el" href="OgreTexture_8h-source.html#l00144">144</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1447  </tr>
1448</table>
1449<a class="anchor" name="Ogre_1_1Texturea12" doxytag="Ogre::Texture::getSrcWidth" ></a><p>
1450<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1451  <tr>
1452    <td class="mdRow">
1453      <table cellpadding="0" cellspacing="0" border="0">
1454        <tr>
1455          <td class="md" nowrap valign="top"> virtual unsigned int Ogre::Texture::getSrcWidth </td>
1456          <td class="md" valign="top">(&nbsp;</td>
1457          <td class="md" nowrap valign="top">void&nbsp;</td>
1458          <td class="mdname1" valign="top" nowrap>          </td>
1459          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1460          <td class="md" nowrap> const<code> [virtual]</code></td>
1461        </tr>
1462
1463      </table>
1464    </td>
1465  </tr>
1466</table>
1467<table cellspacing=5 cellpadding=0 border=0>
1468  <tr>
1469    <td>
1470      &nbsp;
1471    </td>
1472    <td>
1473
1474<p>
1475Returns the width of the original input texture (may differ due to hardware requirements).
1476<p>
1477
1478<p>
1479Definition at line <a class="el" href="OgreTexture_8h-source.html#l00148">148</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1480  </tr>
1481</table>
1482<a class="anchor" name="Ogre_1_1Texturea2" doxytag="Ogre::Texture::getTextureType" ></a><p>
1483<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1484  <tr>
1485    <td class="mdRow">
1486      <table cellpadding="0" cellspacing="0" border="0">
1487        <tr>
1488          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a681">TextureType</a> Ogre::Texture::getTextureType </td>
1489          <td class="md" valign="top">(&nbsp;</td>
1490          <td class="md" nowrap valign="top">void&nbsp;</td>
1491          <td class="mdname1" valign="top" nowrap>          </td>
1492          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1493          <td class="md" nowrap> const<code> [virtual]</code></td>
1494        </tr>
1495
1496      </table>
1497    </td>
1498  </tr>
1499</table>
1500<table cellspacing=5 cellpadding=0 border=0>
1501  <tr>
1502    <td>
1503      &nbsp;
1504    </td>
1505    <td>
1506
1507<p>
1508Gets the type of texture.
1509<p>
1510
1511<p>
1512Definition at line <a class="el" href="OgreTexture_8h-source.html#l00102">102</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.
1513<p>
1514References <a class="el" href="OgreTexture_8h-source.html#l00058">Ogre::TextureType</a>.    </td>
1515  </tr>
1516</table>
1517<a class="anchor" name="Ogre_1_1Texturea17" doxytag="Ogre::Texture::getUsage" ></a><p>
1518<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1519  <tr>
1520    <td class="mdRow">
1521      <table cellpadding="0" cellspacing="0" border="0">
1522        <tr>
1523          <td class="md" nowrap valign="top"> virtual int Ogre::Texture::getUsage </td>
1524          <td class="md" valign="top">(&nbsp;</td>
1525          <td class="md" nowrap valign="top">void&nbsp;</td>
1526          <td class="mdname1" valign="top" nowrap>          </td>
1527          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1528          <td class="md" nowrap> const<code> [virtual]</code></td>
1529        </tr>
1530
1531      </table>
1532    </td>
1533  </tr>
1534</table>
1535<table cellspacing=5 cellpadding=0 border=0>
1536  <tr>
1537    <td>
1538      &nbsp;
1539    </td>
1540    <td>
1541
1542<p>
1543Returns the TextureUsage indentifier for this <a class="el" href="classOgre_1_1Texture.html">Texture</a>.
1544<p>
1545
1546<p>
1547Definition at line <a class="el" href="OgreTexture_8h-source.html#l00169">169</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1548  </tr>
1549</table>
1550<a class="anchor" name="Ogre_1_1Texturea9" doxytag="Ogre::Texture::getWidth" ></a><p>
1551<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1552  <tr>
1553    <td class="mdRow">
1554      <table cellpadding="0" cellspacing="0" border="0">
1555        <tr>
1556          <td class="md" nowrap valign="top"> virtual unsigned int Ogre::Texture::getWidth </td>
1557          <td class="md" valign="top">(&nbsp;</td>
1558          <td class="md" nowrap valign="top">void&nbsp;</td>
1559          <td class="mdname1" valign="top" nowrap>          </td>
1560          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1561          <td class="md" nowrap> const<code> [virtual]</code></td>
1562        </tr>
1563
1564      </table>
1565    </td>
1566  </tr>
1567</table>
1568<table cellspacing=5 cellpadding=0 border=0>
1569  <tr>
1570    <td>
1571      &nbsp;
1572    </td>
1573    <td>
1574
1575<p>
1576Returns the width of the texture.
1577<p>
1578
1579<p>
1580Definition at line <a class="el" href="OgreTexture_8h-source.html#l00136">136</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1581  </tr>
1582</table>
1583<a class="anchor" name="Ogre_1_1Texturea27" doxytag="Ogre::Texture::hasAlpha" ></a><p>
1584<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1585  <tr>
1586    <td class="mdRow">
1587      <table cellpadding="0" cellspacing="0" border="0">
1588        <tr>
1589          <td class="md" nowrap valign="top"> virtual bool Ogre::Texture::hasAlpha </td>
1590          <td class="md" valign="top">(&nbsp;</td>
1591          <td class="md" nowrap valign="top">void&nbsp;</td>
1592          <td class="mdname1" valign="top" nowrap>          </td>
1593          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1594          <td class="md" nowrap> const<code> [virtual]</code></td>
1595        </tr>
1596
1597      </table>
1598    </td>
1599  </tr>
1600</table>
1601<table cellspacing=5 cellpadding=0 border=0>
1602  <tr>
1603    <td>
1604      &nbsp;
1605    </td>
1606    <td>
1607
1608<p>
1609Returns true if the texture has an alpha layer.
1610<p>
1611
1612<p>
1613Definition at line <a class="el" href="OgreTexture_8h-source.html#l00227">227</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1614  </tr>
1615</table>
1616<a class="anchor" name="Ogre_1_1Texturea39" doxytag="Ogre::Texture::isLoaded" ></a><p>
1617<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1618  <tr>
1619    <td class="mdRow">
1620      <table cellpadding="0" cellspacing="0" border="0">
1621        <tr>
1622          <td class="md" nowrap valign="top"> bool Ogre::Resource::isLoaded </td>
1623          <td class="md" valign="top">(&nbsp;</td>
1624          <td class="md" nowrap valign="top">void&nbsp;</td>
1625          <td class="mdname1" valign="top" nowrap>          </td>
1626          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1627          <td class="md" nowrap> const<code> [inherited]</code></td>
1628        </tr>
1629
1630      </table>
1631    </td>
1632  </tr>
1633</table>
1634<table cellspacing=5 cellpadding=0 border=0>
1635  <tr>
1636    <td>
1637      &nbsp;
1638    </td>
1639    <td>
1640
1641<p>
1642Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> has been loaded, false otherwise.
1643<p>
1644
1645<p>
1646Definition at line <a class="el" href="OgreResource_8h-source.html#l00195">195</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
1647<p>
1648References <a class="el" href="OgrePrerequisites_8h-source.html#l00171">OGRE_LOCK_AUTO_MUTEX</a>.    </td>
1649  </tr>
1650</table>
1651<a class="anchor" name="Ogre_1_1Texturea33" doxytag="Ogre::Texture::isManuallyLoaded" ></a><p>
1652<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1653  <tr>
1654    <td class="mdRow">
1655      <table cellpadding="0" cellspacing="0" border="0">
1656        <tr>
1657          <td class="md" nowrap valign="top"> bool Ogre::Resource::isManuallyLoaded </td>
1658          <td class="md" valign="top">(&nbsp;</td>
1659          <td class="md" nowrap valign="top">void&nbsp;</td>
1660          <td class="mdname1" valign="top" nowrap>          </td>
1661          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1662          <td class="md" nowrap> const<code> [inherited]</code></td>
1663        </tr>
1664
1665      </table>
1666    </td>
1667  </tr>
1668</table>
1669<table cellspacing=5 cellpadding=0 border=0>
1670  <tr>
1671    <td>
1672      &nbsp;
1673    </td>
1674    <td>
1675
1676<p>
1677Is this resource manually loaded?
1678<p>
1679
1680<p>
1681Definition at line <a class="el" href="OgreResource_8h-source.html#l00160">160</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
1682  </tr>
1683</table>
1684<a class="anchor" name="Ogre_1_1Texturea32" doxytag="Ogre::Texture::isReloadable" ></a><p>
1685<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1686  <tr>
1687    <td class="mdRow">
1688      <table cellpadding="0" cellspacing="0" border="0">
1689        <tr>
1690          <td class="md" nowrap valign="top"> bool Ogre::Resource::isReloadable </td>
1691          <td class="md" valign="top">(&nbsp;</td>
1692          <td class="md" nowrap valign="top">void&nbsp;</td>
1693          <td class="mdname1" valign="top" nowrap>          </td>
1694          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1695          <td class="md" nowrap> const<code> [inherited]</code></td>
1696        </tr>
1697
1698      </table>
1699    </td>
1700  </tr>
1701</table>
1702<table cellspacing=5 cellpadding=0 border=0>
1703  <tr>
1704    <td>
1705      &nbsp;
1706    </td>
1707    <td>
1708
1709<p>
1710Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> is reloadable, false otherwise.
1711<p>
1712
1713<p>
1714Definition at line <a class="el" href="OgreResource_8h-source.html#l00153">153</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
1715  </tr>
1716</table>
1717<a class="anchor" name="Ogre_1_1Texturea30" doxytag="Ogre::Texture::load" ></a><p>
1718<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1719  <tr>
1720    <td class="mdRow">
1721      <table cellpadding="0" cellspacing="0" border="0">
1722        <tr>
1723          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::load </td>
1724          <td class="md" valign="top">(&nbsp;</td>
1725          <td class="md" nowrap valign="top">void&nbsp;</td>
1726          <td class="mdname1" valign="top" nowrap>          </td>
1727          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1728          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1729        </tr>
1730
1731      </table>
1732    </td>
1733  </tr>
1734</table>
1735<table cellspacing=5 cellpadding=0 border=0>
1736  <tr>
1737    <td>
1738      &nbsp;
1739    </td>
1740    <td>
1741
1742<p>
1743Loads the resource, if it is not already.
1744<p>
1745<dl compact><dt><b>Remarks:</b></dt><dd>If the resource is loaded from a file, loading is automatic. If not, if for example this resource gained it's data from procedural calls rather than loading from a file, then this resource will not reload on it's own</dd></dl>
1746
1747<p>
1748Reimplemented in <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha3">Ogre::Mesh</a>, and <a class="el" href="classOgre_1_1GLSLGpuProgram.html#Ogre_1_1GLSLGpuPrograma7">Ogre::GLSLGpuProgram</a>.    </td>
1749  </tr>
1750</table>
1751<a class="anchor" name="Ogre_1_1Texturea22" doxytag="Ogre::Texture::loadImage" ></a><p>
1752<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1753  <tr>
1754    <td class="mdRow">
1755      <table cellpadding="0" cellspacing="0" border="0">
1756        <tr>
1757          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::loadImage </td>
1758          <td class="md" valign="top">(&nbsp;</td>
1759          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Image.html">Image</a> &amp;&nbsp;</td>
1760          <td class="mdname1" valign="top" nowrap> <em>img</em>          </td>
1761          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1762          <td class="md" nowrap><code> [pure virtual]</code></td>
1763        </tr>
1764
1765      </table>
1766    </td>
1767  </tr>
1768</table>
1769<table cellspacing=5 cellpadding=0 border=0>
1770  <tr>
1771    <td>
1772      &nbsp;
1773    </td>
1774    <td>
1775
1776<p>
1777Loads the data from an image.
1778<p>
1779
1780<p>
1781Implemented in <a class="el" href="classOgre_1_1D3DTexture.html#Ogre_1_1D3DTexturea2">Ogre::D3DTexture</a>, <a class="el" href="classOgre_1_1D3D9Texture.html#Ogre_1_1D3D9Texturea3">Ogre::D3D9Texture</a>, and <a class="el" href="classOgre_1_1GLTexture.html#Ogre_1_1GLTexturea2">Ogre::GLTexture</a>.    </td>
1782  </tr>
1783</table>
1784<a class="anchor" name="Ogre_1_1Textureb5" doxytag="Ogre::Texture::loadImpl" ></a><p>
1785<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1786  <tr>
1787    <td class="mdRow">
1788      <table cellpadding="0" cellspacing="0" border="0">
1789        <tr>
1790          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::loadImpl </td>
1791          <td class="md" valign="top">(&nbsp;</td>
1792          <td class="md" nowrap valign="top">void&nbsp;</td>
1793          <td class="mdname1" valign="top" nowrap>          </td>
1794          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1795          <td class="md" nowrap><code> [protected, pure virtual, inherited]</code></td>
1796        </tr>
1797
1798      </table>
1799    </td>
1800  </tr>
1801</table>
1802<table cellspacing=5 cellpadding=0 border=0>
1803  <tr>
1804    <td>
1805      &nbsp;
1806    </td>
1807    <td>
1808
1809<p>
1810Internal implementation of the 'load' action, only called if this resource is not being loaded from a <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a>.
1811<p>
1812
1813<p>
1814Implemented in <a class="el" href="classOgre_1_1Font.html#Ogre_1_1Fontb1">Ogre::Font</a>, <a class="el" href="classOgre_1_1GpuProgram.html#Ogre_1_1GpuProgramb2">Ogre::GpuProgram</a>, <a class="el" href="classOgre_1_1HighLevelGpuProgram.html#Ogre_1_1HighLevelGpuProgramb6">Ogre::HighLevelGpuProgram</a>, <a class="el" href="classOgre_1_1Material.html#Ogre_1_1Materialb2">Ogre::Material</a>, <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1Meshb3">Ogre::Mesh</a>, <a class="el" href="classOgre_1_1PatchMesh.html#Ogre_1_1PatchMeshb0">Ogre::PatchMesh</a>, <a class="el" href="classOgre_1_1Skeleton.html#Ogre_1_1Skeletonb3">Ogre::Skeleton</a>, <a class="el" href="classOgre_1_1SkeletonInstance.html#Ogre_1_1SkeletonInstanceb1">Ogre::SkeletonInstance</a>, <a class="el" href="classOgre_1_1BspLevel.html#Ogre_1_1BspLevelb0">Ogre::BspLevel</a>, <a class="el" href="classOgre_1_1D3DTexture.html#Ogre_1_1D3DTextureb0">Ogre::D3DTexture</a>, <a class="el" href="classOgre_1_1D3D9GpuProgram.html#Ogre_1_1D3D9GpuVertexProgramb2">Ogre::D3D9GpuProgram</a>, <a class="el" href="classOgre_1_1D3D9Texture.html#Ogre_1_1D3D9Textureb18">Ogre::D3D9Texture</a>, and <a class="el" href="classOgre_1_1GLTexture.html#Ogre_1_1GLTextureb1">Ogre::GLTexture</a>.    </td>
1815  </tr>
1816</table>
1817<a class="anchor" name="Ogre_1_1Texturea23" doxytag="Ogre::Texture::loadRawData" ></a><p>
1818<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1819  <tr>
1820    <td class="mdRow">
1821      <table cellpadding="0" cellspacing="0" border="0">
1822        <tr>
1823          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::loadRawData </td>
1824          <td class="md" valign="top">(&nbsp;</td>
1825          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SharedPtr.html">DataStreamPtr</a> &amp;&nbsp;</td>
1826          <td class="mdname" nowrap> <em>stream</em>, </td>
1827        </tr>
1828        <tr>
1829          <td class="md" nowrap align="right"></td>
1830          <td></td>
1831          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1832          <td class="mdname" nowrap> <em>uWidth</em>, </td>
1833        </tr>
1834        <tr>
1835          <td class="md" nowrap align="right"></td>
1836          <td></td>
1837          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1838          <td class="mdname" nowrap> <em>uHeight</em>, </td>
1839        </tr>
1840        <tr>
1841          <td class="md" nowrap align="right"></td>
1842          <td></td>
1843          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a667">PixelFormat</a>&nbsp;</td>
1844          <td class="mdname" nowrap> <em>eFormat</em></td>
1845        </tr>
1846        <tr>
1847          <td></td>
1848          <td class="md">)&nbsp;</td>
1849          <td class="md" colspan="2"><code> [virtual]</code></td>
1850        </tr>
1851
1852      </table>
1853    </td>
1854  </tr>
1855</table>
1856<table cellspacing=5 cellpadding=0 border=0>
1857  <tr>
1858    <td>
1859      &nbsp;
1860    </td>
1861    <td>
1862
1863<p>
1864Loads the data from a raw stream.
1865<p>
1866    </td>
1867  </tr>
1868</table>
1869<a class="anchor" name="Ogre_1_1Texturea31" doxytag="Ogre::Texture::reload" ></a><p>
1870<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1871  <tr>
1872    <td class="mdRow">
1873      <table cellpadding="0" cellspacing="0" border="0">
1874        <tr>
1875          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::reload </td>
1876          <td class="md" valign="top">(&nbsp;</td>
1877          <td class="md" nowrap valign="top">void&nbsp;</td>
1878          <td class="mdname1" valign="top" nowrap>          </td>
1879          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1880          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1881        </tr>
1882
1883      </table>
1884    </td>
1885  </tr>
1886</table>
1887<table cellspacing=5 cellpadding=0 border=0>
1888  <tr>
1889    <td>
1890      &nbsp;
1891    </td>
1892    <td>
1893
1894<p>
1895Reloads the resource, if it is already loaded.
1896<p>
1897<dl compact><dt><b>Remarks:</b></dt><dd>Calls <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea34">unload()</a> and then <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a> again, if the resource is already loaded. If it is not loaded already, then nothing happens.</dd></dl>
1898    </td>
1899  </tr>
1900</table>
1901<a class="anchor" name="Ogre_1_1Texturea16" doxytag="Ogre::Texture::setDepth" ></a><p>
1902<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1903  <tr>
1904    <td class="mdRow">
1905      <table cellpadding="0" cellspacing="0" border="0">
1906        <tr>
1907          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setDepth </td>
1908          <td class="md" valign="top">(&nbsp;</td>
1909          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>
1910          <td class="mdname1" valign="top" nowrap> <em>d</em>          </td>
1911          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1912          <td class="md" nowrap><code> [virtual]</code></td>
1913        </tr>
1914
1915      </table>
1916    </td>
1917  </tr>
1918</table>
1919<table cellspacing=5 cellpadding=0 border=0>
1920  <tr>
1921    <td>
1922      &nbsp;
1923    </td>
1924    <td>
1925
1926<p>
1927Set the depth of the texture (only applicable for 3D textures); ; can only do this before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>;.
1928<p>
1929
1930<p>
1931Definition at line <a class="el" href="OgreTexture_8h-source.html#l00165">165</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1932  </tr>
1933</table>
1934<a class="anchor" name="Ogre_1_1Texturea26" doxytag="Ogre::Texture::setFormat" ></a><p>
1935<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1936  <tr>
1937    <td class="mdRow">
1938      <table cellpadding="0" cellspacing="0" border="0">
1939        <tr>
1940          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setFormat </td>
1941          <td class="md" valign="top">(&nbsp;</td>
1942          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a667">PixelFormat</a>&nbsp;</td>
1943          <td class="mdname1" valign="top" nowrap> <em>pf</em>          </td>
1944          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1945          <td class="md" nowrap><code> [virtual]</code></td>
1946        </tr>
1947
1948      </table>
1949    </td>
1950  </tr>
1951</table>
1952<table cellspacing=5 cellpadding=0 border=0>
1953  <tr>
1954    <td>
1955      &nbsp;
1956    </td>
1957    <td>
1958
1959<p>
1960Sets the pixel format for the texture surface; can only be set before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>.
1961<p>
1962    </td>
1963  </tr>
1964</table>
1965<a class="anchor" name="Ogre_1_1Texturea7" doxytag="Ogre::Texture::setGamma" ></a><p>
1966<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1967  <tr>
1968    <td class="mdRow">
1969      <table cellpadding="0" cellspacing="0" border="0">
1970        <tr>
1971          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setGamma </td>
1972          <td class="md" valign="top">(&nbsp;</td>
1973          <td class="md" nowrap valign="top">float&nbsp;</td>
1974          <td class="mdname1" valign="top" nowrap> <em>g</em>          </td>
1975          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1976          <td class="md" nowrap><code> [virtual]</code></td>
1977        </tr>
1978
1979      </table>
1980    </td>
1981  </tr>
1982</table>
1983<table cellspacing=5 cellpadding=0 border=0>
1984  <tr>
1985    <td>
1986      &nbsp;
1987    </td>
1988    <td>
1989
1990<p>
1991Sets the gamma adjustment factor applied to this texture.
1992<p>
1993<dl compact><dt><b>Note:</b></dt><dd>Must be called before any 'load' method. </dd></dl>
1994
1995<p>
1996Definition at line <a class="el" href="OgreTexture_8h-source.html#l00128">128</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
1997  </tr>
1998</table>
1999<a class="anchor" name="Ogre_1_1Texturea14" doxytag="Ogre::Texture::setHeight" ></a><p>
2000<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2001  <tr>
2002    <td class="mdRow">
2003      <table cellpadding="0" cellspacing="0" border="0">
2004        <tr>
2005          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setHeight </td>
2006          <td class="md" valign="top">(&nbsp;</td>
2007          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>
2008          <td class="mdname1" valign="top" nowrap> <em>h</em>          </td>
2009          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2010          <td class="md" nowrap><code> [virtual]</code></td>
2011        </tr>
2012
2013      </table>
2014    </td>
2015  </tr>
2016</table>
2017<table cellspacing=5 cellpadding=0 border=0>
2018  <tr>
2019    <td>
2020      &nbsp;
2021    </td>
2022    <td>
2023
2024<p>
2025Set the height of the texture; can only do this before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>;.
2026<p>
2027
2028<p>
2029Definition at line <a class="el" href="OgreTexture_8h-source.html#l00156">156</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2030  </tr>
2031</table>
2032<a class="anchor" name="Ogre_1_1Texturea4" doxytag="Ogre::Texture::setNumMipmaps" ></a><p>
2033<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2034  <tr>
2035    <td class="mdRow">
2036      <table cellpadding="0" cellspacing="0" border="0">
2037        <tr>
2038          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setNumMipmaps </td>
2039          <td class="md" valign="top">(&nbsp;</td>
2040          <td class="md" nowrap valign="top">size_t&nbsp;</td>
2041          <td class="mdname1" valign="top" nowrap> <em>num</em>          </td>
2042          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2043          <td class="md" nowrap><code> [virtual]</code></td>
2044        </tr>
2045
2046      </table>
2047    </td>
2048  </tr>
2049</table>
2050<table cellspacing=5 cellpadding=0 border=0>
2051  <tr>
2052    <td>
2053      &nbsp;
2054    </td>
2055    <td>
2056
2057<p>
2058Sets the number of mipmaps to be used for this texture.
2059<p>
2060<dl compact><dt><b>Note:</b></dt><dd>Must be set before calling any 'load' method. </dd></dl>
2061
2062<p>
2063Definition at line <a class="el" href="OgreTexture_8h-source.html#l00112">112</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2064  </tr>
2065</table>
2066<a class="anchor" name="Ogre_1_1Texturea47" doxytag="Ogre::Texture::setParameter" ></a><p>
2067<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2068  <tr>
2069    <td class="mdRow">
2070      <table cellpadding="0" cellspacing="0" border="0">
2071        <tr>
2072          <td class="md" nowrap valign="top"> virtual bool Ogre::StringInterface::setParameter </td>
2073          <td class="md" valign="top">(&nbsp;</td>
2074          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
2075          <td class="mdname" nowrap> <em>name</em>, </td>
2076        </tr>
2077        <tr>
2078          <td class="md" nowrap align="right"></td>
2079          <td></td>
2080          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
2081          <td class="mdname" nowrap> <em>value</em></td>
2082        </tr>
2083        <tr>
2084          <td></td>
2085          <td class="md">)&nbsp;</td>
2086          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
2087        </tr>
2088
2089      </table>
2090    </td>
2091  </tr>
2092</table>
2093<table cellspacing=5 cellpadding=0 border=0>
2094  <tr>
2095    <td>
2096      &nbsp;
2097    </td>
2098    <td>
2099
2100<p>
2101Generic parameter setting method.
2102<p>
2103<dl compact><dt><b>Remarks:</b></dt><dd>Call this method with the name of a parameter and a string version of the value to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea46">StringInterface::getParameters</a>. </dd></dl>
2104<dl compact><dt><b>Parameters:</b></dt><dd>
2105  <table border="0" cellspacing="2" cellpadding="0">
2106    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the parameter to set </td></tr>
2107    <tr><td valign=top><em>value</em>&nbsp;</td><td>String value. Must be in the right format for the type specified in the parameter definition. See the <a class="el" href="classOgre_1_1StringConverter.html">StringConverter</a> class for more information. </td></tr>
2108  </table>
2109</dl>
2110<dl compact><dt><b>Returns:</b></dt><dd>true if set was successful, false otherwise (NB no exceptions thrown - tolerant method) </dd></dl>
2111
2112<p>
2113Referenced by <a class="el" href="OgreStringInterface_8h-source.html#l00296">Ogre::StringInterface::copyParametersTo()</a>.    </td>
2114  </tr>
2115</table>
2116<a class="anchor" name="Ogre_1_1Texturea48" doxytag="Ogre::Texture::setParameterList" ></a><p>
2117<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2118  <tr>
2119    <td class="mdRow">
2120      <table cellpadding="0" cellspacing="0" border="0">
2121        <tr>
2122          <td class="md" nowrap valign="top"> virtual void Ogre::StringInterface::setParameterList </td>
2123          <td class="md" valign="top">(&nbsp;</td>
2124          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a62">NameValuePairList</a> &amp;&nbsp;</td>
2125          <td class="mdname1" valign="top" nowrap> <em>paramList</em>          </td>
2126          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2127          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2128        </tr>
2129
2130      </table>
2131    </td>
2132  </tr>
2133</table>
2134<table cellspacing=5 cellpadding=0 border=0>
2135  <tr>
2136    <td>
2137      &nbsp;
2138    </td>
2139    <td>
2140
2141<p>
2142Generic multiple parameter setting method.
2143<p>
2144<dl compact><dt><b>Remarks:</b></dt><dd>Call this method with a list of name / value pairs to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea46">StringInterface::getParameters</a>. </dd></dl>
2145<dl compact><dt><b>Parameters:</b></dt><dd>
2146  <table border="0" cellspacing="2" cellpadding="0">
2147    <tr><td valign=top><em>paramList</em>&nbsp;</td><td>Name/value pair list </td></tr>
2148  </table>
2149</dl>
2150    </td>
2151  </tr>
2152</table>
2153<a class="anchor" name="Ogre_1_1Texturea1" doxytag="Ogre::Texture::setTextureType" ></a><p>
2154<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2155  <tr>
2156    <td class="mdRow">
2157      <table cellpadding="0" cellspacing="0" border="0">
2158        <tr>
2159          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setTextureType </td>
2160          <td class="md" valign="top">(&nbsp;</td>
2161          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a681">TextureType</a>&nbsp;</td>
2162          <td class="mdname1" valign="top" nowrap> <em>ttype</em>          </td>
2163          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2164          <td class="md" nowrap><code> [virtual]</code></td>
2165        </tr>
2166
2167      </table>
2168    </td>
2169  </tr>
2170</table>
2171<table cellspacing=5 cellpadding=0 border=0>
2172  <tr>
2173    <td>
2174      &nbsp;
2175    </td>
2176    <td>
2177
2178<p>
2179Sets the type of texture; can only be changed before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>.
2180<p>
2181
2182<p>
2183Definition at line <a class="el" href="OgreTexture_8h-source.html#l00098">98</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2184  </tr>
2185</table>
2186<a class="anchor" name="Ogre_1_1Texturea18" doxytag="Ogre::Texture::setUsage" ></a><p>
2187<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2188  <tr>
2189    <td class="mdRow">
2190      <table cellpadding="0" cellspacing="0" border="0">
2191        <tr>
2192          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setUsage </td>
2193          <td class="md" valign="top">(&nbsp;</td>
2194          <td class="md" nowrap valign="top">int&nbsp;</td>
2195          <td class="mdname1" valign="top" nowrap> <em>u</em>          </td>
2196          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2197          <td class="md" nowrap><code> [virtual]</code></td>
2198        </tr>
2199
2200      </table>
2201    </td>
2202  </tr>
2203</table>
2204<table cellspacing=5 cellpadding=0 border=0>
2205  <tr>
2206    <td>
2207      &nbsp;
2208    </td>
2209    <td>
2210
2211<p>
2212Sets the TextureUsage indentifier for this <a class="el" href="classOgre_1_1Texture.html">Texture</a>; only useful before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>.
2213<p>
2214<dl compact><dt><b>Parameters:</b></dt><dd>
2215  <table border="0" cellspacing="2" cellpadding="0">
2216    <tr><td valign=top><em>u</em>&nbsp;</td><td>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>
2217  </table>
2218</dl>
2219
2220<p>
2221Definition at line <a class="el" href="OgreTexture_8h-source.html#l00181">181</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2222  </tr>
2223</table>
2224<a class="anchor" name="Ogre_1_1Texturea15" doxytag="Ogre::Texture::setWidth" ></a><p>
2225<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2226  <tr>
2227    <td class="mdRow">
2228      <table cellpadding="0" cellspacing="0" border="0">
2229        <tr>
2230          <td class="md" nowrap valign="top"> virtual void Ogre::Texture::setWidth </td>
2231          <td class="md" valign="top">(&nbsp;</td>
2232          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>
2233          <td class="mdname1" valign="top" nowrap> <em>w</em>          </td>
2234          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2235          <td class="md" nowrap><code> [virtual]</code></td>
2236        </tr>
2237
2238      </table>
2239    </td>
2240  </tr>
2241</table>
2242<table cellspacing=5 cellpadding=0 border=0>
2243  <tr>
2244    <td>
2245      &nbsp;
2246    </td>
2247    <td>
2248
2249<p>
2250Set the width of the texture; can only do this before <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">load()</a>;.
2251<p>
2252
2253<p>
2254Definition at line <a class="el" href="OgreTexture_8h-source.html#l00160">160</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2255  </tr>
2256</table>
2257<a class="anchor" name="Ogre_1_1Texturea36" doxytag="Ogre::Texture::touch" ></a><p>
2258<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2259  <tr>
2260    <td class="mdRow">
2261      <table cellpadding="0" cellspacing="0" border="0">
2262        <tr>
2263          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::touch </td>
2264          <td class="md" valign="top">(&nbsp;</td>
2265          <td class="md" nowrap valign="top">void&nbsp;</td>
2266          <td class="mdname1" valign="top" nowrap>          </td>
2267          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2268          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2269        </tr>
2270
2271      </table>
2272    </td>
2273  </tr>
2274</table>
2275<table cellspacing=5 cellpadding=0 border=0>
2276  <tr>
2277    <td>
2278      &nbsp;
2279    </td>
2280    <td>
2281
2282<p>
2283'Touches' the resource to indicate it has been used.
2284<p>
2285
2286<p>
2287Reimplemented in <a class="el" href="classOgre_1_1Material.html#Ogre_1_1Materiala50">Ogre::Material</a>.    </td>
2288  </tr>
2289</table>
2290<a class="anchor" name="Ogre_1_1Texturea34" doxytag="Ogre::Texture::unload" ></a><p>
2291<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2292  <tr>
2293    <td class="mdRow">
2294      <table cellpadding="0" cellspacing="0" border="0">
2295        <tr>
2296          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::unload </td>
2297          <td class="md" valign="top">(&nbsp;</td>
2298          <td class="md" nowrap valign="top">void&nbsp;</td>
2299          <td class="mdname1" valign="top" nowrap>          </td>
2300          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2301          <td class="md" nowrap><code> [virtual, inherited]</code></td>
2302        </tr>
2303
2304      </table>
2305    </td>
2306  </tr>
2307</table>
2308<table cellspacing=5 cellpadding=0 border=0>
2309  <tr>
2310    <td>
2311      &nbsp;
2312    </td>
2313    <td>
2314
2315<p>
2316Unloads the resource; this is not permanent, the resource can be reloaded later if required.
2317<p>
2318
2319<p>
2320Reimplemented in <a class="el" href="classOgre_1_1GLSLGpuProgram.html#Ogre_1_1GLSLGpuPrograma2">Ogre::GLSLGpuProgram</a>.    </td>
2321  </tr>
2322</table>
2323<a class="anchor" name="Ogre_1_1Textureb4" doxytag="Ogre::Texture::unloadImpl" ></a><p>
2324<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2325  <tr>
2326    <td class="mdRow">
2327      <table cellpadding="0" cellspacing="0" border="0">
2328        <tr>
2329          <td class="md" nowrap valign="top"> void Ogre::Texture::unloadImpl </td>
2330          <td class="md" valign="top">(&nbsp;</td>
2331          <td class="md" nowrap valign="top">void&nbsp;</td>
2332          <td class="mdname1" valign="top" nowrap>          </td>
2333          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2334          <td class="md" nowrap><code> [protected, virtual]</code></td>
2335        </tr>
2336
2337      </table>
2338    </td>
2339  </tr>
2340</table>
2341<table cellspacing=5 cellpadding=0 border=0>
2342  <tr>
2343    <td>
2344      &nbsp;
2345    </td>
2346    <td>
2347
2348<p>
2349Default implementation of unload which calls freeInternalResources.
2350<p>
2351
2352<p>
2353Implements <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Resourceb2">Ogre::Resource</a>.    </td>
2354  </tr>
2355</table>
2356<hr><h2>Member Data Documentation</h2>
2357<a class="anchor" name="Ogre_1_1Texturep17" doxytag="Ogre::Texture::mCreator" ></a><p>
2358<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2359  <tr>
2360    <td class="mdRow">
2361      <table cellpadding="0" cellspacing="0" border="0">
2362        <tr>
2363          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a>* <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep17">Ogre::Resource::mCreator</a><code> [protected, inherited]</code>
2364      </table>
2365    </td>
2366  </tr>
2367</table>
2368<table cellspacing=5 cellpadding=0 border=0>
2369  <tr>
2370    <td>
2371      &nbsp;
2372    </td>
2373    <td>
2374
2375<p>
2376Creator.
2377<p>
2378
2379<p>
2380Definition at line <a class="el" href="OgreResource_8h-source.html#l00073">73</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2381  </tr>
2382</table>
2383<a class="anchor" name="Ogre_1_1Texturep2" doxytag="Ogre::Texture::mDepth" ></a><p>
2384<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2385  <tr>
2386    <td class="mdRow">
2387      <table cellpadding="0" cellspacing="0" border="0">
2388        <tr>
2389          <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep2">Ogre::Texture::mDepth</a><code> [protected]</code>
2390      </table>
2391    </td>
2392  </tr>
2393</table>
2394<table cellspacing=5 cellpadding=0 border=0>
2395  <tr>
2396    <td>
2397      &nbsp;
2398    </td>
2399    <td>
2400
2401<p>
2402
2403<p>
2404Definition at line <a class="el" href="OgreTexture_8h-source.html#l00252">252</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2405  </tr>
2406</table>
2407<a class="anchor" name="Ogre_1_1Texturep14" doxytag="Ogre::Texture::mFinalBpp" ></a><p>
2408<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2409  <tr>
2410    <td class="mdRow">
2411      <table cellpadding="0" cellspacing="0" border="0">
2412        <tr>
2413          <td class="md" nowrap valign="top"> unsigned short <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep14">Ogre::Texture::mFinalBpp</a><code> [protected]</code>
2414      </table>
2415    </td>
2416  </tr>
2417</table>
2418<table cellspacing=5 cellpadding=0 border=0>
2419  <tr>
2420    <td>
2421      &nbsp;
2422    </td>
2423    <td>
2424
2425<p>
2426
2427<p>
2428Definition at line <a class="el" href="OgreTexture_8h-source.html#l00265">265</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2429  </tr>
2430</table>
2431<a class="anchor" name="Ogre_1_1Texturep8" doxytag="Ogre::Texture::mFormat" ></a><p>
2432<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2433  <tr>
2434    <td class="mdRow">
2435      <table cellpadding="0" cellspacing="0" border="0">
2436        <tr>
2437          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a667">PixelFormat</a> <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep8">Ogre::Texture::mFormat</a><code> [protected]</code>
2438      </table>
2439    </td>
2440  </tr>
2441</table>
2442<table cellspacing=5 cellpadding=0 border=0>
2443  <tr>
2444    <td>
2445      &nbsp;
2446    </td>
2447    <td>
2448
2449<p>
2450
2451<p>
2452Definition at line <a class="el" href="OgreTexture_8h-source.html#l00260">260</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2453  </tr>
2454</table>
2455<a class="anchor" name="Ogre_1_1Texturep6" doxytag="Ogre::Texture::mGamma" ></a><p>
2456<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2457  <tr>
2458    <td class="mdRow">
2459      <table cellpadding="0" cellspacing="0" border="0">
2460        <tr>
2461          <td class="md" nowrap valign="top"> float <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep6">Ogre::Texture::mGamma</a><code> [protected]</code>
2462      </table>
2463    </td>
2464  </tr>
2465</table>
2466<table cellspacing=5 cellpadding=0 border=0>
2467  <tr>
2468    <td>
2469      &nbsp;
2470    </td>
2471    <td>
2472
2473<p>
2474
2475<p>
2476Definition at line <a class="el" href="OgreTexture_8h-source.html#l00257">257</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2477  </tr>
2478</table>
2479<a class="anchor" name="Ogre_1_1Texturep19" doxytag="Ogre::Texture::mGroup" ></a><p>
2480<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2481  <tr>
2482    <td class="mdRow">
2483      <table cellpadding="0" cellspacing="0" border="0">
2484        <tr>
2485          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep19">Ogre::Resource::mGroup</a><code> [protected, inherited]</code>
2486      </table>
2487    </td>
2488  </tr>
2489</table>
2490<table cellspacing=5 cellpadding=0 border=0>
2491  <tr>
2492    <td>
2493      &nbsp;
2494    </td>
2495    <td>
2496
2497<p>
2498The name of the resource group.
2499<p>
2500
2501<p>
2502Definition at line <a class="el" href="OgreResource_8h-source.html#l00077">77</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2503  </tr>
2504</table>
2505<a class="anchor" name="Ogre_1_1Texturep20" doxytag="Ogre::Texture::mHandle" ></a><p>
2506<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2507  <tr>
2508    <td class="mdRow">
2509      <table cellpadding="0" cellspacing="0" border="0">
2510        <tr>
2511          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep20">Ogre::Resource::mHandle</a><code> [protected, inherited]</code>
2512      </table>
2513    </td>
2514  </tr>
2515</table>
2516<table cellspacing=5 cellpadding=0 border=0>
2517  <tr>
2518    <td>
2519      &nbsp;
2520    </td>
2521    <td>
2522
2523<p>
2524Numeric handle for more efficient look up than name.
2525<p>
2526
2527<p>
2528Definition at line <a class="el" href="OgreResource_8h-source.html#l00079">79</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2529  </tr>
2530</table>
2531<a class="anchor" name="Ogre_1_1Texturep15" doxytag="Ogre::Texture::mHasAlpha" ></a><p>
2532<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2533  <tr>
2534    <td class="mdRow">
2535      <table cellpadding="0" cellspacing="0" border="0">
2536        <tr>
2537          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep15">Ogre::Texture::mHasAlpha</a><code> [protected]</code>
2538      </table>
2539    </td>
2540  </tr>
2541</table>
2542<table cellspacing=5 cellpadding=0 border=0>
2543  <tr>
2544    <td>
2545      &nbsp;
2546    </td>
2547    <td>
2548
2549<p>
2550
2551<p>
2552Definition at line <a class="el" href="OgreTexture_8h-source.html#l00266">266</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2553  </tr>
2554</table>
2555<a class="anchor" name="Ogre_1_1Texturep0" doxytag="Ogre::Texture::mHeight" ></a><p>
2556<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2557  <tr>
2558    <td class="mdRow">
2559      <table cellpadding="0" cellspacing="0" border="0">
2560        <tr>
2561          <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep0">Ogre::Texture::mHeight</a><code> [protected]</code>
2562      </table>
2563    </td>
2564  </tr>
2565</table>
2566<table cellspacing=5 cellpadding=0 border=0>
2567  <tr>
2568    <td>
2569      &nbsp;
2570    </td>
2571    <td>
2572
2573<p>
2574
2575<p>
2576Definition at line <a class="el" href="OgreTexture_8h-source.html#l00250">250</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2577  </tr>
2578</table>
2579<a class="anchor" name="Ogre_1_1Texturep16" doxytag="Ogre::Texture::mInternalResourcesCreated" ></a><p>
2580<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2581  <tr>
2582    <td class="mdRow">
2583      <table cellpadding="0" cellspacing="0" border="0">
2584        <tr>
2585          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep16">Ogre::Texture::mInternalResourcesCreated</a><code> [protected]</code>
2586      </table>
2587    </td>
2588  </tr>
2589</table>
2590<table cellspacing=5 cellpadding=0 border=0>
2591  <tr>
2592    <td>
2593      &nbsp;
2594    </td>
2595    <td>
2596
2597<p>
2598
2599<p>
2600Definition at line <a class="el" href="OgreTexture_8h-source.html#l00268">268</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2601  </tr>
2602</table>
2603<a class="anchor" name="Ogre_1_1Texturep21" doxytag="Ogre::Texture::mIsLoaded" ></a><p>
2604<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2605  <tr>
2606    <td class="mdRow">
2607      <table cellpadding="0" cellspacing="0" border="0">
2608        <tr>
2609          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep21">Ogre::Resource::mIsLoaded</a><code> [protected, inherited]</code>
2610      </table>
2611    </td>
2612  </tr>
2613</table>
2614<table cellspacing=5 cellpadding=0 border=0>
2615  <tr>
2616    <td>
2617      &nbsp;
2618    </td>
2619    <td>
2620
2621<p>
2622Is the resource currently loaded?
2623<p>
2624
2625<p>
2626Definition at line <a class="el" href="OgreResource_8h-source.html#l00081">81</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2627  </tr>
2628</table>
2629<a class="anchor" name="Ogre_1_1Texturep23" doxytag="Ogre::Texture::mIsManual" ></a><p>
2630<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2631  <tr>
2632    <td class="mdRow">
2633      <table cellpadding="0" cellspacing="0" border="0">
2634        <tr>
2635          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep23">Ogre::Resource::mIsManual</a><code> [protected, inherited]</code>
2636      </table>
2637    </td>
2638  </tr>
2639</table>
2640<table cellspacing=5 cellpadding=0 border=0>
2641  <tr>
2642    <td>
2643      &nbsp;
2644    </td>
2645    <td>
2646
2647<p>
2648Is this file manually loaded?
2649<p>
2650
2651<p>
2652Definition at line <a class="el" href="OgreResource_8h-source.html#l00085">85</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2653  </tr>
2654</table>
2655<a class="anchor" name="Ogre_1_1Texturep25" doxytag="Ogre::Texture::mLoader" ></a><p>
2656<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2657  <tr>
2658    <td class="mdRow">
2659      <table cellpadding="0" cellspacing="0" border="0">
2660        <tr>
2661          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a>* <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep25">Ogre::Resource::mLoader</a><code> [protected, inherited]</code>
2662      </table>
2663    </td>
2664  </tr>
2665</table>
2666<table cellspacing=5 cellpadding=0 border=0>
2667  <tr>
2668    <td>
2669      &nbsp;
2670    </td>
2671    <td>
2672
2673<p>
2674Optional manual loader; if provided, data is loaded from here instead of a file.
2675<p>
2676
2677<p>
2678Definition at line <a class="el" href="OgreResource_8h-source.html#l00089">89</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2679  </tr>
2680</table>
2681<a class="anchor" name="Ogre_1_1Texturep5" doxytag="Ogre::Texture::mMipmapsHardwareGenerated" ></a><p>
2682<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2683  <tr>
2684    <td class="mdRow">
2685      <table cellpadding="0" cellspacing="0" border="0">
2686        <tr>
2687          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep5">Ogre::Texture::mMipmapsHardwareGenerated</a><code> [protected]</code>
2688      </table>
2689    </td>
2690  </tr>
2691</table>
2692<table cellspacing=5 cellpadding=0 border=0>
2693  <tr>
2694    <td>
2695      &nbsp;
2696    </td>
2697    <td>
2698
2699<p>
2700
2701<p>
2702Definition at line <a class="el" href="OgreTexture_8h-source.html#l00256">256</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2703  </tr>
2704</table>
2705<a class="anchor" name="Ogre_1_1Texturep18" doxytag="Ogre::Texture::mName" ></a><p>
2706<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2707  <tr>
2708    <td class="mdRow">
2709      <table cellpadding="0" cellspacing="0" border="0">
2710        <tr>
2711          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep18">Ogre::Resource::mName</a><code> [protected, inherited]</code>
2712      </table>
2713    </td>
2714  </tr>
2715</table>
2716<table cellspacing=5 cellpadding=0 border=0>
2717  <tr>
2718    <td>
2719      &nbsp;
2720    </td>
2721    <td>
2722
2723<p>
2724Unique name of the resource.
2725<p>
2726
2727<p>
2728Definition at line <a class="el" href="OgreResource_8h-source.html#l00075">75</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2729  </tr>
2730</table>
2731<a class="anchor" name="Ogre_1_1Texturep4" doxytag="Ogre::Texture::mNumMipmaps" ></a><p>
2732<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2733  <tr>
2734    <td class="mdRow">
2735      <table cellpadding="0" cellspacing="0" border="0">
2736        <tr>
2737          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep4">Ogre::Texture::mNumMipmaps</a><code> [protected]</code>
2738      </table>
2739    </td>
2740  </tr>
2741</table>
2742<table cellspacing=5 cellpadding=0 border=0>
2743  <tr>
2744    <td>
2745      &nbsp;
2746    </td>
2747    <td>
2748
2749<p>
2750
2751<p>
2752Definition at line <a class="el" href="OgreTexture_8h-source.html#l00255">255</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2753  </tr>
2754</table>
2755<a class="anchor" name="Ogre_1_1Texturep3" doxytag="Ogre::Texture::mNumRequestedMipmaps" ></a><p>
2756<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2757  <tr>
2758    <td class="mdRow">
2759      <table cellpadding="0" cellspacing="0" border="0">
2760        <tr>
2761          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep3">Ogre::Texture::mNumRequestedMipmaps</a><code> [protected]</code>
2762      </table>
2763    </td>
2764  </tr>
2765</table>
2766<table cellspacing=5 cellpadding=0 border=0>
2767  <tr>
2768    <td>
2769      &nbsp;
2770    </td>
2771    <td>
2772
2773<p>
2774
2775<p>
2776Definition at line <a class="el" href="OgreTexture_8h-source.html#l00254">254</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2777  </tr>
2778</table>
2779<a class="anchor" name="Ogre_1_1Texturep24" doxytag="Ogre::Texture::mOrigin" ></a><p>
2780<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2781  <tr>
2782    <td class="mdRow">
2783      <table cellpadding="0" cellspacing="0" border="0">
2784        <tr>
2785          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep24">Ogre::Resource::mOrigin</a><code> [protected, inherited]</code>
2786      </table>
2787    </td>
2788  </tr>
2789</table>
2790<table cellspacing=5 cellpadding=0 border=0>
2791  <tr>
2792    <td>
2793      &nbsp;
2794    </td>
2795    <td>
2796
2797<p>
2798Origin of this resource (e.g. script name) - optional.
2799<p>
2800
2801<p>
2802Definition at line <a class="el" href="OgreResource_8h-source.html#l00087">87</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2803  </tr>
2804</table>
2805<a class="anchor" name="Ogre_1_1Texturep26" doxytag="Ogre::Texture::mParamDictName" ></a><p>
2806<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2807  <tr>
2808    <td class="mdRow">
2809      <table cellpadding="0" cellspacing="0" border="0">
2810        <tr>
2811          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturep26">Ogre::StringInterface::mParamDictName</a><code> [protected, inherited]</code>
2812      </table>
2813    </td>
2814  </tr>
2815</table>
2816<table cellspacing=5 cellpadding=0 border=0>
2817  <tr>
2818    <td>
2819      &nbsp;
2820    </td>
2821    <td>
2822
2823<p>
2824Class name for this instance to be used as a lookup (must be initialised by subclasses).
2825<p>
2826
2827<p>
2828Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00160">160</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
2829  </tr>
2830</table>
2831<a class="anchor" name="Ogre_1_1Texturet0" doxytag="Ogre::Texture::msDictionary" ></a><p>
2832<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2833  <tr>
2834    <td class="mdRow">
2835      <table cellpadding="0" cellspacing="0" border="0">
2836        <tr>
2837          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a520">ParamDictionaryMap</a> <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturet0">Ogre::StringInterface::msDictionary</a><code> [static, protected, inherited]</code>
2838      </table>
2839    </td>
2840  </tr>
2841</table>
2842<table cellspacing=5 cellpadding=0 border=0>
2843  <tr>
2844    <td>
2845      &nbsp;
2846    </td>
2847    <td>
2848
2849<p>
2850Dictionary of parameters.
2851<p>
2852
2853<p>
2854Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00157">157</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
2855  </tr>
2856</table>
2857<a class="anchor" name="Ogre_1_1Texturep22" doxytag="Ogre::Texture::mSize" ></a><p>
2858<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2859  <tr>
2860    <td class="mdRow">
2861      <table cellpadding="0" cellspacing="0" border="0">
2862        <tr>
2863          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturep22">Ogre::Resource::mSize</a><code> [protected, inherited]</code>
2864      </table>
2865    </td>
2866  </tr>
2867</table>
2868<table cellspacing=5 cellpadding=0 border=0>
2869  <tr>
2870    <td>
2871      &nbsp;
2872    </td>
2873    <td>
2874
2875<p>
2876The size of the resource in bytes.
2877<p>
2878
2879<p>
2880Definition at line <a class="el" href="OgreResource_8h-source.html#l00083">83</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
2881  </tr>
2882</table>
2883<a class="anchor" name="Ogre_1_1Texturep10" doxytag="Ogre::Texture::mSrcBpp" ></a><p>
2884<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2885  <tr>
2886    <td class="mdRow">
2887      <table cellpadding="0" cellspacing="0" border="0">
2888        <tr>
2889          <td class="md" nowrap valign="top"> unsigned short <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep10">Ogre::Texture::mSrcBpp</a><code> [protected]</code>
2890      </table>
2891    </td>
2892  </tr>
2893</table>
2894<table cellspacing=5 cellpadding=0 border=0>
2895  <tr>
2896    <td>
2897      &nbsp;
2898    </td>
2899    <td>
2900
2901<p>
2902
2903<p>
2904Definition at line <a class="el" href="OgreTexture_8h-source.html#l00263">263</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2905  </tr>
2906</table>
2907<a class="anchor" name="Ogre_1_1Texturep13" doxytag="Ogre::Texture::mSrcDepth" ></a><p>
2908<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2909  <tr>
2910    <td class="mdRow">
2911      <table cellpadding="0" cellspacing="0" border="0">
2912        <tr>
2913          <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep13">Ogre::Texture::mSrcDepth</a><code> [protected]</code>
2914      </table>
2915    </td>
2916  </tr>
2917</table>
2918<table cellspacing=5 cellpadding=0 border=0>
2919  <tr>
2920    <td>
2921      &nbsp;
2922    </td>
2923    <td>
2924
2925<p>
2926
2927<p>
2928Definition at line <a class="el" href="OgreTexture_8h-source.html#l00264">264</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2929  </tr>
2930</table>
2931<a class="anchor" name="Ogre_1_1Texturep12" doxytag="Ogre::Texture::mSrcHeight" ></a><p>
2932<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2933  <tr>
2934    <td class="mdRow">
2935      <table cellpadding="0" cellspacing="0" border="0">
2936        <tr>
2937          <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep12">Ogre::Texture::mSrcHeight</a><code> [protected]</code>
2938      </table>
2939    </td>
2940  </tr>
2941</table>
2942<table cellspacing=5 cellpadding=0 border=0>
2943  <tr>
2944    <td>
2945      &nbsp;
2946    </td>
2947    <td>
2948
2949<p>
2950
2951<p>
2952Definition at line <a class="el" href="OgreTexture_8h-source.html#l00264">264</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2953  </tr>
2954</table>
2955<a class="anchor" name="Ogre_1_1Texturep11" doxytag="Ogre::Texture::mSrcWidth" ></a><p>
2956<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2957  <tr>
2958    <td class="mdRow">
2959      <table cellpadding="0" cellspacing="0" border="0">
2960        <tr>
2961          <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep11">Ogre::Texture::mSrcWidth</a><code> [protected]</code>
2962      </table>
2963    </td>
2964  </tr>
2965</table>
2966<table cellspacing=5 cellpadding=0 border=0>
2967  <tr>
2968    <td>
2969      &nbsp;
2970    </td>
2971    <td>
2972
2973<p>
2974
2975<p>
2976Definition at line <a class="el" href="OgreTexture_8h-source.html#l00264">264</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
2977  </tr>
2978</table>
2979<a class="anchor" name="Ogre_1_1Texturep7" doxytag="Ogre::Texture::mTextureType" ></a><p>
2980<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2981  <tr>
2982    <td class="mdRow">
2983      <table cellpadding="0" cellspacing="0" border="0">
2984        <tr>
2985          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a681">TextureType</a> <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep7">Ogre::Texture::mTextureType</a><code> [protected]</code>
2986      </table>
2987    </td>
2988  </tr>
2989</table>
2990<table cellspacing=5 cellpadding=0 border=0>
2991  <tr>
2992    <td>
2993      &nbsp;
2994    </td>
2995    <td>
2996
2997<p>
2998
2999<p>
3000Definition at line <a class="el" href="OgreTexture_8h-source.html#l00259">259</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
3001  </tr>
3002</table>
3003<a class="anchor" name="Ogre_1_1Texturep9" doxytag="Ogre::Texture::mUsage" ></a><p>
3004<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
3005  <tr>
3006    <td class="mdRow">
3007      <table cellpadding="0" cellspacing="0" border="0">
3008        <tr>
3009          <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep9">Ogre::Texture::mUsage</a><code> [protected]</code>
3010      </table>
3011    </td>
3012  </tr>
3013</table>
3014<table cellspacing=5 cellpadding=0 border=0>
3015  <tr>
3016    <td>
3017      &nbsp;
3018    </td>
3019    <td>
3020
3021<p>
3022
3023<p>
3024Definition at line <a class="el" href="OgreTexture_8h-source.html#l00261">261</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
3025  </tr>
3026</table>
3027<a class="anchor" name="Ogre_1_1Texturep1" doxytag="Ogre::Texture::mWidth" ></a><p>
3028<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
3029  <tr>
3030    <td class="mdRow">
3031      <table cellpadding="0" cellspacing="0" border="0">
3032        <tr>
3033          <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classOgre_1_1Texture.html#Ogre_1_1Texturep1">Ogre::Texture::mWidth</a><code> [protected]</code>
3034      </table>
3035    </td>
3036  </tr>
3037</table>
3038<table cellspacing=5 cellpadding=0 border=0>
3039  <tr>
3040    <td>
3041      &nbsp;
3042    </td>
3043    <td>
3044
3045<p>
3046
3047<p>
3048Definition at line <a class="el" href="OgreTexture_8h-source.html#l00251">251</a> of file <a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a>.    </td>
3049  </tr>
3050</table>
3051<hr>The documentation for this class was generated from the following file:<ul>
3052<li><a class="el" href="OgreTexture_8h-source.html">OgreTexture.h</a></ul>
3053<hr>
3054<p>
3055Copyright &copy; 2000-2005 by The OGRE Team<br />
3056<!--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/>
3057This 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/>
3058                <!--/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#">
3059                <Work rdf:about="">
3060                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
3061        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
3062                </Work>
3063                <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> -->
3064
3065Last modified Sun Feb 12 13:04:39 2006
3066</p>
3067</body>
3068</html>
Note: See TracBrowser for help on using the repository browser.