Package org.lwjgl.glfw
Class GLFWNativeWayland
- java.lang.Object
-
- org.lwjgl.glfw.GLFWNativeWayland
-
public class GLFWNativeWayland extends java.lang.Object
Native bindings to the GLFW library's Wayland native access functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GLFWNativeWayland.Functions
Contains the function pointers loaded fromGLFW.getLibrary()
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
glfwGetWaylandDisplay()
Returns thestruct wl_display*
used by GLFW.static long
glfwGetWaylandMonitor(long monitor)
Returns thestruct wl_output*
of the specified monitor.static long
glfwGetWaylandWindow(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, orNULL
if 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, orNULL
if 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, orNULL
if an error occurred.Possible errors include
NOT_INITIALIZED
. - Since:
- version 3.2
-
-