Package org.lwjgl.glfw
Class GLFWNativeWayland
- java.lang.Object
-
- org.lwjgl.glfw.GLFWNativeWayland
-
public class GLFWNativeWayland extends java.lang.ObjectNative bindings to the GLFW library's Wayland native access functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGLFWNativeWayland.FunctionsContains the function pointers loaded fromGLFW.getLibrary().
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longglfwGetWaylandDisplay()Returns thestruct wl_display*used by GLFW.static longglfwGetWaylandMonitor(long monitor)Returns thestruct wl_output*of the specified monitor.static longglfwGetWaylandWindow(long window)Returns the mainstruct wl_surface*of the specified window.
-
-
-
Method Detail
-
glfwGetWaylandDisplay
public static long glfwGetWaylandDisplay()
Returns thestruct wl_display*used by GLFW.This function may be called from any thread. Access is not synchronized.
- Returns:
- the
struct wl_display*used by GLFW, orNULLif an error occurred.Possible errors include
NOT_INITIALIZED. - Since:
- version 3.2
-
glfwGetWaylandMonitor
public static long glfwGetWaylandMonitor(long monitor)
Returns thestruct wl_output*of the specified monitor.This function may be called from any thread. Access is not synchronized.
- Returns:
- the
struct wl_output*of the specified monitor, orNULLif an error occurred.Possible errors include
NOT_INITIALIZED. - Since:
- version 3.2
-
glfwGetWaylandWindow
public static long glfwGetWaylandWindow(long window)
Returns the mainstruct wl_surface*of the specified window.This function may be called from any thread. Access is not synchronized.
- Returns:
- the main
struct wl_surface*of the specified window, orNULLif an error occurred.Possible errors include
NOT_INITIALIZED. - Since:
- version 3.2
-
-