codeanticode.glgraphics
Class GLState

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

public class GLState
extends java.lang.Object


Field Summary
protected static java.util.Stack fboStack
           
 GL gl
           
static GLU glu
           
protected static long INSTANCES_COUNT
           
 
Constructor Summary
GLState(GL gl)
           
 
Method Summary
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

glu

public static GLU glu

gl

public GL gl

INSTANCES_COUNT

protected static long INSTANCES_COUNT

fboStack

protected static java.util.Stack fboStack
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()