public abstract class JoglAbstractDisplay extends JoglContext implements com.jogamp.opengl.GLEventListener
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.atomic.AtomicBoolean |
active |
protected com.jogamp.opengl.util.AnimatorBase |
animator |
protected java.util.concurrent.atomic.AtomicBoolean |
autoFlush |
protected com.jogamp.opengl.awt.GLCanvas |
canvas |
protected java.awt.GraphicsDevice |
device |
protected int |
frameRate |
protected boolean |
useAwt |
protected boolean |
wasActive |
protected boolean |
wasAnimating |
created, createdLock, joyInput, keyInput, listener, mouseInput, renderable, renderer, settings, THREAD_NAME, timer| Constructor and Description |
|---|
JoglAbstractDisplay() |
| Modifier and Type | Method and Description |
|---|---|
void |
displayChanged(com.jogamp.opengl.GLAutoDrawable drawable,
boolean modeChanged,
boolean deviceChanged)
Callback.
|
void |
dispose(com.jogamp.opengl.GLAutoDrawable drawable)
Callback
|
com.jme3.input.KeyInput |
getKeyInput() |
com.jme3.input.MouseInput |
getMouseInput() |
com.jme3.input.TouchInput |
getTouchInput() |
protected void |
initGLCanvas() |
protected void |
onCanvasAdded() |
protected void |
onCanvasRemoved() |
void |
reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height)
Callback.
|
void |
setAutoFlushFrames(boolean enabled) |
protected void |
startGLCanvas() |
create, destroy, determineMaxSamples, getJoyInput, getNumSamplesToUse, getRenderer, getSettings, getTimer, initContextFirstTime, internalCreate, internalDestroy, isCreated, isRenderable, setSettings, setSystemListener, waitForprotected java.awt.GraphicsDevice device
protected com.jogamp.opengl.awt.GLCanvas canvas
protected com.jogamp.opengl.util.AnimatorBase animator
protected java.util.concurrent.atomic.AtomicBoolean active
protected boolean wasActive
protected int frameRate
protected boolean useAwt
protected java.util.concurrent.atomic.AtomicBoolean autoFlush
protected boolean wasAnimating
protected void initGLCanvas()
protected void startGLCanvas()
protected void onCanvasAdded()
protected void onCanvasRemoved()
public com.jme3.input.KeyInput getKeyInput()
getKeyInput in interface com.jme3.system.JmeContextgetKeyInput in class JoglContextpublic com.jme3.input.MouseInput getMouseInput()
getMouseInput in interface com.jme3.system.JmeContextgetMouseInput in class JoglContextpublic com.jme3.input.TouchInput getTouchInput()
getTouchInput in interface com.jme3.system.JmeContextpublic void setAutoFlushFrames(boolean enabled)
setAutoFlushFrames in interface com.jme3.system.JmeContextpublic void reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height)
reshape in interface com.jogamp.opengl.GLEventListenerpublic void displayChanged(com.jogamp.opengl.GLAutoDrawable drawable,
boolean modeChanged,
boolean deviceChanged)
public void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
dispose in interface com.jogamp.opengl.GLEventListener