Class GLFWNativeGLX



  • public class GLFWNativeGLX
    extends java.lang.Object
    Native bindings to the GLFW library's GLX native access functions.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  GLFWNativeGLX.Functions
      Contains the function pointers loaded from GLFW.getLibrary().
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static long glfwGetGLXContext(long window)
      Returns the GLXContext of the specified window.
      static long glfwGetGLXWindow(long window)
      Returns the GLXWindow of the specified window.
      • Methods inherited from class java.lang.Object

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

      • glfwGetGLXContext

        public static long glfwGetGLXContext(long window)
        Returns the GLXContext of the specified window.

        This function may be called from any thread. Access is not synchronized.

        Parameters:
        window - a GLFW window
        Returns:
        the GLXContext of the specified window, or NULL if an error occurred.
        Since:
        version 3.0
      • glfwGetGLXWindow

        public static long glfwGetGLXWindow(long window)
        Returns the GLXWindow of the specified window.

        This function may be called from any thread. Access is not synchronized.

        Parameters:
        window - a GLFW window
        Returns:
        the GLXWindow of the specified window, or None if an error occurred.
        Since:
        version 3.2