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:11 CET 2013 -->
6
<TITLE>
7
com.badlogic.gdx.graphics (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="com.badlogic.gdx.graphics (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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.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/files/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../com/badlogic/gdx/graphics/g2d/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../index.html?com/badlogic/gdx/graphics/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="package-summary.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
</TABLE>
93
<A NAME="skip-navbar_top"></A>
94
<!-- ========= END OF TOP NAVBAR ========= -->
95
 
96
<HR>
97
<H2>
98
Package com.badlogic.gdx.graphics
99
</H2>
100
 
101
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
102
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
103
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
104
<B>Interface Summary</B></FONT></TH>
105
</TR>
106
<TR BGCOLOR="white" CLASS="TableRowColor">
107
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/GL10.html" title="interface in com.badlogic.gdx.graphics">GL10</A></B></TD>
108
<TD>Interface wrapping all standard OpenGL ES 1.0 methods.</TD>
109
</TR>
110
<TR BGCOLOR="white" CLASS="TableRowColor">
111
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/GL11.html" title="interface in com.badlogic.gdx.graphics">GL11</A></B></TD>
112
<TD>Interface wrapping all OpenGL ES 1.1 methods.</TD>
113
</TR>
114
<TR BGCOLOR="white" CLASS="TableRowColor">
115
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/GL20.html" title="interface in com.badlogic.gdx.graphics">GL20</A></B></TD>
116
<TD>Interface wrapping all the methods of OpenGL ES 2.0</TD>
117
</TR>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html" title="interface in com.badlogic.gdx.graphics">GLCommon</A></B></TD>
120
<TD>This interface defines methods common to GL10, GL11 and GL20.</TD>
121
</TR>
122
<TR BGCOLOR="white" CLASS="TableRowColor">
123
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/GLU.html" title="interface in com.badlogic.gdx.graphics">GLU</A></B></TD>
124
<TD>OpenGL utility class.</TD>
125
</TR>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/TextureData.html" title="interface in com.badlogic.gdx.graphics">TextureData</A></B></TD>
128
<TD>Used by a <A HREF="../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics"><CODE>Texture</CODE></A> to load the pixel data.</TD>
129
</TR>
130
</TABLE>
131
&nbsp;
132
 
133
<P>
134
 
135
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
137
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
138
<B>Class Summary</B></FONT></TH>
139
</TR>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics">Camera</A></B></TD>
142
<TD>Base class for <A HREF="../../../../com/badlogic/gdx/graphics/OrthographicCamera.html" title="class in com.badlogic.gdx.graphics"><CODE>OrthographicCamera</CODE></A> and <A HREF="../../../../com/badlogic/gdx/graphics/PerspectiveCamera.html" title="class in com.badlogic.gdx.graphics"><CODE>PerspectiveCamera</CODE></A>.</TD>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Color.html" title="class in com.badlogic.gdx.graphics">Color</A></B></TD>
146
<TD>A color class, holding the r, g, b and alpha component as floats in the range [0,1].</TD>
147
</TR>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/FPSLogger.html" title="class in com.badlogic.gdx.graphics">FPSLogger</A></B></TD>
150
<TD>A simple helper class to log the frames per seconds achieved.</TD>
151
</TR>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Mesh.html" title="class in com.badlogic.gdx.graphics">Mesh</A></B></TD>
154
<TD>
155
 A Mesh holds vertices composed of attributes specified by a <A HREF="../../../../com/badlogic/gdx/graphics/VertexAttributes.html" title="class in com.badlogic.gdx.graphics"><CODE>VertexAttributes</CODE></A> instance.</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/OrthographicCamera.html" title="class in com.badlogic.gdx.graphics">OrthographicCamera</A></B></TD>
159
<TD>A camera with orthographic projection.</TD>
160
</TR>
161
<TR BGCOLOR="white" CLASS="TableRowColor">
162
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/PerspectiveCamera.html" title="class in com.badlogic.gdx.graphics">PerspectiveCamera</A></B></TD>
163
<TD>A Camera with perspective projection.</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.html" title="class in com.badlogic.gdx.graphics">Pixmap</A></B></TD>
167
<TD>
168
 A Pixmap represents an image in memory.</TD>
169
</TR>
170
<TR BGCOLOR="white" CLASS="TableRowColor">
171
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/PixmapIO.html" title="class in com.badlogic.gdx.graphics">PixmapIO</A></B></TD>
172
<TD>Writes Pixmaps to various formats.</TD>
173
</TR>
174
<TR BGCOLOR="white" CLASS="TableRowColor">
175
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Texture.html" title="class in com.badlogic.gdx.graphics">Texture</A></B></TD>
176
<TD>
177
 A Texture wraps a standard OpenGL ES texture.</TD>
178
</TR>
179
<TR BGCOLOR="white" CLASS="TableRowColor">
180
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/TextureDict.html" title="class in com.badlogic.gdx.graphics">TextureDict</A></B></TD>
181
<TD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
182
</TR>
183
<TR BGCOLOR="white" CLASS="TableRowColor">
184
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/TextureRef.html" title="class in com.badlogic.gdx.graphics">TextureRef</A></B></TD>
185
<TD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
186
</TR>
187
<TR BGCOLOR="white" CLASS="TableRowColor">
188
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/VertexAttribute.html" title="class in com.badlogic.gdx.graphics">VertexAttribute</A></B></TD>
189
<TD>A single vertex attribute defined by its <A HREF="../../../../com/badlogic/gdx/graphics/VertexAttributes.Usage.html" title="class in com.badlogic.gdx.graphics"><CODE>VertexAttributes.Usage</CODE></A>, its number of components and its shader alias.</TD>
190
</TR>
191
<TR BGCOLOR="white" CLASS="TableRowColor">
192
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/VertexAttributes.html" title="class in com.badlogic.gdx.graphics">VertexAttributes</A></B></TD>
193
<TD>Instances of this class specify the vertex attributes of a mesh.</TD>
194
</TR>
195
<TR BGCOLOR="white" CLASS="TableRowColor">
196
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/VertexAttributes.Usage.html" title="class in com.badlogic.gdx.graphics">VertexAttributes.Usage</A></B></TD>
197
<TD>The usage of a vertex attribute.</TD>
198
</TR>
199
</TABLE>
200
&nbsp;
201
 
202
<P>
203
 
204
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
205
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
206
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
207
<B>Enum Summary</B></FONT></TH>
208
</TR>
209
<TR BGCOLOR="white" CLASS="TableRowColor">
210
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Mesh.VertexDataType.html" title="enum in com.badlogic.gdx.graphics">Mesh.VertexDataType</A></B></TD>
211
<TD>&nbsp;</TD>
212
</TR>
213
<TR BGCOLOR="white" CLASS="TableRowColor">
214
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Blending.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Blending</A></B></TD>
215
<TD>Blending functions to be set with <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.html#setBlending(com.badlogic.gdx.graphics.Pixmap.Blending)"><CODE>Pixmap.setBlending(com.badlogic.gdx.graphics.Pixmap.Blending)</CODE></A>.</TD>
216
</TR>
217
<TR BGCOLOR="white" CLASS="TableRowColor">
218
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Filter.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Filter</A></B></TD>
219
<TD>Filters to be used with <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.html#drawPixmap(com.badlogic.gdx.graphics.Pixmap, int, int, int, int, int, int, int, int)"><CODE>Pixmap.drawPixmap(Pixmap, int, int, int, int, int, int, int, int)</CODE></A>.</TD>
220
</TR>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A></B></TD>
223
<TD>Different pixel formats.</TD>
224
</TR>
225
<TR BGCOLOR="white" CLASS="TableRowColor">
226
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Texture.TextureFilter.html" title="enum in com.badlogic.gdx.graphics">Texture.TextureFilter</A></B></TD>
227
<TD>&nbsp;</TD>
228
</TR>
229
<TR BGCOLOR="white" CLASS="TableRowColor">
230
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/Texture.TextureWrap.html" title="enum in com.badlogic.gdx.graphics">Texture.TextureWrap</A></B></TD>
231
<TD>&nbsp;</TD>
232
</TR>
233
<TR BGCOLOR="white" CLASS="TableRowColor">
234
<TD WIDTH="15%"><B><A HREF="../../../../com/badlogic/gdx/graphics/TextureData.TextureDataType.html" title="enum in com.badlogic.gdx.graphics">TextureData.TextureDataType</A></B></TD>
235
<TD>The type of this <A HREF="../../../../com/badlogic/gdx/graphics/TextureData.html" title="interface in com.badlogic.gdx.graphics"><CODE>TextureData</CODE></A>.</TD>
236
</TR>
237
</TABLE>
238
&nbsp;
239
 
240
<P>
241
<DL>
242
</DL>
243
<HR>
244
 
245
 
246
<!-- ======= START OF BOTTOM NAVBAR ====== -->
247
<A NAME="navbar_bottom"><!-- --></A>
248
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
249
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
250
<TR>
251
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
252
<A NAME="navbar_bottom_firstrow"><!-- --></A>
253
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
254
  <TR ALIGN="center" VALIGN="top">
255
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
256
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
257
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
258
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
259
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
260
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
261
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
262
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
263
  </TR>
264
</TABLE>
265
</TD>
266
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
267
libgdx API</EM>
268
</TD>
269
</TR>
270
 
271
<TR>
272
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
273
&nbsp;<A HREF="../../../../com/badlogic/gdx/files/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
274
&nbsp;<A HREF="../../../../com/badlogic/gdx/graphics/g2d/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
275
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
276
  <A HREF="../../../../index.html?com/badlogic/gdx/graphics/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
277
&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
278
&nbsp;<SCRIPT type="text/javascript">
279
  <!--
280
  if(window==top) {
281
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
282
  }
283
  //-->
284
</SCRIPT>
285
<NOSCRIPT>
286
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
287
</NOSCRIPT>
288
 
289
 
290
</FONT></TD>
291
</TR>
292
</TABLE>
293
<A NAME="skip-navbar_bottom"></A>
294
<!-- ======== END OF BOTTOM NAVBAR ======= -->
295
 
296
<HR>
297
 
298
                                <div style="font-size:9pt"><i>
299
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
300
                                </i></div>
301
 
302
</BODY>
303
</HTML>