Class GLFWNativeWayland

java.lang.Object
org.lwjgl.glfw.GLFWNativeWayland

public class GLFWNativeWayland extends Object
Native bindings to the GLFW library's Wayland native access functions.
  • Method Details

    • glfwGetWaylandDisplay

      public static long glfwGetWaylandDisplay()
      Returns the struct 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, or NULL if an error occurred.

      Possible errors include NOT_INITIALIZED.

      Since:
      version 3.2
    • glfwGetWaylandMonitor

      public static long glfwGetWaylandMonitor(long monitor)
      Returns the struct 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, or NULL if an error occurred.

      Possible errors include NOT_INITIALIZED.

      Since:
      version 3.2
    • glfwGetWaylandWindow

      public static long glfwGetWaylandWindow(long window)
      Returns the main struct 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, or NULL if an error occurred.

      Possible errors include NOT_INITIALIZED.

      Since:
      version 3.2