public class LwjglDisplay extends LwjglAbstractDisplay
allowSwapBuffers, autoFlush, frameRate, needClose, wasActiveclContext, clPlatform, created, createdLock, joyInput, keyInput, listener, mouseInput, renderable, renderer, settings, THREAD_NAME, timer| Constructor and Description |
|---|
LwjglDisplay() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(boolean waitFor) |
protected void |
createContext(com.jme3.system.AppSettings settings)
Apply the settings, changing resolution, etc.
|
protected void |
destroyContext()
Destroy the context.
|
protected org.lwjgl.opengl.DisplayMode |
getFullscreenDisplayMode(int width,
int height,
int bpp,
int freq) |
com.jme3.system.JmeContext.Type |
getType() |
void |
restart()
Restart if it's a windowed or full-screen display.
|
void |
runLoop()
execute one iteration of the render loop in the OpenGL thread
|
void |
setTitle(java.lang.String title)
Set the title if it's a windowed display
|
checkGLError, deinitInThread, destroy, getJoyInput, getKeyInput, getMouseInput, getTouchInput, initInThread, run, setAutoFlushFramescreate, createContextAttribs, destroy, determineMaxSamples, getGLVersion, getNumSamplesToUse, getOpenCLContext, getRenderer, getSettings, getTimer, initContextFirstTime, initOpenCL, internalCreate, internalDestroy, isCreated, isRenderable, loadNatives, printContextInitInfo, reinitContext, setSettings, setSystemListener, waitForprotected org.lwjgl.opengl.DisplayMode getFullscreenDisplayMode(int width,
int height,
int bpp,
int freq)
protected void createContext(com.jme3.system.AppSettings settings)
throws org.lwjgl.LWJGLException
LwjglAbstractDisplaycreateContext in class LwjglAbstractDisplaysettings - the AppSettings to applyorg.lwjgl.LWJGLException - for various error conditionsprotected void destroyContext()
LwjglAbstractDisplaydestroyContext in class LwjglAbstractDisplaypublic void create(boolean waitFor)
public void runLoop()
LwjglAbstractDisplayrunLoop in class LwjglAbstractDisplaypublic void restart()
LwjglAbstractDisplayrestart in interface com.jme3.system.JmeContextrestart in class LwjglAbstractDisplaypublic com.jme3.system.JmeContext.Type getType()
getType in interface com.jme3.system.JmeContextgetType in class LwjglAbstractDisplaypublic void setTitle(java.lang.String title)
LwjglAbstractDisplaysetTitle in interface com.jme3.system.JmeContextsetTitle in class LwjglAbstractDisplaytitle - the desired title