jjdh.opengl.initialization
Class StandardSystemContext
java.lang.Object
jjdh.opengl.initialization.StandardSystemContext
- All Implemented Interfaces:
- SystemContext
public class StandardSystemContext
- extends Object
- implements SystemContext
DEFAULT_RENDER_FPS
protected static final double DEFAULT_RENDER_FPS
- See Also:
- Constant Field Values
schedulerManager
protected SchedulerManager schedulerManager
renderFPS
protected double renderFPS
oldMode
protected DisplayMode oldMode
frame
protected Frame frame
component
protected Component component
mouseRobot
protected MouseRobot mouseRobot
drawable
protected javax.media.opengl.GLDrawable drawable
context
protected javax.media.opengl.GLContext context
gl
protected javax.media.opengl.GL gl
glu
protected javax.media.opengl.glu.GLU glu
glut
protected com.sun.opengl.util.GLUT glut
StandardSystemContext
public StandardSystemContext()
setFrame
public void setFrame(Frame frame)
setComponent
public void setComponent(Component component)
setDrawable
public void setDrawable(javax.media.opengl.GLDrawable drawable)
getSchedulerManager
public SchedulerManager getSchedulerManager()
- Specified by:
getSchedulerManager
in interface SystemContext
setRenderFPS
public void setRenderFPS(double renderFPS)
getRenderFPS
public double getRenderFPS()
- Specified by:
getRenderFPS
in interface SystemContext
setOldMode
public void setOldMode(DisplayMode oldMode)
getFrame
public Frame getFrame()
- Specified by:
getFrame
in interface SystemContext
getComponent
public Component getComponent()
- Specified by:
getComponent
in interface SystemContext
getMouseRobot
public MouseRobot getMouseRobot()
- Specified by:
getMouseRobot
in interface SystemContext
getDrawable
public javax.media.opengl.GLDrawable getDrawable()
- Specified by:
getDrawable
in interface SystemContext
getGL
public javax.media.opengl.GL getGL()
- Specified by:
getGL
in interface SystemContext
getGLU
public javax.media.opengl.glu.GLU getGLU()
- Specified by:
getGLU
in interface SystemContext
getGLUT
public com.sun.opengl.util.GLUT getGLUT()
- Specified by:
getGLUT
in interface SystemContext
makeCurrent
public void makeCurrent()
- Specified by:
makeCurrent
in interface SystemContext
release
public void release()
- Specified by:
release
in interface SystemContext
shutdown
public void shutdown()
- Specified by:
shutdown
in interface SystemContext
toString
public String toString()
- Overrides:
toString
in class Object
checkExtensions
public boolean checkExtensions(String... extensions)
- Specified by:
checkExtensions
in interface SystemContext
getContext
public javax.media.opengl.GLContext getContext()
- Specified by:
getContext
in interface SystemContext
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.