|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimogl.gamecore.Renderer
public class Renderer
This class is responsible for rendering the scene
Constructor Summary | |
---|---|
Renderer(javax.media.opengl.GLCanvas canvas,
javax.swing.JFrame frame)
Creates the render thread (GL event listener) |
Method Summary | |
---|---|
void |
display(javax.media.opengl.GLAutoDrawable gld)
JOGL display method |
void |
displayChanged(javax.media.opengl.GLAutoDrawable gld,
boolean arg1,
boolean arg2)
|
void |
init(javax.media.opengl.GLAutoDrawable gld)
JOGL init method |
void |
reshape(javax.media.opengl.GLAutoDrawable gld,
int x,
int y,
int width,
int height)
JOGL reshape method |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Renderer(javax.media.opengl.GLCanvas canvas, javax.swing.JFrame frame)
canvas
- the canvas on which to renderframe
- the main frame of the applicationMethod Detail |
---|
public void init(javax.media.opengl.GLAutoDrawable gld)
init
in interface javax.media.opengl.GLEventListener
public void reshape(javax.media.opengl.GLAutoDrawable gld, int x, int y, int width, int height)
reshape
in interface javax.media.opengl.GLEventListener
public void display(javax.media.opengl.GLAutoDrawable gld)
display
in interface javax.media.opengl.GLEventListener
public void displayChanged(javax.media.opengl.GLAutoDrawable gld, boolean arg1, boolean arg2)
displayChanged
in interface javax.media.opengl.GLEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |