jjdh.opengl.exercises.playground.swing
Class SwingDemo
java.lang.Object
jjdh.opengl.program.AbstractOpenGLProgram
jjdh.opengl.program.StandardOpenGLProgram
jjdh.opengl.exercises.playground.swing.SwingDemo
- All Implemented Interfaces:
- Initable, Reshapeable, OpenGLProgram, FullRenderer, GlassPaneRenderer, Renderer, ReshapeableRenderer
public class SwingDemo
- extends StandardOpenGLProgram
Method Summary |
void |
display()
Called to execute OpenGL rendering. |
protected com.sun.opengl.util.texture.TextureData |
getData()
|
void |
init(SystemContext context)
Called to give this renderer the chance to initiate himself for OpenGL
rendering. |
texture
protected com.sun.opengl.util.texture.Texture texture
image
protected BufferedImage image
mesh
protected Mesh mesh
SwingDemo
public SwingDemo()
init
public void init(SystemContext context)
- Description copied from interface:
Initable
- Called to give this renderer the chance to initiate himself for OpenGL
rendering.
- Specified by:
init
in interface Initable
- Overrides:
init
in class StandardOpenGLProgram
- Parameters:
context
- the suitable system context
getData
protected com.sun.opengl.util.texture.TextureData getData()
display
public void display()
- Description copied from interface:
Renderer
- Called to execute OpenGL rendering.
- Specified by:
display
in interface Renderer
- Overrides:
display
in class StandardOpenGLProgram
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.