<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:09 CET 2013 -->
<TITLE>
GLCommon (libgdx API)
</TITLE>
<META NAME="date" CONTENT="2013-01-27">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="GLCommon (libgdx API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package
</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class
</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GLCommon.html"><FONT CLASS="NavBarFont1"><B>Use
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help
</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
libgdx API
<style>
body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold }
.TableHeadingColor { background:#EEEEFF; }
a { text-decoration:none }
a:hover { text-decoration:underline }
a:link, a:visited { color:blue }
table { border:0px }
.TableRowColor td:first-child { border-left:1px solid black }
.TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
hr { border:0px; border-bottom:1px solid #333366; }
</style>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/badlogic/gdx/graphics/GL20.html" title="interface in com.badlogic.gdx.graphics"><B>PREV CLASS
</B></A>
<A HREF="../../../../com/badlogic/gdx/graphics/GLU.html" title="interface in com.badlogic.gdx.graphics"><B>NEXT CLASS
</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/badlogic/gdx/graphics/GLCommon.html" target="_top"><B>FRAMES
</B></A>
<A HREF="GLCommon.html" target="_top"><B>NO FRAMES
</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes
</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:
NESTED
|
<A HREF="#field_summary">FIELD
</A> |
CONSTR
|
<A HREF="#method_summary">METHOD
</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:
<A HREF="#field_detail">FIELD
</A> |
CONSTR
|
<A HREF="#method_detail">METHOD
</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.badlogic.gdx.graphics
</FONT>
<BR>
Interface GLCommon
</H2>
<DL>
<DT><B>All Known Subinterfaces:
</B> <DD><A HREF="../../../../com/badlogic/gdx/graphics/GL10.html" title="interface in com.badlogic.gdx.graphics">GL10
</A>,
<A HREF="../../../../com/badlogic/gdx/graphics/GL11.html" title="interface in com.badlogic.gdx.graphics">GL11
</A>,
<A HREF="../../../../com/badlogic/gdx/graphics/GL20.html" title="interface in com.badlogic.gdx.graphics">GL20
</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface
<B>GLCommon
</B></DL>
</PRE>
<P>
This interface defines methods common to GL10, GL11 and GL20.
<P>
<P>
<DL>
<DT><B>Author:
</B></DT>
<DD>mzechner
</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary
</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
int
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#GL_GENERATE_MIPMAP">GL_GENERATE_MIPMAP
</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
int
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT">GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
int
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#GL_TEXTURE_MAX_ANISOTROPY_EXT">GL_TEXTURE_MAX_ANISOTROPY_EXT
</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary
</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glActiveTexture(int)">glActiveTexture
</A></B>(int
texture)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glBindTexture(int, int)">glBindTexture
</A></B>(int
target,
int
texture)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glBlendFunc(int, int)">glBlendFunc
</A></B>(int
sfactor,
int
dfactor)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glClear(int)">glClear
</A></B>(int
mask)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glClearColor(float, float, float, float)">glClearColor
</A></B>(float
red,
float
green,
float
blue,
float
alpha)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glClearDepthf(float)">glClearDepthf
</A></B>(float
depth)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glClearStencil(int)">glClearStencil
</A></B>(int
s)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glColorMask(boolean, boolean, boolean, boolean)">glColorMask
</A></B>(boolean
red,
boolean
green,
boolean
blue,
boolean
alpha)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glCompressedTexImage2D(int, int, int, int, int, int, int, java.nio.Buffer)">glCompressedTexImage2D
</A></B>(int
target,
int
level,
int
internalformat,
int
width,
int
height,
int
border,
int
imageSize,
java.nio.Buffer
data)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glCompressedTexSubImage2D(int, int, int, int, int, int, int, int, java.nio.Buffer)">glCompressedTexSubImage2D
</A></B>(int
target,
int
level,
int
xoffset,
int
yoffset,
int
width,
int
height,
int
format,
int
imageSize,
java.nio.Buffer
data)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glCopyTexImage2D(int, int, int, int, int, int, int, int)">glCopyTexImage2D
</A></B>(int
target,
int
level,
int
internalformat,
int
x,
int
y,
int
width,
int
height,
int
border)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glCopyTexSubImage2D(int, int, int, int, int, int, int, int)">glCopyTexSubImage2D
</A></B>(int
target,
int
level,
int
xoffset,
int
yoffset,
int
x,
int
y,
int
width,
int
height)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glCullFace(int)">glCullFace
</A></B>(int
mode)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glDeleteTextures(int, java.nio.IntBuffer)">glDeleteTextures
</A></B>(int
n,
java.nio.IntBuffer
textures)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glDepthFunc(int)">glDepthFunc
</A></B>(int
func)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glDepthMask(boolean)">glDepthMask
</A></B>(boolean
flag)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glDepthRangef(float, float)">glDepthRangef
</A></B>(float
zNear,
float
zFar)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glDisable(int)">glDisable
</A></B>(int
cap)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glDrawArrays(int, int, int)">glDrawArrays
</A></B>(int
mode,
int
first,
int
count)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glDrawElements(int, int, int, java.nio.Buffer)">glDrawElements
</A></B>(int
mode,
int
count,
int
type,
java.nio.Buffer
indices)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glEnable(int)">glEnable
</A></B>(int
cap)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glFinish()">glFinish
</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glFlush()">glFlush
</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glFrontFace(int)">glFrontFace
</A></B>(int
mode)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glGenTextures(int, java.nio.IntBuffer)">glGenTextures
</A></B>(int
n,
java.nio.IntBuffer
textures)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glGetError()">glGetError
</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glGetIntegerv(int, java.nio.IntBuffer)">glGetIntegerv
</A></B>(int
pname,
java.nio.IntBuffer
params)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glGetString(int)">glGetString
</A></B>(int
name)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glHint(int, int)">glHint
</A></B>(int
target,
int
mode)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glLineWidth(float)">glLineWidth
</A></B>(float
width)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glPixelStorei(int, int)">glPixelStorei
</A></B>(int
pname,
int
param)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glPolygonOffset(float, float)">glPolygonOffset
</A></B>(float
factor,
float
units)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glReadPixels(int, int, int, int, int, int, java.nio.Buffer)">glReadPixels
</A></B>(int
x,
int
y,
int
width,
int
height,
int
format,
int
type,
java.nio.Buffer
pixels)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glScissor(int, int, int, int)">glScissor
</A></B>(int
x,
int
y,
int
width,
int
height)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glStencilFunc(int, int, int)">glStencilFunc
</A></B>(int
func,
int
ref,
int
mask)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glStencilMask(int)">glStencilMask
</A></B>(int
mask)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glStencilOp(int, int, int)">glStencilOp
</A></B>(int
fail,
int
zfail,
int
zpass)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glTexImage2D(int, int, int, int, int, int, int, int, java.nio.Buffer)">glTexImage2D
</A></B>(int
target,
int
level,
int
internalformat,
int
width,
int
height,
int
border,
int
format,
int
type,
java.nio.Buffer
pixels)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glTexParameterf(int, int, float)">glTexParameterf
</A></B>(int
target,
int
pname,
float
param)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glTexSubImage2D(int, int, int, int, int, int, int, int, java.nio.Buffer)">glTexSubImage2D
</A></B>(int
target,
int
level,
int
xoffset,
int
yoffset,
int
width,
int
height,
int
format,
int
type,
java.nio.Buffer
pixels)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/GLCommon.html#glViewport(int, int, int, int)">glViewport
</A></B>(int
x,
int
y,
int
width,
int
height)
</CODE>
<BR>
</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail
</B></FONT></TH>
</TR>
</TABLE>
<A NAME="GL_GENERATE_MIPMAP"><!-- --></A><H3>
GL_GENERATE_MIPMAP
</H3>
<PRE>
static final int
<B>GL_GENERATE_MIPMAP
</B></PRE>
<DL>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.graphics.GLCommon.GL_GENERATE_MIPMAP">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="GL_TEXTURE_MAX_ANISOTROPY_EXT"><!-- --></A><H3>
GL_TEXTURE_MAX_ANISOTROPY_EXT
</H3>
<PRE>
static final int
<B>GL_TEXTURE_MAX_ANISOTROPY_EXT
</B></PRE>
<DL>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.graphics.GLCommon.GL_TEXTURE_MAX_ANISOTROPY_EXT">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT"><!-- --></A><H3>
GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
</H3>
<PRE>
static final int
<B>GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
</B></PRE>
<DL>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.graphics.GLCommon.GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT">Constant Field Values
</A></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail
</B></FONT></TH>
</TR>
</TABLE>
<A NAME="glActiveTexture(int)"><!-- --></A><H3>
glActiveTexture
</H3>
<PRE>
void
<B>glActiveTexture
</B>(int
texture)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glBindTexture(int, int)"><!-- --></A><H3>
glBindTexture
</H3>
<PRE>
void
<B>glBindTexture
</B>(int
target,
int
texture)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glBlendFunc(int, int)"><!-- --></A><H3>
glBlendFunc
</H3>
<PRE>
void
<B>glBlendFunc
</B>(int
sfactor,
int
dfactor)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glClear(int)"><!-- --></A><H3>
glClear
</H3>
<PRE>
void
<B>glClear
</B>(int
mask)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glClearColor(float, float, float, float)"><!-- --></A><H3>
glClearColor
</H3>
<PRE>
void
<B>glClearColor
</B>(float
red,
float
green,
float
blue,
float
alpha)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glClearDepthf(float)"><!-- --></A><H3>
glClearDepthf
</H3>
<PRE>
void
<B>glClearDepthf
</B>(float
depth)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glClearStencil(int)"><!-- --></A><H3>
glClearStencil
</H3>
<PRE>
void
<B>glClearStencil
</B>(int
s)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glColorMask(boolean, boolean, boolean, boolean)"><!-- --></A><H3>
glColorMask
</H3>
<PRE>
void
<B>glColorMask
</B>(boolean
red,
boolean
green,
boolean
blue,
boolean
alpha)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glCompressedTexImage2D(int, int, int, int, int, int, int, java.nio.Buffer)"><!-- --></A><H3>
glCompressedTexImage2D
</H3>
<PRE>
void
<B>glCompressedTexImage2D
</B>(int
target,
int
level,
int
internalformat,
int
width,
int
height,
int
border,
int
imageSize,
java.nio.Buffer
data)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glCompressedTexSubImage2D(int, int, int, int, int, int, int, int, java.nio.Buffer)"><!-- --></A><H3>
glCompressedTexSubImage2D
</H3>
<PRE>
void
<B>glCompressedTexSubImage2D
</B>(int
target,
int
level,
int
xoffset,
int
yoffset,
int
width,
int
height,
int
format,
int
imageSize,
java.nio.Buffer
data)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glCopyTexImage2D(int, int, int, int, int, int, int, int)"><!-- --></A><H3>
glCopyTexImage2D
</H3>
<PRE>
void
<B>glCopyTexImage2D
</B>(int
target,
int
level,
int
internalformat,
int
x,
int
y,
int
width,
int
height,
int
border)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glCopyTexSubImage2D(int, int, int, int, int, int, int, int)"><!-- --></A><H3>
glCopyTexSubImage2D
</H3>
<PRE>
void
<B>glCopyTexSubImage2D
</B>(int
target,
int
level,
int
xoffset,
int
yoffset,
int
x,
int
y,
int
width,
int
height)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glCullFace(int)"><!-- --></A><H3>
glCullFace
</H3>
<PRE>
void
<B>glCullFace
</B>(int
mode)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glDeleteTextures(int, java.nio.IntBuffer)"><!-- --></A><H3>
glDeleteTextures
</H3>
<PRE>
void
<B>glDeleteTextures
</B>(int
n,
java.nio.IntBuffer
textures)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glDepthFunc(int)"><!-- --></A><H3>
glDepthFunc
</H3>
<PRE>
void
<B>glDepthFunc
</B>(int
func)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glDepthMask(boolean)"><!-- --></A><H3>
glDepthMask
</H3>
<PRE>
void
<B>glDepthMask
</B>(boolean
flag)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glDepthRangef(float, float)"><!-- --></A><H3>
glDepthRangef
</H3>
<PRE>
void
<B>glDepthRangef
</B>(float
zNear,
float
zFar)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glDisable(int)"><!-- --></A><H3>
glDisable
</H3>
<PRE>
void
<B>glDisable
</B>(int
cap)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glDrawArrays(int, int, int)"><!-- --></A><H3>
glDrawArrays
</H3>
<PRE>
void
<B>glDrawArrays
</B>(int
mode,
int
first,
int
count)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glDrawElements(int, int, int, java.nio.Buffer)"><!-- --></A><H3>
glDrawElements
</H3>
<PRE>
void
<B>glDrawElements
</B>(int
mode,
int
count,
int
type,
java.nio.Buffer
indices)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glEnable(int)"><!-- --></A><H3>
glEnable
</H3>
<PRE>
void
<B>glEnable
</B>(int
cap)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glFinish()"><!-- --></A><H3>
glFinish
</H3>
<PRE>
void
<B>glFinish
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glFlush()"><!-- --></A><H3>
glFlush
</H3>
<PRE>
void
<B>glFlush
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glFrontFace(int)"><!-- --></A><H3>
glFrontFace
</H3>
<PRE>
void
<B>glFrontFace
</B>(int
mode)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glGenTextures(int, java.nio.IntBuffer)"><!-- --></A><H3>
glGenTextures
</H3>
<PRE>
void
<B>glGenTextures
</B>(int
n,
java.nio.IntBuffer
textures)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glGetError()"><!-- --></A><H3>
glGetError
</H3>
<PRE>
int
<B>glGetError
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glGetIntegerv(int, java.nio.IntBuffer)"><!-- --></A><H3>
glGetIntegerv
</H3>
<PRE>
void
<B>glGetIntegerv
</B>(int
pname,
java.nio.IntBuffer
params)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glGetString(int)"><!-- --></A><H3>
glGetString
</H3>
<PRE>
java.lang.String
<B>glGetString
</B>(int
name)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glHint(int, int)"><!-- --></A><H3>
glHint
</H3>
<PRE>
void
<B>glHint
</B>(int
target,
int
mode)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glLineWidth(float)"><!-- --></A><H3>
glLineWidth
</H3>
<PRE>
void
<B>glLineWidth
</B>(float
width)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glPixelStorei(int, int)"><!-- --></A><H3>
glPixelStorei
</H3>
<PRE>
void
<B>glPixelStorei
</B>(int
pname,
int
param)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glPolygonOffset(float, float)"><!-- --></A><H3>
glPolygonOffset
</H3>
<PRE>
void
<B>glPolygonOffset
</B>(float
factor,
float
units)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glReadPixels(int, int, int, int, int, int, java.nio.Buffer)"><!-- --></A><H3>
glReadPixels
</H3>
<PRE>
void
<B>glReadPixels
</B>(int
x,
int
y,
int
width,
int
height,
int
format,
int
type,
java.nio.Buffer
pixels)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glScissor(int, int, int, int)"><!-- --></A><H3>
glScissor
</H3>
<PRE>
void
<B>glScissor
</B>(int
x,
int
y,
int
width,
int
height)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glStencilFunc(int, int, int)"><!-- --></A><H3>
glStencilFunc
</H3>
<PRE>
void
<B>glStencilFunc
</B>(int
func,
int
ref,
int
mask)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glStencilMask(int)"><!-- --></A><H3>
glStencilMask
</H3>
<PRE>
void
<B>glStencilMask
</B>(int
mask)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glStencilOp(int, int, int)"><!-- --></A><H3>
glStencilOp
</H3>
<PRE>
void
<B>glStencilOp
</B>(int
fail,
int
zfail,
int
zpass)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glTexImage2D(int, int, int, int, int, int, int, int, java.nio.Buffer)"><!-- --></A><H3>
glTexImage2D
</H3>
<PRE>
void
<B>glTexImage2D
</B>(int
target,
int
level,
int
internalformat,
int
width,
int
height,
int
border,
int
format,
int
type,
java.nio.Buffer
pixels)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glTexParameterf(int, int, float)"><!-- --></A><H3>
glTexParameterf
</H3>
<PRE>
void
<B>glTexParameterf
</B>(int
target,
int
pname,
float
param)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glTexSubImage2D(int, int, int, int, int, int, int, int, java.nio.Buffer)"><!-- --></A><H3>
glTexSubImage2D
</H3>
<PRE>
void
<B>glTexSubImage2D
</B>(int
target,
int
level,
int
xoffset,
int
yoffset,
int
width,
int
height,
int
format,
int
type,
java.nio.Buffer
pixels)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="glViewport(int, int, int, int)"><!-- --></A><H3>
glViewport
</H3>
<PRE>
void
<B>glViewport
</B>(int
x,
int
y,
int
width,
int
height)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package
</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class
</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GLCommon.html"><FONT CLASS="NavBarFont1"><B>Use
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help
</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
libgdx API
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/badlogic/gdx/graphics/GL20.html" title="interface in com.badlogic.gdx.graphics"><B>PREV CLASS
</B></A>
<A HREF="../../../../com/badlogic/gdx/graphics/GLU.html" title="interface in com.badlogic.gdx.graphics"><B>NEXT CLASS
</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/badlogic/gdx/graphics/GLCommon.html" target="_top"><B>FRAMES
</B></A>
<A HREF="GLCommon.html" target="_top"><B>NO FRAMES
</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes
</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:
NESTED
|
<A HREF="#field_summary">FIELD
</A> |
CONSTR
|
<A HREF="#method_summary">METHOD
</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:
<A HREF="#field_detail">FIELD
</A> |
CONSTR
|
<A HREF="#method_detail">METHOD
</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<div style="font-size:9pt"><i>
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
</i></div>
</BODY>
</HTML>