codeanticode.glgraphics
Class GLState

java.lang.Object
  extended by codeanticode.glgraphics.GLState

public class GLState
extends java.lang.Object


Field Summary
 GL gl
           
static GLU glu
           
 
Constructor Summary
GLState(GL gl)
           
 
Method Summary
 void clearTex(int glid, int target, int color)
           
 void paintTex(int glid, int target, int w, int h, int color)
           
 void restoreGLMatrices()
           
 void restoreGLState()
           
 void restoreView()
           
 void saveGLMatrices()
           
 void saveGLState()
           
 void saveView()
           
 void setOrthographicView(int w, int h)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

glu

public static GLU glu

gl

public GL gl
Constructor Detail

GLState

public GLState(GL gl)
Method Detail

setOrthographicView

public void setOrthographicView(int w,
                                int h)

saveView

public void saveView()

restoreView

public void restoreView()

saveGLState

public void saveGLState()

restoreGLState

public void restoreGLState()

saveGLMatrices

public void saveGLMatrices()

restoreGLMatrices

public void restoreGLMatrices()

clearTex

public void clearTex(int glid,
                     int target,
                     int color)

paintTex

public void paintTex(int glid,
                     int target,
                     int w,
                     int h,
                     int color)


processing library glgraphics by Andres Colubri. (c) 2008