public final class GlfWindow_lwjgl extends java.lang.Object implements IApplication, ISceneTarget, RenderLoop.IDisplayable
| Constructor and Description |
|---|
GlfWindow_lwjgl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy this application
|
void |
exit()
Destroy this application and exit
|
IApplication |
getApplication() |
Point |
getAppLocation() |
Size |
getAppSize() |
GLApiName |
getGLApiName() |
ISceneTarget |
getSceneTarget() |
void |
init(IScene scene,
DisplayCapabilities capabilities,
IGLApi sharedContext)
Initialize this scene target, this is usually done internally when using ApplicationSettings.
|
void |
init(ISceneTarget sceneTarget,
ApplicationSettings settings)
Initialize this
IApplication with the specified ISceneTarget. |
boolean |
isDisplayInThread() |
void |
onDisplay() |
void |
onEnd() |
void |
onIdle() |
void |
onStart() |
void |
run() |
void |
setAppLocation(Point location) |
void |
setAppSize(Size size) |
void |
setFullscreenMode(FullscreenMode fullscreenMode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullscreenMode, setTitlegetCapabilities, getComponent, getGLApi, getLoaderContext, getRenderLoop, getScenepublic void init(IScene scene, DisplayCapabilities capabilities, IGLApi sharedContext)
ISceneTargetinit in interface ISceneTargetscene - an IScene object to assign to this ISceneTargetcapabilities - OpenGL capabilities, optional (can be null)sharedContext - OpenGL context shared, optional (can be null)public void init(ISceneTarget sceneTarget, ApplicationSettings settings)
IApplicationIApplication with the specified ISceneTarget.init in interface IApplicationpublic void run()
run in interface java.lang.Runnablepublic final void onStart()
onStart in interface RenderLoop.IDisplayablepublic final void onDisplay()
onDisplay in interface RenderLoop.IDisplayablepublic final void onIdle()
onIdle in interface RenderLoop.IDisplayablepublic final void onEnd()
onEnd in interface RenderLoop.IDisplayablepublic void destroy()
IApplicationdestroy in interface IApplicationpublic void exit()
IApplicationexit in interface IApplicationpublic boolean isDisplayInThread()
isDisplayInThread in interface RenderLoop.IDisplayablepublic final void setFullscreenMode(FullscreenMode fullscreenMode)
setFullscreenMode in interface IApplicationfullscreenMode - a FullscreenMode for fullscreen or null for window'ed/applet modepublic void setAppSize(Size size)
setAppSize in interface IApplicationsize - the size of the application window (or applet)public Size getAppSize()
getAppSize in interface IApplicationpublic void setAppLocation(Point location)
setAppLocation in interface IApplicationlocation - the location of the application window (or applet)public Point getAppLocation()
getAppLocation in interface IApplicationpublic IApplication getApplication()
getApplication in interface ISceneTargetIApplication of this ISceneTargetpublic ISceneTarget getSceneTarget()
getSceneTarget in interface IApplicationISceneTargetISceneTarget,
ISceneTarget.getScene()public final GLApiName getGLApiName()
getGLApiName in interface ISceneTargetBonzai 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