diff options
Diffstat (limited to 'libraries/irrlicht-1.8.1/doc/html/_i_texture_8h_source.html')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/_i_texture_8h_source.html | 241 |
1 files changed, 241 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/_i_texture_8h_source.html b/libraries/irrlicht-1.8.1/doc/html/_i_texture_8h_source.html new file mode 100644 index 0000000..54bc971 --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/_i_texture_8h_source.html | |||
@@ -0,0 +1,241 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
5 | <title>Irrlicht 3D Engine: ITexture.h Source File</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('_i_texture_8h.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="headertitle"> | ||
88 | <div class="title">ITexture.h</div> </div> | ||
89 | </div> | ||
90 | <div class="contents"> | ||
91 | <a href="_i_texture_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2012 Nikolaus Gebhardt</span> | ||
92 | <a name="l00002"></a>00002 <span class="comment">// This file is part of the "Irrlicht Engine".</span> | ||
93 | <a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span> | ||
94 | <a name="l00004"></a>00004 | ||
95 | <a name="l00005"></a>00005 <span class="preprocessor">#ifndef __I_TEXTURE_H_INCLUDED__</span> | ||
96 | <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_TEXTURE_H_INCLUDED__</span> | ||
97 | <a name="l00007"></a>00007 <span class="preprocessor"></span> | ||
98 | <a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="_i_reference_counted_8h.html">IReferenceCounted.h</a>"</span> | ||
99 | <a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="_i_image_8h.html">IImage.h</a>"</span> | ||
100 | <a name="l00010"></a>00010 <span class="preprocessor">#include "<a class="code" href="dimension2d_8h.html">dimension2d.h</a>"</span> | ||
101 | <a name="l00011"></a>00011 <span class="preprocessor">#include "<a class="code" href="_e_driver_types_8h.html">EDriverTypes.h</a>"</span> | ||
102 | <a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="path_8h.html">path.h</a>"</span> | ||
103 | <a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="matrix4_8h.html">matrix4.h</a>"</span> | ||
104 | <a name="l00014"></a>00014 | ||
105 | <a name="l00015"></a>00015 <span class="keyword">namespace </span>irr | ||
106 | <a name="l00016"></a>00016 { | ||
107 | <a name="l00017"></a>00017 <span class="keyword">namespace </span>video | ||
108 | <a name="l00018"></a>00018 { | ||
109 | <a name="l00019"></a>00019 | ||
110 | <a name="l00020"></a>00020 | ||
111 | <a name="l00022"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f">00022</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f" title="Enumeration flags telling the video driver in which format textures should be created.">E_TEXTURE_CREATION_FLAG</a> | ||
112 | <a name="l00023"></a>00023 { | ||
113 | <a name="l00032"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa4fe1c1b0f4b44ef4b5da219ce66a0ae8">00032</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa4fe1c1b0f4b44ef4b5da219ce66a0ae8">ETCF_ALWAYS_16_BIT</a> = 0x00000001, | ||
114 | <a name="l00033"></a>00033 | ||
115 | <a name="l00041"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa20881e307a778c4a4fbb5327a60a93bb">00041</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa20881e307a778c4a4fbb5327a60a93bb">ETCF_ALWAYS_32_BIT</a> = 0x00000002, | ||
116 | <a name="l00042"></a>00042 | ||
117 | <a name="l00049"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fadc5336eb55e0221ef0d7e53c1cf5a2b9">00049</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fadc5336eb55e0221ef0d7e53c1cf5a2b9">ETCF_OPTIMIZED_FOR_QUALITY</a> = 0x00000004, | ||
118 | <a name="l00050"></a>00050 | ||
119 | <a name="l00056"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa01693eaffcfeca7de6fcd7e826a909c3">00056</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa01693eaffcfeca7de6fcd7e826a909c3">ETCF_OPTIMIZED_FOR_SPEED</a> = 0x00000008, | ||
120 | <a name="l00057"></a>00057 | ||
121 | <a name="l00059"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa288b302e9d4faaba80c7796c7bc1682c">00059</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa288b302e9d4faaba80c7796c7bc1682c">ETCF_CREATE_MIP_MAPS</a> = 0x00000010, | ||
122 | <a name="l00060"></a>00060 | ||
123 | <a name="l00062"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fab9ce08dff03ebff9139b594610561609">00062</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fab9ce08dff03ebff9139b594610561609">ETCF_NO_ALPHA_CHANNEL</a> = 0x00000020, | ||
124 | <a name="l00063"></a>00063 | ||
125 | <a name="l00065"></a>00065 | ||
126 | <a name="l00066"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa6a834e40d35e01205ab63f3ce6d71172">00066</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa6a834e40d35e01205ab63f3ce6d71172" title="Allow the Driver to use Non-Power-2-Textures.">ETCF_ALLOW_NON_POWER_2</a> = 0x00000040, | ||
127 | <a name="l00067"></a>00067 | ||
128 | <a name="l00070"></a><a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa0081685b8fa033d771f9c6a5bded8253">00070</a> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa0081685b8fa033d771f9c6a5bded8253">ETCF_FORCE_32_BIT_DO_NOT_USE</a> = 0x7fffffff | ||
129 | <a name="l00071"></a>00071 }; | ||
130 | <a name="l00072"></a>00072 | ||
131 | <a name="l00074"></a><a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bc">00074</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bc" title="Enum for the mode for texture locking. Read-Only, write-only or read/write.">E_TEXTURE_LOCK_MODE</a> | ||
132 | <a name="l00075"></a>00075 { | ||
133 | <a name="l00077"></a><a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bca41973750ecd380c9a17fa575262f5037">00077</a> <a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bca41973750ecd380c9a17fa575262f5037" title="The default mode. Texture can be read and written to.">ETLM_READ_WRITE</a> = 0, | ||
134 | <a name="l00078"></a>00078 | ||
135 | <a name="l00080"></a>00080 | ||
136 | <a name="l00081"></a><a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bca2b06fa431c7bae8ea7f844f188beaf6b">00081</a> <a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bca2b06fa431c7bae8ea7f844f188beaf6b" title="Read only. The texture is downloaded, but not uploaded again.">ETLM_READ_ONLY</a>, | ||
137 | <a name="l00082"></a>00082 | ||
138 | <a name="l00084"></a>00084 | ||
139 | <a name="l00086"></a><a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bca44730dab3af80ddd64d81c85df911ca2">00086</a> <a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bca44730dab3af80ddd64d81c85df911ca2" title="Write only. The texture is not downloaded and might be uninitialised.">ETLM_WRITE_ONLY</a> | ||
140 | <a name="l00087"></a>00087 }; | ||
141 | <a name="l00088"></a>00088 | ||
142 | <a name="l00090"></a>00090 | ||
143 | <a name="l00098"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html">00098</a> <span class="keyword">class </span><a class="code" href="classirr_1_1video_1_1_i_texture.html" title="Interface of a Video Driver dependent Texture.">ITexture</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine.">IReferenceCounted</a> | ||
144 | <a name="l00099"></a>00099 { | ||
145 | <a name="l00100"></a>00100 <span class="keyword">public</span>: | ||
146 | <a name="l00101"></a>00101 | ||
147 | <a name="l00103"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html#a32dbd62fef8a65f11e5b440706346c90">00103</a> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a32dbd62fef8a65f11e5b440706346c90" title="constructor">ITexture</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">io::path</a>& name) : <a class="code" href="classirr_1_1video_1_1_i_texture.html#ad1ab74da43861e50f0ec6a2e9a813fb4">NamedPath</a>(name) | ||
148 | <a name="l00104"></a>00104 { | ||
149 | <a name="l00105"></a>00105 } | ||
150 | <a name="l00106"></a>00106 | ||
151 | <a name="l00108"></a>00108 | ||
152 | <a name="l00127"></a>00127 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code" href="classirr_1_1video_1_1_i_texture.html#aa09ee89973a645ebdd2bd61ed859df38" title="Lock function.">lock</a>(<a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bc" title="Enum for the mode for texture locking. Read-Only, write-only or read/write.">E_TEXTURE_LOCK_MODE</a> mode=<a class="code" href="namespaceirr_1_1video.html#a3916d259e8fe0d0d02e8ee0adc8af5bca41973750ecd380c9a17fa575262f5037" title="The default mode. Texture can be read and written to.">ETLM_READ_WRITE</a>, <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> mipmapLevel=0) = 0; | ||
153 | <a name="l00128"></a>00128 | ||
154 | <a name="l00130"></a>00130 | ||
155 | <a name="l00132"></a>00132 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a15b9a25aa18528ade37a492bd7b20a10" title="Unlock function. Must be called after a lock() to the texture.">unlock</a>() = 0; | ||
156 | <a name="l00133"></a>00133 | ||
157 | <a name="l00135"></a>00135 | ||
158 | <a name="l00142"></a>00142 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d<u32></a>& <a class="code" href="classirr_1_1video_1_1_i_texture.html#adbb05bcee8ec7fa11bb4ccfdb725cda8" title="Get original size of the texture.">getOriginalSize</a>() <span class="keyword">const</span> = 0; | ||
159 | <a name="l00143"></a>00143 | ||
160 | <a name="l00145"></a>00145 | ||
161 | <a name="l00146"></a>00146 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d<u32></a>& <a class="code" href="classirr_1_1video_1_1_i_texture.html#adfcf9558c0f1ae543782c03f7903c48e" title="Get dimension (=size) of the texture.">getSize</a>() <span class="keyword">const</span> = 0; | ||
162 | <a name="l00147"></a>00147 | ||
163 | <a name="l00149"></a>00149 | ||
164 | <a name="l00153"></a>00153 <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0" title="An enum for all types of drivers the Irrlicht Engine supports.">E_DRIVER_TYPE</a> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a4c6abdc0c789e6022e4e1b8a06cfab71" title="Get driver type of texture.">getDriverType</a>() <span class="keyword">const</span> = 0; | ||
165 | <a name="l00154"></a>00154 | ||
166 | <a name="l00156"></a>00156 | ||
167 | <a name="l00157"></a>00157 <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed" title="An enum for the color format of textures used by the Irrlicht Engine.">ECOLOR_FORMAT</a> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a48bbc0208c046724fc3264406f774132" title="Get the color format of texture.">getColorFormat</a>() <span class="keyword">const</span> = 0; | ||
168 | <a name="l00158"></a>00158 | ||
169 | <a name="l00160"></a>00160 | ||
170 | <a name="l00163"></a>00163 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a14fd1eba217a0dd86b40c4d792ab14ea" title="Get pitch of the main texture (in bytes).">getPitch</a>() <span class="keyword">const</span> = 0; | ||
171 | <a name="l00164"></a>00164 | ||
172 | <a name="l00166"></a>00166 | ||
173 | <a name="l00167"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html#a37444068f2f292c43c2ffd516a32a764">00167</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a37444068f2f292c43c2ffd516a32a764" title="Check whether the texture has MipMaps.">hasMipMaps</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; } | ||
174 | <a name="l00168"></a>00168 | ||
175 | <a name="l00170"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html#a38b90ca5d956bd9772f2aa8032b38cd5">00170</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a38b90ca5d956bd9772f2aa8032b38cd5" title="Returns if the texture has an alpha channel.">hasAlpha</a>()<span class="keyword"> const </span>{ | ||
176 | <a name="l00171"></a>00171 <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a48bbc0208c046724fc3264406f774132" title="Get the color format of texture.">getColorFormat</a> () == <a class="code" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829eda55c57d63efff39efe33ee733fe962df0" title="Default 32 bit color format. 8 bits are used for every component: red, green, blue and alpha...">video::ECF_A8R8G8B8</a> || <a class="code" href="classirr_1_1video_1_1_i_texture.html#a48bbc0208c046724fc3264406f774132" title="Get the color format of texture.">getColorFormat</a> () == <a class="code" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829eda1207765b5eab1701111b5dc37b68b4bf" title="16 bit color format used by the software driver.">video::ECF_A1R5G5B5</a>; | ||
177 | <a name="l00172"></a>00172 } | ||
178 | <a name="l00173"></a>00173 | ||
179 | <a name="l00175"></a>00175 | ||
180 | <a name="l00181"></a>00181 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1video_1_1_i_texture.html#a9517c37f071479d0698cdf597f8fea45" title="Regenerates the mip map levels of the texture.">regenerateMipMapLevels</a>(<span class="keywordtype">void</span>* mipmapData=0) = 0; | ||
181 | <a name="l00182"></a>00182 | ||
182 | <a name="l00184"></a>00184 | ||
183 | <a name="l00188"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html#ab085e1f1a76a55ab4c5fcdfdeedfb45c">00188</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_i_texture.html#ab085e1f1a76a55ab4c5fcdfdeedfb45c" title="Check whether the texture is a render target.">isRenderTarget</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; } | ||
184 | <a name="l00189"></a>00189 | ||
185 | <a name="l00191"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html#acad4f8a4e9b8de5683eebbd7451e2009">00191</a> <span class="keyword">const</span> <a class="code" href="structirr_1_1io_1_1_s_named_path.html" title="Used in places where we identify objects by a filename, but don't actually work with the real filenam...">io::SNamedPath</a>& <a class="code" href="classirr_1_1video_1_1_i_texture.html#acad4f8a4e9b8de5683eebbd7451e2009" title="Get name of texture (in most cases this is the filename)">getName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_i_texture.html#ad1ab74da43861e50f0ec6a2e9a813fb4">NamedPath</a>; } | ||
186 | <a name="l00192"></a>00192 | ||
187 | <a name="l00193"></a>00193 <span class="keyword">protected</span>: | ||
188 | <a name="l00194"></a>00194 | ||
189 | <a name="l00196"></a>00196 | ||
190 | <a name="l00198"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html#afff3160f6aa5f749365ae4f776a440f3">00198</a> <span class="keyword">inline</span> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f" title="Enumeration flags telling the video driver in which format textures should be created.">E_TEXTURE_CREATION_FLAG</a> <a class="code" href="classirr_1_1video_1_1_i_texture.html#afff3160f6aa5f749365ae4f776a440f3" title="Helper function, helps to get the desired texture creation format from the flags.">getTextureFormatFromFlags</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> flags) | ||
191 | <a name="l00199"></a>00199 { | ||
192 | <a name="l00200"></a>00200 <span class="keywordflow">if</span> (flags & <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa01693eaffcfeca7de6fcd7e826a909c3">ETCF_OPTIMIZED_FOR_SPEED</a>) | ||
193 | <a name="l00201"></a>00201 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa01693eaffcfeca7de6fcd7e826a909c3">ETCF_OPTIMIZED_FOR_SPEED</a>; | ||
194 | <a name="l00202"></a>00202 <span class="keywordflow">if</span> (flags & <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa4fe1c1b0f4b44ef4b5da219ce66a0ae8">ETCF_ALWAYS_16_BIT</a>) | ||
195 | <a name="l00203"></a>00203 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa4fe1c1b0f4b44ef4b5da219ce66a0ae8">ETCF_ALWAYS_16_BIT</a>; | ||
196 | <a name="l00204"></a>00204 <span class="keywordflow">if</span> (flags & <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa20881e307a778c4a4fbb5327a60a93bb">ETCF_ALWAYS_32_BIT</a>) | ||
197 | <a name="l00205"></a>00205 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa20881e307a778c4a4fbb5327a60a93bb">ETCF_ALWAYS_32_BIT</a>; | ||
198 | <a name="l00206"></a>00206 <span class="keywordflow">if</span> (flags & <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fadc5336eb55e0221ef0d7e53c1cf5a2b9">ETCF_OPTIMIZED_FOR_QUALITY</a>) | ||
199 | <a name="l00207"></a>00207 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fadc5336eb55e0221ef0d7e53c1cf5a2b9">ETCF_OPTIMIZED_FOR_QUALITY</a>; | ||
200 | <a name="l00208"></a>00208 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876fa01693eaffcfeca7de6fcd7e826a909c3">ETCF_OPTIMIZED_FOR_SPEED</a>; | ||
201 | <a name="l00209"></a>00209 } | ||
202 | <a name="l00210"></a>00210 | ||
203 | <a name="l00211"></a><a class="code" href="classirr_1_1video_1_1_i_texture.html#ad1ab74da43861e50f0ec6a2e9a813fb4">00211</a> <a class="code" href="structirr_1_1io_1_1_s_named_path.html" title="Used in places where we identify objects by a filename, but don't actually work with the real filenam...">io::SNamedPath</a> <a class="code" href="classirr_1_1video_1_1_i_texture.html#ad1ab74da43861e50f0ec6a2e9a813fb4">NamedPath</a>; | ||
204 | <a name="l00212"></a>00212 }; | ||
205 | <a name="l00213"></a>00213 | ||
206 | <a name="l00214"></a>00214 | ||
207 | <a name="l00215"></a>00215 } <span class="comment">// end namespace video</span> | ||
208 | <a name="l00216"></a>00216 } <span class="comment">// end namespace irr</span> | ||
209 | <a name="l00217"></a>00217 | ||
210 | <a name="l00218"></a>00218 <span class="preprocessor">#endif</span> | ||
211 | <a name="l00219"></a>00219 <span class="preprocessor"></span> | ||
212 | </pre></div></div> | ||
213 | </div> | ||
214 | <div id="nav-path" class="navpath"> | ||
215 | <ul> | ||
216 | <li class="navelem"><a class="el" href="_i_texture_8h.html">ITexture.h</a> </li> | ||
217 | <!-- window showing the filter options --> | ||
218 | <div id="MSearchSelectWindow" | ||
219 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
220 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
221 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
222 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
223 | |||
224 | <!-- iframe showing the search results (closed by default) --> | ||
225 | <div id="MSearchResultsWindow"> | ||
226 | <iframe src="javascript:void(0)" frameborder="0" | ||
227 | name="MSearchResults" id="MSearchResults"> | ||
228 | </iframe> | ||
229 | </div> | ||
230 | |||
231 | |||
232 | <li class="footer"> | ||
233 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
234 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:40 for Irrlicht 3D Engine by | ||
235 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
236 | </ul> | ||
237 | </div> | ||
238 | |||
239 | |||
240 | </body> | ||
241 | </html> | ||