public final class NativeCanvas_jogamp
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
destroyRequest
Destroy requested
|
protected boolean |
windowFullscreeen |
| Constructor and Description |
|---|
NativeCanvas_jogamp(IApplication glApplication) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyListener(KeyListener l) |
void |
addMouseListener(MouseListener l) |
void |
addMouseMotionListener(MouseMotionListener l) |
protected static com.jogamp.opengl.GLCapabilities |
createGLCapabilities(JogampApi glApi,
DisplayCapabilities caps) |
void |
display(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) |
void |
dispose(com.jogamp.opengl.GLAutoDrawable glDrawable) |
void |
flushFullscreenMode() |
IComponent |
getComponent() |
GLApiName |
getGLApiName() |
protected com.jogamp.newt.opengl.GLWindow |
getGLWindow() |
void |
init(com.jogamp.opengl.GLAutoDrawable glAutoDrawable) |
void |
init(IScene scene,
DisplayCapabilities caps,
IGLApi sharedContext)
Initialize this scene target, this is usually done internally when using ApplicationSettings.
|
protected void |
init(IScene scene,
DisplayCapabilities capabilities,
JogampApi sharedContext) |
boolean |
isDisplayInThread() |
void |
onDisplay() |
void |
onEnd() |
void |
onIdle() |
void |
onStart() |
void |
reshape(com.jogamp.opengl.GLAutoDrawable glAutoDrawable,
int x,
int y,
int width,
int height) |
void |
setFullscreenMode(FullscreenMode fullscreenMode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplication, getCapabilities, getGLApi, getLoaderContext, getRenderLoop, getSceneprotected boolean destroyRequest
protected boolean windowFullscreeen
public NativeCanvas_jogamp(IApplication glApplication)
public void init(IScene scene, DisplayCapabilities caps, IGLApi sharedContext)
ISceneTargetscene - an IScene object to assign to this ISceneTargetcaps - OpenGL capabilities, optional (can be null)sharedContext - OpenGL context shared, optional (can be null)public final void onStart()
public final void onDisplay()
public final void onIdle()
public final void onEnd()
public final IComponent getComponent()
protected final com.jogamp.newt.opengl.GLWindow getGLWindow()
protected void init(IScene scene, DisplayCapabilities capabilities, JogampApi sharedContext)
public void reshape(com.jogamp.opengl.GLAutoDrawable glAutoDrawable,
int x,
int y,
int width,
int height)
reshape in interface com.jogamp.opengl.GLEventListenerpublic void init(com.jogamp.opengl.GLAutoDrawable glAutoDrawable)
init in interface com.jogamp.opengl.GLEventListenerpublic void display(com.jogamp.opengl.GLAutoDrawable glAutoDrawable)
display in interface com.jogamp.opengl.GLEventListenerpublic final void dispose(com.jogamp.opengl.GLAutoDrawable glDrawable)
dispose in interface com.jogamp.opengl.GLEventListenerpublic final boolean isDisplayInThread()
isDisplayInThread in interface RenderLoop.IDisplayablepublic final GLApiName getGLApiName()
getGLApiName in interface ISceneTargetpublic final void addKeyListener(KeyListener l)
public final void addMouseListener(MouseListener l)
public final void addMouseMotionListener(MouseMotionListener l)
public final void setFullscreenMode(FullscreenMode fullscreenMode)
public final void flushFullscreenMode()
protected static final com.jogamp.opengl.GLCapabilities createGLCapabilities(JogampApi glApi, DisplayCapabilities caps)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com