Class 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 from GLFW.getLibrary().
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long glfwGetWaylandDisplay()
      Returns the struct wl_display* used by GLFW.
      static long glfwGetWaylandMonitor​(long monitor)
      Returns the struct wl_output* of the specified monitor.
      static long glfwGetWaylandWindow​(long window)
      Returns the main struct wl_surface* of the specified window.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.
        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.
        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.
        Since:
        version 3.2