glfwGetWGLContext

Returns the HGLRC of the specified window.

version(GLFW_EXPOSE_NATIVE_WGL)
export extern (C) @nogc nothrow __gshared
HGLRC
glfwGetWGLContext
(
GLFWwindow* window
)

Return Value

Type: HGLRC

The HGLRC of the specified window, or null 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