public class GLFWNativeCocoa
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GLFWNativeCocoa.Functions
Contains the function pointers loaded from
GLFW.getLibrary(). |
| Modifier and Type | Method and Description |
|---|---|
static int |
glfwGetCocoaMonitor(long monitor)
Returns the
CGDirectDisplayID of the specified monitor. |
static long |
glfwGetCocoaWindow(long window)
Returns the
NSWindow of the specified GLFW window. |
public static int glfwGetCocoaMonitor(long monitor)
CGDirectDisplayID of the specified monitor.
Note: This function may be called from any thread. Access is not synchronized.
monitor - the GLFW monitorCGDirectDisplayID of the specified monitor, or kCGNullDirectDisplay if an error occurred.public static long glfwGetCocoaWindow(long window)
NSWindow of the specified GLFW window.
Note: This function may be called from any thread. Access is not synchronized.
window - the GLFW windowNSWindow of the specified window, or nil if an error occurred.Copyright LWJGL. All Rights Reserved. License terms.