Top Description Inners Constructors Methods
org.lwjgl.glfw

public Class GLFWNativeNSGL

extends Object
Class Inheritance
Imports
org.lwjgl.system.*, javax.annotation.*, org.lwjgl.opengl.GL, org.lwjgl.system.macosx.*

Native bindings to the GLFW library's NSGL native access functions.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
GLFWNativeNSGL.Functions

Contains the function pointers loaded from GLFW.getLibrary().

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long

Returns:

the NSOpenGLContext of the specified window, or nil if an error occurred.

Possible errors include NO_WINDOW_CONTEXT and NOT_INITIALIZED.

glfwGetNSGLContext
(long
the GLFW window
window
)

Returns the NSOpenGLContext of the specified GLFW window.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLFWNativeNSGLback to summary
protected GLFWNativeNSGL()

Method Detail

glfwGetNSGLContextback to summary
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:long

the GLFW window

Returns:long

the NSOpenGLContext of the specified window, or nil if an error occurred.

Possible errors include NO_WINDOW_CONTEXT and NOT_INITIALIZED.

Annotations
@NativeType:id
Since
version 3.0
org.lwjgl.glfw back to summary

public final Class GLFWNativeNSGL.Functions

extends Object
Class Inheritance

Contains the function pointers loaded from GLFW.getLibrary().

Field Summary

Modifier and TypeField and Description
public static final long
GetNSGLContext

Function address.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GetNSGLContextback to summary
public static final long GetNSGLContext

Function address.

Constructor Detail

Functionsback to summary
private Functions()