glfwGetNSGLContext

Returns the NSOpenGLContext of the specified window.

version(GLFW_EXPOSE_NATIVE_NSGL)
export extern (C) @nogc nothrow __gshared
id
glfwGetNSGLContext
(
GLFWwindow* window
)

Return Value

Type: id

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

Thread Safety

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

Meta

Since

Added in version 3.0.

Ingroup: native