glfwGetCocoaWindow

Returns the NSWindow of the specified window.

version(GLFW_EXPOSE_NATIVE_COCOA)
export extern (C) @nogc nothrow __gshared
id
glfwGetCocoaWindow
(
GLFWwindow* window
)

Return Value

Type: id

The NSWindow 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