Package org.lwjgl.glfw
Class GLFWNativeX11
- java.lang.Object
-
- org.lwjgl.glfw.GLFWNativeX11
-
public class GLFWNativeX11 extends java.lang.ObjectNative bindings to the GLFW library's X11 native access functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classGLFWNativeX11.FunctionsContains the function pointers loaded fromGLFW.getLibrary().
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static longglfwGetX11Adapter(long monitor)Returns theRRCrtcof the specified monitor.static longglfwGetX11Display()Returns theDisplayused by GLFW.static longglfwGetX11Monitor(long monitor)Returns theRROutputof the specified monitor.static longglfwGetX11Window(long window)Returns theWindowof the specified window.
-
-
-
Method Detail
-
glfwGetX11Display
public static long glfwGetX11Display()
Returns theDisplayused by GLFW.Note: This function may be called from any thread. Access is not synchronized.
- Returns:
- The
Displayused by GLFW, orNULLif an error occurred. - Since:
- version 3.0
-
glfwGetX11Adapter
public static long glfwGetX11Adapter(long monitor)
Returns theRRCrtcof the specified monitor.Note: This function may be called from any thread. Access is not synchronized.
- Parameters:
monitor- the GLFW monitor- Returns:
- The
RRCrtcof the specified monitor, orNoneif an error occurred. - Since:
- version 3.1
-
glfwGetX11Monitor
public static long glfwGetX11Monitor(long monitor)
Returns theRROutputof the specified monitor.Note: This function may be called from any thread. Access is not synchronized.
- Parameters:
monitor- the GLFW monitor- Returns:
- The
RROutputof the specified monitor, orNoneif an error occurred. - Since:
- version 3.1
-
glfwGetX11Window
public static long glfwGetX11Window(long window)
Returns theWindowof the specified window.Note: This function may be called from any thread. Access is not synchronized.
- Parameters:
window- a GLFW window- Returns:
- The
Windowof the specified window, orNoneif an error occurred. - Since:
- version 3.0
-
-