glfw3.apinative

The header of the native access functions, translated from glfw3native.h

This is the header file of the native access functions.

Members

Static functions

glfwGetCocoaMonitor
CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor)

Returns the CGDirectDisplayID of the specified monitor.

glfwGetCocoaWindow
id glfwGetCocoaWindow(GLFWwindow* window)

Returns the NSWindow of the specified window.

glfwGetEGLContext
EGLContext glfwGetEGLContext(GLFWwindow* window)

Returns the EGLContext of the specified window.

glfwGetEGLDisplay
EGLDisplay glfwGetEGLDisplay()

Returns the EGLDisplay used by GLFW.

glfwGetEGLSurface
EGLSurface glfwGetEGLSurface(GLFWwindow* window)

Returns the EGLSurface of the specified window.

glfwGetGLXContext
GLXContext glfwGetGLXContext(GLFWwindow* window)

Returns the GLXContext of the specified window.

glfwGetGLXWindow
GLXWindow glfwGetGLXWindow(GLFWwindow* window)

Returns the GLXWindow of the specified window.

glfwGetNSGLContext
id glfwGetNSGLContext(GLFWwindow* window)

Returns the NSOpenGLContext of the specified window.

glfwGetOSMesaColorBuffer
int glfwGetOSMesaColorBuffer(GLFWwindow* window, int* width, int* height, int* format, void** buffer)

Retrieves the color buffer associated with the specified window.

glfwGetOSMesaContext
OSMesaContext glfwGetOSMesaContext(GLFWwindow* window)

Returns the OSMesaContext of the specified window.

glfwGetOSMesaDepthBuffer
int glfwGetOSMesaDepthBuffer(GLFWwindow* window, int* width, int* height, int* bytesPerValue, void** buffer)

Retrieves the depth buffer associated with the specified window.

glfwGetWGLContext
HGLRC glfwGetWGLContext(GLFWwindow* window)

Returns the HGLRC of the specified window.

glfwGetWaylandDisplay
wl_display* glfwGetWaylandDisplay()

Returns the struct wl_display* used by GLFW.

glfwGetWaylandMonitor
wl_output* glfwGetWaylandMonitor(GLFWmonitor* monitor)

Returns the struct wl_output* of the specified monitor.

glfwGetWaylandWindow
wl_surface* glfwGetWaylandWindow(GLFWwindow* window)

Returns the main struct wl_surface* of the specified window.

glfwGetWin32Adapter
const(char)* glfwGetWin32Adapter(GLFWmonitor* monitor)

Returns the adapter device name of the specified monitor.

glfwGetWin32Monitor
const(char)* glfwGetWin32Monitor(GLFWmonitor* monitor)

Returns the display device name of the specified monitor.

glfwGetWin32Window
HWND glfwGetWin32Window(GLFWwindow* window)

Returns the HWND of the specified window.

glfwGetX11Adapter
RRCrtc glfwGetX11Adapter(GLFWmonitor* monitor)

Returns the RRCrtc of the specified monitor.

glfwGetX11Display
Display* glfwGetX11Display()

Returns the Display used by GLFW.

glfwGetX11Monitor
RROutput glfwGetX11Monitor(GLFWmonitor* monitor)

Returns the RROutput of the specified monitor.

glfwGetX11SelectionString
const(char)* glfwGetX11SelectionString()

Returns the contents of the current primary selection as a string.

glfwGetX11Window
Window glfwGetX11Window(GLFWwindow* window)

Returns the Window of the specified window.

glfwSetX11SelectionString
void glfwSetX11SelectionString(const(char)* string_)

Sets the current primary selection to the specified string.

Meta