Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:10 CET 2013 -->
6
<TITLE>
7
TextureLoader (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="TextureLoader (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/TextureLoader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureAtlasLoader.TextureAtlasParameter.html" title="class in com.badlogic.gdx.assets.loaders"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../index.html?com/badlogic/gdx/assets/loaders/TextureLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="TextureLoader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.assets.loaders</FONT>
107
<BR>
108
Class TextureLoader</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AssetLoader.html" title="class in com.badlogic.gdx.assets.loaders">com.badlogic.gdx.assets.loaders.AssetLoader</A>&lt;T,P&gt;
112
      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html" title="class in com.badlogic.gdx.assets.loaders">com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader</A>&lt;<A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A>,<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&gt;
113
          <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.assets.loaders.TextureLoader</B>
114
</PRE>
115
<HR>
116
<DL>
117
<DT><PRE>public class <B>TextureLoader</B><DT>extends <A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html" title="class in com.badlogic.gdx.assets.loaders">AsynchronousAssetLoader</A>&lt;<A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A>,<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&gt;</DL>
118
</PRE>
119
 
120
<P>
121
<A HREF="../../../../../com/badlogic/gdx/assets/loaders/AssetLoader.html" title="class in com.badlogic.gdx.assets.loaders"><CODE>AssetLoader</CODE></A> for <A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics"><CODE>Texture</CODE></A> instances. The pixel data is loaded asynchronously. The texture is then created on the
122
 rendering thread, synchronously. Passing a <A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders"><CODE>TextureLoader.TextureParameter</CODE></A> to
123
 <A HREF="../../../../../com/badlogic/gdx/assets/AssetManager.html#load(java.lang.String, java.lang.Class, com.badlogic.gdx.assets.AssetLoaderParameters)"><CODE>AssetManager.load(String, Class, AssetLoaderParameters)</CODE></A> allows one to specify parameters as can be passed to the
124
 various Texture constructors, e.g. filtering, whether to generate mipmaps and so on.
125
<P>
126
 
127
<P>
128
<DL>
129
<DT><B>Author:</B></DT>
130
  <DD>mzechner</DD>
131
</DL>
132
<HR>
133
 
134
<P>
135
<!-- ======== NESTED CLASS SUMMARY ======== -->
136
 
137
<A NAME="nested_class_summary"><!-- --></A>
138
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
140
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
141
<B>Nested Class Summary</B></FONT></TH>
142
</TR>
143
<TR BGCOLOR="white" CLASS="TableRowColor">
144
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145
<CODE>static&nbsp;class</CODE></FONT></TD>
146
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A></B></CODE>
147
 
148
<BR>
149
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
150
</TR>
151
</TABLE>
152
&nbsp;
153
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
154
 
155
<A NAME="constructor_summary"><!-- --></A>
156
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
158
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
159
<B>Constructor Summary</B></FONT></TH>
160
</TR>
161
<TR BGCOLOR="white" CLASS="TableRowColor">
162
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.html#TextureLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver)">TextureLoader</A></B>(<A HREF="../../../../../com/badlogic/gdx/assets/loaders/FileHandleResolver.html" title="interface in com.badlogic.gdx.assets.loaders">FileHandleResolver</A>&nbsp;resolver)</CODE>
163
 
164
<BR>
165
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
166
</TR>
167
</TABLE>
168
&nbsp;
169
<!-- ========== METHOD SUMMARY =========== -->
170
 
171
<A NAME="method_summary"><!-- --></A>
172
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
173
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
174
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
175
<B>Method Summary</B></FONT></TH>
176
</TR>
177
<TR BGCOLOR="white" CLASS="TableRowColor">
178
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array</A>&lt;<A HREF="../../../../../com/badlogic/gdx/assets/AssetDescriptor.html" title="class in com.badlogic.gdx.assets">AssetDescriptor</A>&gt;</CODE></FONT></TD>
180
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.html#getDependencies(java.lang.String, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter)">getDependencies</A></B>(java.lang.String&nbsp;fileName,
181
                <A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&nbsp;parameter)</CODE>
182
 
