Class GLFWNativeNSGL

java.lang.Object
org.lwjgl.glfw.GLFWNativeNSGL

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

    • glfwGetNSGLContext

      public static long glfwGetNSGLContext(long window)
      Returns the NSOpenGLContext of the specified GLFW window.

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

      Parameters:
      window - the GLFW window
      Returns:
      the NSOpenGLContext of the specified window, or nil if an error occurred.

      Possible errors include NO_WINDOW_CONTEXT and NOT_INITIALIZED.

      Since:
      version 3.0