Package org.lwjgl.glfw
Class GLFWNativeNSGL
java.lang.Object
org.lwjgl.glfw.GLFWNativeNSGL
Native bindings to the GLFW library's NSGL native access functions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromGLFW.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic longglfwGetNSGLContext(long window) Returns theNSOpenGLContextof the specified GLFW window.
-
Method Details
-
glfwGetNSGLContext
public static long glfwGetNSGLContext(long window) Returns theNSOpenGLContextof the specified GLFW window.Note: This function may be called from any thread. Access is not synchronized.
- Parameters:
window- the GLFW window- Returns:
- the
NSOpenGLContextof the specified window, or nil if an error occurred.Possible errors include
NO_WINDOW_CONTEXTandNOT_INITIALIZED. - Since:
- version 3.0
-