183
<BR>
184
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185
</TR>
186
<TR BGCOLOR="white" CLASS="TableRowColor">
187
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188
<CODE>&nbsp;void</CODE></FONT></TD>
189
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.html#loadAsync(com.badlogic.gdx.assets.AssetManager, java.lang.String, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter)">loadAsync</A></B>(<A HREF="../../../../../com/badlogic/gdx/assets/AssetManager.html" title="class in com.badlogic.gdx.assets">AssetManager</A>&nbsp;manager,
190
          java.lang.String&nbsp;fileName,
191
          <A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&nbsp;parameter)</CODE>
192
 
193
<BR>
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.</TD>
195
</TR>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A></CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.html#loadSync(com.badlogic.gdx.assets.AssetManager, java.lang.String, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter)">loadSync</A></B>(<A HREF="../../../../../com/badlogic/gdx/assets/AssetManager.html" title="class in com.badlogic.gdx.assets">AssetManager</A>&nbsp;manager,
200
         java.lang.String&nbsp;fileName,
201
         <A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&nbsp;parameter)</CODE>
202
 
203
<BR>
204
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads th</TD>
205
</TR>
206
</TABLE>
207
&nbsp;<A NAME="methods_inherited_from_class_com.badlogic.gdx.assets.loaders.AssetLoader"><!-- --></A>
208
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210
<TH ALIGN="left"><B>Methods inherited from class com.badlogic.gdx.assets.loaders.<A HREF="../../../../../com/badlogic/gdx/assets/loaders/AssetLoader.html" title="class in com.badlogic.gdx.assets.loaders">AssetLoader</A></B></TH>
211
</TR>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD><CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AssetLoader.html#resolve(java.lang.String)">resolve</A></CODE></TD>
214
</TR>
215
</TABLE>
216
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
217
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
219
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
220
</TR>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
223
</TR>
224
</TABLE>
225
&nbsp;
226
<P>
227
 
228
<!-- ========= CONSTRUCTOR DETAIL ======== -->
229
 
230
<A NAME="constructor_detail"><!-- --></A>
231
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
232
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
233
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
234
<B>Constructor Detail</B></FONT></TH>
235
</TR>
236
</TABLE>
237
 
238
<A NAME="TextureLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver)"><!-- --></A><H3>
239
TextureLoader</H3>
240
<PRE>
241
public <B>TextureLoader</B>(<A HREF="../../../../../com/badlogic/gdx/assets/loaders/FileHandleResolver.html" title="interface in com.badlogic.gdx.assets.loaders">FileHandleResolver</A>&nbsp;resolver)</PRE>
242
<DL>
243
</DL>
244
 
245
<!-- ============ METHOD DETAIL ========== -->
246
 
247
<A NAME="method_detail"><!-- --></A>
248
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
249
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
250
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
251
<B>Method Detail</B></FONT></TH>
252
</TR>
253
</TABLE>
254
 
255
<A NAME="loadAsync(com.badlogic.gdx.assets.AssetManager, java.lang.String, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter)"><!-- --></A><H3>
256
loadAsync</H3>
257
<PRE>
258
public void <B>loadAsync</B>(<A HREF="../../../../../com/badlogic/gdx/assets/AssetManager.html" title="class in com.badlogic.gdx.assets">AssetManager</A>&nbsp;manager,
259
                      java.lang.String&nbsp;fileName,
260
                      <A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&nbsp;parameter)</PRE>
261
<DL>
262
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html#loadAsync(com.badlogic.gdx.assets.AssetManager, java.lang.String, P)">AsynchronousAssetLoader</A></CODE></B></DD>
263
<DD>Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.
264
<P>
265
<DD><DL>
266
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html#loadAsync(com.badlogic.gdx.assets.AssetManager, java.lang.String, P)">loadAsync</A></CODE> in class <CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html" title="class in com.badlogic.gdx.assets.loaders">AsynchronousAssetLoader</A>&lt;<A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A>,<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&gt;</CODE></DL>
267
</DD>
268
<DD><DL>
269
<DD><CODE>fileName</CODE> - the name of the asset to load<DD><CODE>parameter</CODE> - the parameters to use for loading the asset</DL>
270
</DD>
271
</DL>
272
<HR>
273
 
