Package com.jme3.system.lwjgl
Class LwjglOffscreenBuffer
java.lang.Object
com.jme3.system.lwjgl.LwjglContext
com.jme3.system.lwjgl.LwjglOffscreenBuffer
- All Implemented Interfaces:
com.jme3.system.JmeContext,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jme3.system.JmeContext
com.jme3.system.JmeContext.Type -
Field Summary
FieldsFields inherited from class com.jme3.system.lwjgl.LwjglContext
clContext, clPlatform, created, createdLock, joyInput, keyInput, listener, mouseInput, renderable, renderer, settings, THREAD_NAME, timer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidcreate(boolean waitFor) protected voidvoiddestroy(boolean waitFor) com.jme3.input.JoyInputcom.jme3.input.KeyInputcom.jme3.input.MouseInputcom.jme3.input.TouchInputcom.jme3.system.JmeContext.TypegetType()protected voidvoidrestart()voidrun()protected voidrunLoop()voidsetAutoFlushFrames(boolean enabled) voidMethods inherited from class com.jme3.system.lwjgl.LwjglContext
create, createContextAttribs, destroy, determineMaxSamples, getFramebufferHeight, getFramebufferWidth, getGLVersion, getNumSamplesToUse, getOpenCLContext, getRenderer, getSettings, getSystemListener, getTimer, getWindowXPosition, getWindowYPosition, initContextFirstTime, initOpenCL, internalCreate, internalDestroy, isCreated, isRenderable, loadNatives, printContextInitInfo, reinitContext, setSettings, setSystemListener, waitFor
-
Field Details
-
needClose
-
-
Constructor Details
-
LwjglOffscreenBuffer
public LwjglOffscreenBuffer()
-
-
Method Details
-
initInThread
protected void initInThread() -
checkGLError
protected boolean checkGLError() -
runLoop
protected void runLoop() -
deinitInThread
protected void deinitInThread() -
run
public void run() -
destroy
public void destroy(boolean waitFor) - Specified by:
destroyin interfacecom.jme3.system.JmeContext
-
create
public void create(boolean waitFor) - Specified by:
createin interfacecom.jme3.system.JmeContext
-
restart
public void restart()- Specified by:
restartin interfacecom.jme3.system.JmeContext
-
setAutoFlushFrames
public void setAutoFlushFrames(boolean enabled) - Specified by:
setAutoFlushFramesin interfacecom.jme3.system.JmeContext
-
getType
public com.jme3.system.JmeContext.Type getType()- Specified by:
getTypein interfacecom.jme3.system.JmeContext
-
getMouseInput
public com.jme3.input.MouseInput getMouseInput()- Specified by:
getMouseInputin interfacecom.jme3.system.JmeContext
-
getKeyInput
public com.jme3.input.KeyInput getKeyInput()- Specified by:
getKeyInputin interfacecom.jme3.system.JmeContext
-
getJoyInput
public com.jme3.input.JoyInput getJoyInput()- Specified by:
getJoyInputin interfacecom.jme3.system.JmeContext
-
getTouchInput
public com.jme3.input.TouchInput getTouchInput()- Specified by:
getTouchInputin interfacecom.jme3.system.JmeContext
-
setTitle
- Specified by:
setTitlein interfacecom.jme3.system.JmeContext
-