<!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 Mon Jul 02 02:26:36 CEST 2012 -->
<TITLE>
ShaderProgram (libgdx API)
</TITLE>
<META NAME="date" CONTENT="2012-07-02">
<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="ShaderProgram (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/ShaderProgram.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/glutils/PixmapTextureData.html" title="class in com.badlogic.gdx.graphics.glutils"><B>PREV CLASS
</B></A>
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShapeRenderer.html" title="class in com.badlogic.gdx.graphics.glutils"><B>NEXT CLASS
</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/badlogic/gdx/graphics/glutils/ShaderProgram.html" target="_top"><B>FRAMES
</B></A>
<A HREF="ShaderProgram.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> |
<A HREF="#constructor_summary">CONSTR
</A> |
<A HREF="#method_summary">METHOD
</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:
<A HREF="#field_detail">FIELD
</A> |
<A HREF="#constructor_detail">CONSTR
</A> |
<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.glutils
</FONT>
<BR>
Class ShaderProgram
</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.graphics.glutils.ShaderProgram
</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:
</B> <DD><A HREF="../../../../../com/badlogic/gdx/utils/Disposable.html" title="interface in com.badlogic.gdx.utils">Disposable
</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class
<B>ShaderProgram
</B><DT>extends java.lang.Object
<DT>implements
<A HREF="../../../../../com/badlogic/gdx/utils/Disposable.html" title="interface in com.badlogic.gdx.utils">Disposable
</A></DL>
</PRE>
<P>
<p>
A shader program encapsulates a vertex and fragment shader pair linked to form a shader program useable with OpenGL ES 2.0.
</p>
<p>
After construction a ShaderProgram can be used to draw
<A HREF="../../../../../com/badlogic/gdx/graphics/Mesh.html" title="class in com.badlogic.gdx.graphics"><CODE>Mesh
</CODE></A>. To make the GPU use a specific ShaderProgram the programs
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A> method must be used which effectively binds the program.
</p>
<p>
When a ShaderProgram is bound one can set uniforms, vertex attributes and attributes as needed via the respective methods.
</p>
<p>
A ShaderProgram can be unbound with a call to
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A>
</p>
<p>
A ShaderProgram must be disposed via a call to
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#dispose()"><CODE>dispose()
</CODE></A> when it is no longer needed
</p>
<p>
ShaderPrograms are managed. In case the OpenGL context is lost all shaders get invalidated and have to be reloaded. This
happens on Android when a user switches to another application or receives an incoming call. Managed ShaderPrograms are
automatically reloaded when the OpenGL context is recreated so you don't have to do this manually.
</p>
<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
java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#BINORMAL_ATTRIBUTE">BINORMAL_ATTRIBUTE
</A></B></CODE>
<BR>
default name for binormal attribute
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#COLOR_ATTRIBUTE">COLOR_ATTRIBUTE
</A></B></CODE>
<BR>
default name for color attributes
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#NORMAL_ATTRIBUTE">NORMAL_ATTRIBUTE
</A></B></CODE>
<BR>
default name for normal attribtues
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
boolean
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#pedantic">pedantic
</A></B></CODE>
<BR>
flag indicating whether attributes
& uniforms must be present at all times</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#POSITION_ATTRIBUTE">POSITION_ATTRIBUTE
</A></B></CODE>
<BR>
default name for position attributes
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#TANGENT_ATTRIBUTE">TANGENT_ATTRIBUTE
</A></B></CODE>
<BR>
default name for tangent attribute
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#TEXCOORD_ATTRIBUTE">TEXCOORD_ATTRIBUTE
</A></B></CODE>
<BR>
default name for texcoords attributes, append texture unit number
</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_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>Constructor Summary
</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#ShaderProgram(com.badlogic.gdx.files.FileHandle, com.badlogic.gdx.files.FileHandle)">ShaderProgram
</A></B>(
<A HREF="../../../../../com/badlogic/gdx/files/FileHandle.html" title="class in com.badlogic.gdx.files">FileHandle
</A> vertexShader,
<A HREF="../../../../../com/badlogic/gdx/files/FileHandle.html" title="class in com.badlogic.gdx.files">FileHandle
</A> fragmentShader)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#ShaderProgram(java.lang.String, java.lang.String)">ShaderProgram
</A></B>(java.lang.String
vertexShader,
java.lang.String
fragmentShader)
</CODE>
<BR>
Construcs a new JOglShaderProgram and immediatly compiles it.
</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/glutils/ShaderProgram.html#begin()">begin
</A></B>()
</CODE>
<BR>
Makes OpenGL ES 2.0 use this vertex and fragment shader pair.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#clearAllShaderPrograms(com.badlogic.gdx.Application)">clearAllShaderPrograms
</A></B>(
<A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</A> app)
</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/glutils/ShaderProgram.html#disableVertexAttribute(java.lang.String)">disableVertexAttribute
</A></B>(java.lang.String
name)
</CODE>
<BR>
Disables the vertex attribute with the given name
</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/glutils/ShaderProgram.html#dispose()">dispose
</A></B>()
</CODE>
<BR>
Disposes all resources associated with this shader.
</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/glutils/ShaderProgram.html#enableVertexAttribute(java.lang.String)">enableVertexAttribute
</A></B>(java.lang.String
name)
</CODE>
<BR>
Enables the vertex attribute with the given name
</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/glutils/ShaderProgram.html#end()">end
</A></B>()
</CODE>
<BR>
Disables this shader.
</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/glutils/ShaderProgram.html#getAttributeLocation(java.lang.String)">getAttributeLocation
</A></B>(java.lang.String
name)
</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/glutils/ShaderProgram.html#getAttributes()">getAttributes
</A></B>()
</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/glutils/ShaderProgram.html#getAttributeType(java.lang.String)">getAttributeType
</A></B>(java.lang.String
name)
</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/glutils/ShaderProgram.html#getLog()">getLog
</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
java.lang.String
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#getManagedStatus()">getManagedStatus
</A></B>()
</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/glutils/ShaderProgram.html#getUniformLocation(java.lang.String)">getUniformLocation
</A></B>(java.lang.String
name)
</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/glutils/ShaderProgram.html#getUniforms()">getUniforms
</A></B>()
</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/glutils/ShaderProgram.html#getUniformType(java.lang.String)">getUniformType
</A></B>(java.lang.String
name)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#hasAttribute(java.lang.String)">hasAttribute
</A></B>(java.lang.String
name)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#hasUniform(java.lang.String)">hasUniform
</A></B>(java.lang.String
name)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#invalidateAllShaderPrograms(com.badlogic.gdx.Application)">invalidateAllShaderPrograms
</A></B>(
<A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</A> app)
</CODE>
<BR>
Invalidates all shaders so the next time they are used new handles are generated
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#isCompiled()">isCompiled
</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/glutils/ShaderProgram.html#setAttributef(java.lang.String, float, float, float, float)">setAttributef
</A></B>(java.lang.String
name,
float
value1,
float
value2,
float
value3,
float
value4)
</CODE>
<BR>
Sets the given attribute
</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/glutils/ShaderProgram.html#setUniform1fv(java.lang.String, float[], int, int)">setUniform1fv
</A></B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</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/glutils/ShaderProgram.html#setUniform2fv(java.lang.String, float[], int, int)">setUniform2fv
</A></B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</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/glutils/ShaderProgram.html#setUniform3fv(java.lang.String, float[], int, int)">setUniform3fv
</A></B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</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/glutils/ShaderProgram.html#setUniform4fv(java.lang.String, float[], int, int)">setUniform4fv
</A></B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</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/glutils/ShaderProgram.html#setUniformf(java.lang.String, com.badlogic.gdx.graphics.Color)">setUniformf
</A></B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/graphics/Color.html" title="class in com.badlogic.gdx.graphics">Color
</A> values)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformf(java.lang.String, float)">setUniformf
</A></B>(java.lang.String
name,
float
value)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformf(java.lang.String, float, float)">setUniformf
</A></B>(java.lang.String
name,
float
value1,
float
value2)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformf(java.lang.String, float, float, float)">setUniformf
</A></B>(java.lang.String
name,
float
value1,
float
value2,
float
value3)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformf(java.lang.String, float, float, float, float)">setUniformf
</A></B>(java.lang.String
name,
float
value1,
float
value2,
float
value3,
float
value4)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformf(java.lang.String, com.badlogic.gdx.math.Vector2)">setUniformf
</A></B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2
</A> values)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformf(java.lang.String, com.badlogic.gdx.math.Vector3)">setUniformf
</A></B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</A> values)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformi(java.lang.String, int)">setUniformi
</A></B>(java.lang.String
name,
int
value)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformi(java.lang.String, int, int)">setUniformi
</A></B>(java.lang.String
name,
int
value1,
int
value2)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformi(java.lang.String, int, int, int)">setUniformi
</A></B>(java.lang.String
name,
int
value1,
int
value2,
int
value3)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformi(java.lang.String, int, int, int, int)">setUniformi
</A></B>(java.lang.String
name,
int
value1,
int
value2,
int
value3,
int
value4)
</CODE>
<BR>
Sets the uniform with the given name.
</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/glutils/ShaderProgram.html#setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix3)">setUniformMatrix
</A></B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3
</A> matrix)
</CODE>
<BR>
Sets the uniform matrix with the given name.
</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/glutils/ShaderProgram.html#setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix3, boolean)">setUniformMatrix
</A></B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3
</A> matrix,
boolean
transpose)
</CODE>
<BR>
Sets the uniform matrix with the given name.
</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/glutils/ShaderProgram.html#setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix4)">setUniformMatrix
</A></B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</A> matrix)
</CODE>
<BR>
Sets the uniform matrix with the given name.
</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/glutils/ShaderProgram.html#setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix4, boolean)">setUniformMatrix
</A></B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</A> matrix,
boolean
transpose)
</CODE>
<BR>
Sets the uniform matrix with the given name.
</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/glutils/ShaderProgram.html#setVertexAttribute(java.lang.String, int, int, boolean, int, java.nio.Buffer)">setVertexAttribute
</A></B>(java.lang.String
name,
int
size,
int
type,
boolean
normalize,
int
stride,
java.nio.Buffer
buffer)
</CODE>
<BR>
Sets the vertex attribute with the given name.
</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/glutils/ShaderProgram.html#setVertexAttribute(java.lang.String, int, int, boolean, int, int)">setVertexAttribute
</A></B>(java.lang.String
name,
int
size,
int
type,
boolean
normalize,
int
stride,
int
offset)
</CODE>
<BR>
Sets the vertex attribute with the given name.
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object
</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></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="POSITION_ATTRIBUTE"><!-- --></A><H3>
POSITION_ATTRIBUTE
</H3>
<PRE>
public static final java.lang.String
<B>POSITION_ATTRIBUTE
</B></PRE>
<DL>
<DD>default name for position attributes
<P>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../../constant-values.html#com.badlogic.gdx.graphics.glutils.ShaderProgram.POSITION_ATTRIBUTE">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="NORMAL_ATTRIBUTE"><!-- --></A><H3>
NORMAL_ATTRIBUTE
</H3>
<PRE>
public static final java.lang.String
<B>NORMAL_ATTRIBUTE
</B></PRE>
<DL>
<DD>default name for normal attribtues
<P>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../../constant-values.html#com.badlogic.gdx.graphics.glutils.ShaderProgram.NORMAL_ATTRIBUTE">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="COLOR_ATTRIBUTE"><!-- --></A><H3>
COLOR_ATTRIBUTE
</H3>
<PRE>
public static final java.lang.String
<B>COLOR_ATTRIBUTE
</B></PRE>
<DL>
<DD>default name for color attributes
<P>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../../constant-values.html#com.badlogic.gdx.graphics.glutils.ShaderProgram.COLOR_ATTRIBUTE">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="TEXCOORD_ATTRIBUTE"><!-- --></A><H3>
TEXCOORD_ATTRIBUTE
</H3>
<PRE>
public static final java.lang.String
<B>TEXCOORD_ATTRIBUTE
</B></PRE>
<DL>
<DD>default name for texcoords attributes, append texture unit number
<P>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../../constant-values.html#com.badlogic.gdx.graphics.glutils.ShaderProgram.TEXCOORD_ATTRIBUTE">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="TANGENT_ATTRIBUTE"><!-- --></A><H3>
TANGENT_ATTRIBUTE
</H3>
<PRE>
public static final java.lang.String
<B>TANGENT_ATTRIBUTE
</B></PRE>
<DL>
<DD>default name for tangent attribute
<P>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../../constant-values.html#com.badlogic.gdx.graphics.glutils.ShaderProgram.TANGENT_ATTRIBUTE">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="BINORMAL_ATTRIBUTE"><!-- --></A><H3>
BINORMAL_ATTRIBUTE
</H3>
<PRE>
public static final java.lang.String
<B>BINORMAL_ATTRIBUTE
</B></PRE>
<DL>
<DD>default name for binormal attribute
<P>
<DL>
<DT><B>See Also:
</B><DD><A HREF="../../../../../constant-values.html#com.badlogic.gdx.graphics.glutils.ShaderProgram.BINORMAL_ATTRIBUTE">Constant Field Values
</A></DL>
</DL>
<HR>
<A NAME="pedantic"><!-- --></A><H3>
pedantic
</H3>
<PRE>
public static boolean
<B>pedantic
</B></PRE>
<DL>
<DD>flag indicating whether attributes
& uniforms must be present at all times
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ShaderProgram(java.lang.String, java.lang.String)"><!-- --></A><H3>
ShaderProgram</H3>
<PRE>
public <B>ShaderProgram</B>(java.lang.String vertexShader,
java.lang.String
fragmentShader)
</PRE>
<DL>
<DD>Construcs a new JOglShaderProgram and immediatly compiles it.
<P>
<DL>
<DT><B>Parameters:
</B><DD><CODE>vertexShader
</CODE> - the vertex shader
<DD><CODE>fragmentShader
</CODE> - the fragment shader
</DL>
</DL>
<HR>
<A NAME="ShaderProgram(com.badlogic.gdx.files.FileHandle, com.badlogic.gdx.files.FileHandle)"><!-- --></A><H3>
ShaderProgram
</H3>
<PRE>
public
<B>ShaderProgram
</B>(
<A HREF="../../../../../com/badlogic/gdx/files/FileHandle.html" title="class in com.badlogic.gdx.files">FileHandle
</A> vertexShader,
<A HREF="../../../../../com/badlogic/gdx/files/FileHandle.html" title="class in com.badlogic.gdx.files">FileHandle
</A> fragmentShader)
</PRE>
<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="getLog()"><!-- --></A><H3>
getLog
</H3>
<PRE>
public java.lang.String
<B>getLog
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:
</B><DD>the log info for the shader compilation and program linking stage. The shader needs to be bound for this method to
have an effect.
</DL>
</DD>
</DL>
<HR>
<A NAME="isCompiled()"><!-- --></A><H3>
isCompiled
</H3>
<PRE>
public boolean
<B>isCompiled
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:
</B><DD>whether this ShaderProgram compiled successfully.
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformi(java.lang.String, int)"><!-- --></A><H3>
setUniformi
</H3>
<PRE>
public void
<B>setUniformi
</B>(java.lang.String
name,
int
value)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value
</CODE> - the value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformi(java.lang.String, int, int)"><!-- --></A><H3>
setUniformi
</H3>
<PRE>
public void
<B>setUniformi
</B>(java.lang.String
name,
int
value1,
int
value2)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value1
</CODE> - the first value
<DD><CODE>value2
</CODE> - the second value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformi(java.lang.String, int, int, int)"><!-- --></A><H3>
setUniformi
</H3>
<PRE>
public void
<B>setUniformi
</B>(java.lang.String
name,
int
value1,
int
value2,
int
value3)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value1
</CODE> - the first value
<DD><CODE>value2
</CODE> - the second value
<DD><CODE>value3
</CODE> - the third value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformi(java.lang.String, int, int, int, int)"><!-- --></A><H3>
setUniformi
</H3>
<PRE>
public void
<B>setUniformi
</B>(java.lang.String
name,
int
value1,
int
value2,
int
value3,
int
value4)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value1
</CODE> - the first value
<DD><CODE>value2
</CODE> - the second value
<DD><CODE>value3
</CODE> - the third value
<DD><CODE>value4
</CODE> - the fourth value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformf(java.lang.String, float)"><!-- --></A><H3>
setUniformf
</H3>
<PRE>
public void
<B>setUniformf
</B>(java.lang.String
name,
float
value)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value
</CODE> - the value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformf(java.lang.String, float, float)"><!-- --></A><H3>
setUniformf
</H3>
<PRE>
public void
<B>setUniformf
</B>(java.lang.String
name,
float
value1,
float
value2)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value1
</CODE> - the first value
<DD><CODE>value2
</CODE> - the second value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformf(java.lang.String, float, float, float)"><!-- --></A><H3>
setUniformf
</H3>
<PRE>
public void
<B>setUniformf
</B>(java.lang.String
name,
float
value1,
float
value2,
float
value3)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value1
</CODE> - the first value
<DD><CODE>value2
</CODE> - the second value
<DD><CODE>value3
</CODE> - the third value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformf(java.lang.String, float, float, float, float)"><!-- --></A><H3>
setUniformf
</H3>
<PRE>
public void
<B>setUniformf
</B>(java.lang.String
name,
float
value1,
float
value2,
float
value3,
float
value4)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>value1
</CODE> - the first value
<DD><CODE>value2
</CODE> - the second value
<DD><CODE>value3
</CODE> - the third value
<DD><CODE>value4
</CODE> - the fourth value
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniform1fv(java.lang.String, float[], int, int)"><!-- --></A><H3>
setUniform1fv
</H3>
<PRE>
public void
<B>setUniform1fv
</B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniform2fv(java.lang.String, float[], int, int)"><!-- --></A><H3>
setUniform2fv
</H3>
<PRE>
public void
<B>setUniform2fv
</B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniform3fv(java.lang.String, float[], int, int)"><!-- --></A><H3>
setUniform3fv
</H3>
<PRE>
public void
<B>setUniform3fv
</B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniform4fv(java.lang.String, float[], int, int)"><!-- --></A><H3>
setUniform4fv
</H3>
<PRE>
public void
<B>setUniform4fv
</B>(java.lang.String
name,
float[]
values,
int
offset,
int
length)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix4)"><!-- --></A><H3>
setUniformMatrix
</H3>
<PRE>
public void
<B>setUniformMatrix
</B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</A> matrix)
</PRE>
<DL>
<DD>Sets the uniform matrix with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>matrix
</CODE> - the matrix
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix4, boolean)"><!-- --></A><H3>
setUniformMatrix
</H3>
<PRE>
public void
<B>setUniformMatrix
</B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</A> matrix,
boolean
transpose)
</PRE>
<DL>
<DD>Sets the uniform matrix with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>matrix
</CODE> - the matrix
<DD><CODE>transpose
</CODE> - whether the matrix shouls be transposed
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix3)"><!-- --></A><H3>
setUniformMatrix
</H3>
<PRE>
public void
<B>setUniformMatrix
</B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3
</A> matrix)
</PRE>
<DL>
<DD>Sets the uniform matrix with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>matrix
</CODE> - the matrix
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix3, boolean)"><!-- --></A><H3>
setUniformMatrix
</H3>
<PRE>
public void
<B>setUniformMatrix
</B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3
</A> matrix,
boolean
transpose)
</PRE>
<DL>
<DD>Sets the uniform matrix with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>matrix
</CODE> - the matrix
<DD><CODE>transpose
</CODE> - whether the uniform matrix should be transposed
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformf(java.lang.String, com.badlogic.gdx.math.Vector2)"><!-- --></A><H3>
setUniformf
</H3>
<PRE>
public void
<B>setUniformf
</B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2
</A> values)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>values
</CODE> - x and y as the first and second values respectively
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformf(java.lang.String, com.badlogic.gdx.math.Vector3)"><!-- --></A><H3>
setUniformf
</H3>
<PRE>
public void
<B>setUniformf
</B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</A> values)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>values
</CODE> - x, y and z as the first, second and third values respectively
</DL>
</DD>
</DL>
<HR>
<A NAME="setUniformf(java.lang.String, com.badlogic.gdx.graphics.Color)"><!-- --></A><H3>
setUniformf
</H3>
<PRE>
public void
<B>setUniformf
</B>(java.lang.String
name,
<A HREF="../../../../../com/badlogic/gdx/graphics/Color.html" title="class in com.badlogic.gdx.graphics">Color
</A> values)
</PRE>
<DL>
<DD>Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DD><CODE>values
</CODE> - r, g, b and a as the first through fourth values respectively
</DL>
</DD>
</DL>
<HR>
<A NAME="setVertexAttribute(java.lang.String, int, int, boolean, int, java.nio.Buffer)"><!-- --></A><H3>
setVertexAttribute
</H3>
<PRE>
public void
<B>setVertexAttribute
</B>(java.lang.String
name,
int
size,
int
type,
boolean
normalize,
int
stride,
java.nio.Buffer
buffer)
</PRE>
<DL>
<DD>Sets the vertex attribute with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the attribute name
<DD><CODE>size
</CODE> - the number of components, must be >= 1 and
<= 4<DD><CODE>type
</CODE> - the type, must be one of GL20.GL_BYTE, GL20.GL_UNSIGNED_BYTE, GL20.GL_SHORT,
GL20.GL_UNSIGNED_SHORT,GL20.GL_FIXED, or GL20.GL_FLOAT. GL_FIXED will not work on the desktop
<DD><CODE>normalize
</CODE> - whether fixed point data should be normalized. Will not work on the desktop
<DD><CODE>stride
</CODE> - the stride in bytes between successive attributes
<DD><CODE>buffer
</CODE> - the buffer containing the vertex attributes.
</DL>
</DD>
</DL>
<HR>
<A NAME="setVertexAttribute(java.lang.String, int, int, boolean, int, int)"><!-- --></A><H3>
setVertexAttribute
</H3>
<PRE>
public void
<B>setVertexAttribute
</B>(java.lang.String
name,
int
size,
int
type,
boolean
normalize,
int
stride,
int
offset)
</PRE>
<DL>
<DD>Sets the vertex attribute with the given name. Throws an IllegalArgumentException in case it is not called in between a
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#begin()"><CODE>begin()
</CODE></A>/
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A> block.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the attribute name
<DD><CODE>size
</CODE> - the number of components, must be >= 1 and
<= 4<DD><CODE>type
</CODE> - the type, must be one of GL20.GL_BYTE, GL20.GL_UNSIGNED_BYTE, GL20.GL_SHORT,
GL20.GL_UNSIGNED_SHORT,GL20.GL_FIXED, or GL20.GL_FLOAT. GL_FIXED will not work on the desktop
<DD><CODE>normalize
</CODE> - whether fixed point data should be normalized. Will not work on the desktop
<DD><CODE>stride
</CODE> - the stride in bytes between successive attributes
<DD><CODE>offset
</CODE> - byte offset into the vertex buffer object bound to GL20.GL_ARRAY_BUFFER.
</DL>
</DD>
</DL>
<HR>
<A NAME="begin()"><!-- --></A><H3>
begin
</H3>
<PRE>
public void
<B>begin
</B>()
</PRE>
<DL>
<DD>Makes OpenGL ES 2.0 use this vertex and fragment shader pair. When you are done with this shader you have to call
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#end()"><CODE>end()
</CODE></A>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="end()"><!-- --></A><H3>
end
</H3>
<PRE>
public void
<B>end
</B>()
</PRE>
<DL>
<DD>Disables this shader. Must be called when one is done with the shader. Don't mix it with dispose, that will release the
shader resources.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="dispose()"><!-- --></A><H3>
dispose
</H3>
<PRE>
public void
<B>dispose
</B>()
</PRE>
<DL>
<DD>Disposes all resources associated with this shader. Must be called when the shader is no longer used.
<P>
<DD><DL>
<DT><B>Specified by:
</B><DD><CODE><A HREF="../../../../../com/badlogic/gdx/utils/Disposable.html#dispose()">dispose
</A></CODE> in interface
<CODE><A HREF="../../../../../com/badlogic/gdx/utils/Disposable.html" title="interface in com.badlogic.gdx.utils">Disposable
</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="disableVertexAttribute(java.lang.String)"><!-- --></A><H3>
disableVertexAttribute
</H3>
<PRE>
public void
<B>disableVertexAttribute
</B>(java.lang.String
name)
</PRE>
<DL>
<DD>Disables the vertex attribute with the given name
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the vertex attribute name
</DL>
</DD>
</DL>
<HR>
<A NAME="enableVertexAttribute(java.lang.String)"><!-- --></A><H3>
enableVertexAttribute
</H3>
<PRE>
public void
<B>enableVertexAttribute
</B>(java.lang.String
name)
</PRE>
<DL>
<DD>Enables the vertex attribute with the given name
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the vertex attribute name
</DL>
</DD>
</DL>
<HR>
<A NAME="invalidateAllShaderPrograms(com.badlogic.gdx.Application)"><!-- --></A><H3>
invalidateAllShaderPrograms
</H3>
<PRE>
public static void
<B>invalidateAllShaderPrograms
</B>(
<A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</A> app)
</PRE>
<DL>
<DD>Invalidates all shaders so the next time they are used new handles are generated
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>app
</CODE> -
</DL>
</DD>
</DL>
<HR>
<A NAME="clearAllShaderPrograms(com.badlogic.gdx.Application)"><!-- --></A><H3>
clearAllShaderPrograms
</H3>
<PRE>
public static void
<B>clearAllShaderPrograms
</B>(
<A HREF="../../../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application
</A> app)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getManagedStatus()"><!-- --></A><H3>
getManagedStatus
</H3>
<PRE>
public static java.lang.String
<B>getManagedStatus
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setAttributef(java.lang.String, float, float, float, float)"><!-- --></A><H3>
setAttributef
</H3>
<PRE>
public void
<B>setAttributef
</B>(java.lang.String
name,
float
value1,
float
value2,
float
value3,
float
value4)
</PRE>
<DL>
<DD>Sets the given attribute
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the attribute
<DD><CODE>value1
</CODE> - the first value
<DD><CODE>value2
</CODE> - the second value
<DD><CODE>value3
</CODE> - the third value
<DD><CODE>value4
</CODE> - the fourth value
</DL>
</DD>
</DL>
<HR>
<A NAME="hasAttribute(java.lang.String)"><!-- --></A><H3>
hasAttribute
</H3>
<PRE>
public boolean
<B>hasAttribute
</B>(java.lang.String
name)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the attribute
<DT><B>Returns:
</B><DD>whether the attribute is available in the shader
</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributeType(java.lang.String)"><!-- --></A><H3>
getAttributeType
</H3>
<PRE>
public int
<B>getAttributeType
</B>(java.lang.String
name)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the attribute
<DT><B>Returns:
</B><DD>the type of the attribute, one of
<A HREF="../../../../../com/badlogic/gdx/graphics/GL20.html#GL_FLOAT"><CODE>GL20.GL_FLOAT
</CODE></A>,
<A HREF="../../../../../com/badlogic/gdx/graphics/GL20.html#GL_FLOAT_VEC2"><CODE>GL20.GL_FLOAT_VEC2
</CODE></A> etc.
</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributeLocation(java.lang.String)"><!-- --></A><H3>
getAttributeLocation
</H3>
<PRE>
public int
<B>getAttributeLocation
</B>(java.lang.String
name)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the attribute
<DT><B>Returns:
</B><DD>the location of the attribute or -1.
</DL>
</DD>
</DL>
<HR>
<A NAME="hasUniform(java.lang.String)"><!-- --></A><H3>
hasUniform
</H3>
<PRE>
public boolean
<B>hasUniform
</B>(java.lang.String
name)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DT><B>Returns:
</B><DD>whether the uniform is available in the shader
</DL>
</DD>
</DL>
<HR>
<A NAME="getUniformType(java.lang.String)"><!-- --></A><H3>
getUniformType
</H3>
<PRE>
public int
<B>getUniformType
</B>(java.lang.String
name)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DT><B>Returns:
</B><DD>the type of the uniform, one of
<A HREF="../../../../../com/badlogic/gdx/graphics/GL20.html#GL_FLOAT"><CODE>GL20.GL_FLOAT
</CODE></A>,
<A HREF="../../../../../com/badlogic/gdx/graphics/GL20.html#GL_FLOAT_VEC2"><CODE>GL20.GL_FLOAT_VEC2
</CODE></A> etc.
</DL>
</DD>
</DL>
<HR>
<A NAME="getUniformLocation(java.lang.String)"><!-- --></A><H3>
getUniformLocation
</H3>
<PRE>
public int
<B>getUniformLocation
</B>(java.lang.String
name)
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>name
</CODE> - the name of the uniform
<DT><B>Returns:
</B><DD>the location of the uniform or -1.
</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributes()"><!-- --></A><H3>
getAttributes
</H3>
<PRE>
public java.lang.String[]
<B>getAttributes
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:
</B><DD>the attributes
</DL>
</DD>
</DL>
<HR>
<A NAME="getUniforms()"><!-- --></A><H3>
getUniforms
</H3>
<PRE>
public java.lang.String[]
<B>getUniforms
</B>()
</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:
</B><DD>the uniforms
</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/ShaderProgram.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/glutils/PixmapTextureData.html" title="class in com.badlogic.gdx.graphics.glutils"><B>PREV CLASS
</B></A>
<A HREF="../../../../../com/badlogic/gdx/graphics/glutils/ShapeRenderer.html" title="class in com.badlogic.gdx.graphics.glutils"><B>NEXT CLASS
</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/badlogic/gdx/graphics/glutils/ShaderProgram.html" target="_top"><B>FRAMES
</B></A>
<A HREF="ShaderProgram.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> |
<A HREF="#constructor_summary">CONSTR
</A> |
<A HREF="#method_summary">METHOD
</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:
<A HREF="#field_detail">FIELD
</A> |
<A HREF="#constructor_detail">CONSTR
</A> |
<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>