274
<A NAME="loadSync(com.badlogic.gdx.assets.AssetManager, java.lang.String, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter)"><!-- --></A><H3>
275
loadSync</H3>
276
<PRE>
277
public <A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A> <B>loadSync</B>(<A HREF="../../../../../com/badlogic/gdx/assets/AssetManager.html" title="class in com.badlogic.gdx.assets">AssetManager</A>&nbsp;manager,
278
                        java.lang.String&nbsp;fileName,
279
                        <A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&nbsp;parameter)</PRE>
280
<DL>
281
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html#loadSync(com.badlogic.gdx.assets.AssetManager, java.lang.String, P)">AsynchronousAssetLoader</A></CODE></B></DD>
282
<DD>Loads th
283
<P>
284
<DD><DL>
285
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html#loadSync(com.badlogic.gdx.assets.AssetManager, java.lang.String, P)">loadSync</A></CODE> in class <CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AsynchronousAssetLoader.html" title="class in com.badlogic.gdx.assets.loaders">AsynchronousAssetLoader</A>&lt;<A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A>,<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&gt;</CODE></DL>
286
</DD>
287
<DD><DL>
288
</DL>
289
</DD>
290
</DL>
291
<HR>
292
 
293
<A NAME="getDependencies(java.lang.String, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter)"><!-- --></A><H3>
294
getDependencies</H3>
295
<PRE>
296
public <A HREF="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array</A>&lt;<A HREF="../../../../../com/badlogic/gdx/assets/AssetDescriptor.html" title="class in com.badlogic.gdx.assets">AssetDescriptor</A>&gt; <B>getDependencies</B>(java.lang.String&nbsp;fileName,
297
                                              <A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&nbsp;parameter)</PRE>
298
<DL>
299
<DD><DL>
300
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AssetLoader.html#getDependencies(java.lang.String, P)">getDependencies</A></CODE> in class <CODE><A HREF="../../../../../com/badlogic/gdx/assets/loaders/AssetLoader.html" title="class in com.badlogic.gdx.assets.loaders">AssetLoader</A>&lt;<A HREF="../../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A>,<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders">TextureLoader.TextureParameter</A>&gt;</CODE></DL>
301
</DD>
302
<DD><DL>
303
<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - name of the asset to load<DD><CODE>parameter</CODE> - parameters for loading the asset
304
<DT><B>Returns:</B><DD>other assets that the asset depends on and need to be loaded first or null if there are no dependencies.</DL>
305
</DD>
306
</DL>
307
<!-- ========= END OF CLASS DATA ========= -->
308
<HR>
309
 
310
 
311
<!-- ======= START OF BOTTOM NAVBAR ====== -->
312
<A NAME="navbar_bottom"><!-- --></A>
313
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
314
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
315
<TR>
316
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
317
<A NAME="navbar_bottom_firstrow"><!-- --></A>
318
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
319
  <TR ALIGN="center" VALIGN="top">
320
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
321
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
322
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
323
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/TextureLoader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
324
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
325
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
326
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
327
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
328
  </TR>
329
</TABLE>
330
</TD>
331
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
332
libgdx API</EM>
333
</TD>
334
</TR>
335
 
336
<TR>
337
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
338
&nbsp;<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureAtlasLoader.TextureAtlasParameter.html" title="class in com.badlogic.gdx.assets.loaders"><B>PREV CLASS</B></A>&nbsp;
339
&nbsp;<A HREF="../../../../../com/badlogic/gdx/assets/loaders/TextureLoader.TextureParameter.html" title="class in com.badlogic.gdx.assets.loaders"><B>NEXT CLASS</B></A></FONT></TD>
340
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
341
  <A HREF="../../../../../index.html?com/badlogic/gdx/assets/loaders/TextureLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
342
&nbsp;<A HREF="TextureLoader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
343
&nbsp;<SCRIPT type="text/javascript">
344
  <!--
345
  if(window==top) {
346
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
347
  }
348
  //-->
349
</SCRIPT>
350
<NOSCRIPT>
351
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
352
</NOSCRIPT>
353
 
354
 
355
</FONT></TD>
356
</TR>
357
<TR>
358
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
359
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
360
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
361
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
362
</TR>
363
</TABLE>
364
<A NAME="skip-navbar_bottom"></A>
365
<!-- ======== END OF BOTTOM NAVBAR ======= -->
366
 
367
<HR>
368
 
369
                                <div style="font-size:9pt"><i>
370
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
371
                                </i></div>
372
 
373
</BODY>
374
</HTML>