Package org.lwjgl.glfw
Class GLFWNativeWayland
java.lang.Object
org.lwjgl.glfw.GLFWNativeWayland
Native bindings to the GLFW library's Wayland native access functions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromGLFW.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic longReturns 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 Details
-
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
-