Package com.jme3.system.lwjgl
Class LwjglOffscreenBuffer
java.lang.Object
com.jme3.system.lwjgl.LwjglContext
com.jme3.system.lwjgl.LwjglWindow
com.jme3.system.lwjgl.LwjglOffscreenBuffer
- All Implemented Interfaces:
JmeContext
,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jme3.system.JmeContext
JmeContext.Type
-
Field Summary
Fields inherited from class com.jme3.system.lwjgl.LwjglWindow
allowSwapBuffers, autoFlush, needClose, needRestart, wasActive
Fields inherited from class com.jme3.system.lwjgl.LwjglContext
CL_GL_SHARING_POSSIBLE, clContext, created, createdLock, joyInput, listener, renderable, renderer, settings, timer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set the title if it's a windowed displayprotected void
setWindowIcon
(AppSettings settings) Set custom icons to the window of this application.protected void
Methods inherited from class com.jme3.system.lwjgl.LwjglWindow
create, createContext, deinitInThread, destroy, destroyContext, getDisplays, getFramebufferHeight, getFramebufferWidth, getPrimaryDisplay, getType, getWindowContentScale, getWindowHandle, getWindowXPosition, getWindowYPosition, initInThread, registerWindowSizeListener, removeWindowSizeListener, restart, run, runLoop, setAutoFlushFrames
Methods inherited from class com.jme3.system.lwjgl.LwjglContext
create, destroy, determineMaxSamples, getNumSamplesToUse, getOpenCLContext, getRenderer, getSettings, getSystemListener, getTimer, initContextFirstTime, initOpenCL, internalCreate, internalDestroy, isCreated, isRenderable, printContextInitInfo, reinitContext, setSettings, setSystemListener, waitFor
-
Constructor Details
-
LwjglOffscreenBuffer
public LwjglOffscreenBuffer()
-
-
Method Details
-
showWindow
protected void showWindow()- Overrides:
showWindow
in classLwjglWindow
-
setWindowIcon
Description copied from class:LwjglWindow
Set custom icons to the window of this application.- Overrides:
setWindowIcon
in classLwjglWindow
- Parameters:
settings
- settings for getting the icons
-
setTitle
Description copied from class:LwjglWindow
Set the title if it's a windowed display- Specified by:
setTitle
in interfaceJmeContext
- Overrides:
setTitle
in classLwjglWindow
- Parameters:
title
- the title to set
-
getMouseInput
- Specified by:
getMouseInput
in interfaceJmeContext
- Overrides:
getMouseInput
in classLwjglWindow
- Returns:
- Mouse input implementation. May be null if not available.
-
getKeyInput
- Specified by:
getKeyInput
in interfaceJmeContext
- Overrides:
getKeyInput
in classLwjglWindow
- Returns:
- Keyboard input implementation. May be null if not available.
-
getJoyInput
- Specified by:
getJoyInput
in interfaceJmeContext
- Overrides:
getJoyInput
in classLwjglWindow
- Returns:
- Joystick input implementation. May be null if not available.
-
getTouchInput
- Specified by:
getTouchInput
in interfaceJmeContext
- Overrides:
getTouchInput
in classLwjglWindow
- Returns:
- Touch device input implementation. May be null if not available.
-