public abstract class LwjglContext
extends java.lang.Object
implements com.jme3.system.JmeContext
| Modifier and Type | Field and Description |
|---|---|
static boolean |
CL_GL_SHARING_POSSIBLE |
protected LwjglContext |
clContext |
protected java.util.concurrent.atomic.AtomicBoolean |
created |
protected java.lang.Object |
createdLock |
protected GlfwJoystickInput |
joyInput |
protected GlfwKeyInput |
keyInput |
protected com.jme3.system.SystemListener |
listener |
protected GlfwMouseInput |
mouseInput |
protected java.util.concurrent.atomic.AtomicBoolean |
renderable |
protected com.jme3.renderer.Renderer |
renderer |
protected com.jme3.system.AppSettings |
settings |
protected com.jme3.system.Timer |
timer |
| Constructor and Description |
|---|
LwjglContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
void |
destroy() |
protected int |
determineMaxSamples() |
protected int |
getNumSamplesToUse() |
com.jme3.opencl.Context |
getOpenCLContext() |
com.jme3.renderer.Renderer |
getRenderer() |
com.jme3.system.AppSettings |
getSettings() |
com.jme3.system.Timer |
getTimer() |
protected void |
initContextFirstTime() |
protected void |
initOpenCL(long window) |
void |
internalCreate() |
void |
internalDestroy() |
boolean |
isCreated() |
boolean |
isRenderable() |
protected void |
printContextInitInfo() |
void |
setSettings(com.jme3.system.AppSettings settings) |
void |
setSystemListener(com.jme3.system.SystemListener listener) |
protected void |
waitFor(boolean createdVal) |
public static final boolean CL_GL_SHARING_POSSIBLE
protected final java.lang.Object createdLock
protected final java.util.concurrent.atomic.AtomicBoolean created
protected final java.util.concurrent.atomic.AtomicBoolean renderable
protected final com.jme3.system.AppSettings settings
protected GlfwKeyInput keyInput
protected GlfwMouseInput mouseInput
protected GlfwJoystickInput joyInput
protected com.jme3.system.Timer timer
protected com.jme3.renderer.Renderer renderer
protected com.jme3.system.SystemListener listener
protected LwjglContext clContext
public void setSystemListener(com.jme3.system.SystemListener listener)
setSystemListener in interface com.jme3.system.JmeContextprotected void printContextInitInfo()
protected int determineMaxSamples()
protected int getNumSamplesToUse()
protected void initContextFirstTime()
protected void initOpenCL(long window)
public void internalDestroy()
public void internalCreate()
public void create()
public void destroy()
protected void waitFor(boolean createdVal)
public boolean isCreated()
isCreated in interface com.jme3.system.JmeContextpublic boolean isRenderable()
isRenderable in interface com.jme3.system.JmeContextpublic void setSettings(com.jme3.system.AppSettings settings)
setSettings in interface com.jme3.system.JmeContextpublic com.jme3.system.AppSettings getSettings()
getSettings in interface com.jme3.system.JmeContextpublic com.jme3.renderer.Renderer getRenderer()
getRenderer in interface com.jme3.system.JmeContextpublic com.jme3.system.Timer getTimer()
getTimer in interface com.jme3.system.JmeContextpublic com.jme3.opencl.Context getOpenCLContext()
getOpenCLContext in interface com.jme3.system.JmeContext