Package com.jme3.system.lwjgl
Class LwjglDisplayVR
java.lang.Object
com.jme3.system.lwjgl.LwjglContextVR
com.jme3.system.lwjgl.LwjglWindowVR
com.jme3.system.lwjgl.LwjglDisplayVR
- All Implemented Interfaces:
JmeContext
,Runnable
A VR oriented LWJGL display.
-
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.LwjglWindowVR
allowSwapBuffers, autoFlush, needClose, needRestart, wasActive
Fields inherited from class com.jme3.system.lwjgl.LwjglContextVR
created, createdLock, joyInput, keyInput, listener, mouseInput, renderable, renderer, settings, THREAD_NAME, timer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis call will return a list of Monitors that glfwGetMonitors() returns and information about the monitor, like width, height, and refresh rate.int
Use this to get the positional number of the primary monitor from the glfwGetMonitors() function call.Methods inherited from class com.jme3.system.lwjgl.LwjglWindowVR
create, createContext, deinitInThread, destroy, destroyContext, getFramebufferHeight, getFramebufferWidth, getJoyInput, getKeyInput, getMouseInput, getTouchInput, getType, getWindowHandle, getWindowXPosition, getWindowYPosition, initInThread, restart, run, runLoop, setAutoFlushFrames, setTitle
Methods inherited from class com.jme3.system.lwjgl.LwjglContextVR
create, destroy, determineMaxSamples, getNumSamplesToUse, getRenderer, getSettings, getSystemListener, getTimer, initContextFirstTime, internalCreate, internalDestroy, isCreated, isRenderable, isRetinaDisplay, loadNatives, printContextInitInfo, setSettings, setSystemListener, waitFor
-
Constructor Details
-
LwjglDisplayVR
public LwjglDisplayVR()Create a new VR oriented LWJGL display.
-
-
Method Details
-
getOpenCLContext
- Returns:
- The OpenCL context if available.
-
getDisplays
Description copied from interface:JmeContext
This call will return a list of Monitors that glfwGetMonitors() returns and information about the monitor, like width, height, and refresh rate.- Returns:
- returns a list of monitors and their information.
-
getPrimaryDisplay
public int getPrimaryDisplay()Description copied from interface:JmeContext
Use this to get the positional number of the primary monitor from the glfwGetMonitors() function call.- Returns:
- the position of the value in the arraylist of the primary monitor.
-