Package org.lwjgl.glfw
Class GLFWNativeNSGL
- java.lang.Object
-
- org.lwjgl.glfw.GLFWNativeNSGL
-
public class GLFWNativeNSGL extends java.lang.Object
Native bindings to the GLFW library's NSGL native access functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
GLFWNativeNSGL.Functions
Contains the function pointers loaded fromGLFW.getLibrary()
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static long
glfwGetNSGLContext(long window)
Returns theNSOpenGLContext
of the specified GLFW window.
-
-
-
Method Detail
-
glfwGetNSGLContext
public static long glfwGetNSGLContext(long window)
Returns theNSOpenGLContext
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. - Since:
- version 3.0
-
-