Function glfwGetProcAddress

  • This function returns the address of the specified OpenGL or OpenGL ES core or extension function, if it is supported by the current context.

    A context must be current on the calling thread. Calling this function without a current context will cause a GLFW_NO_CURRENT_CONTEXT error.

    This function does not apply to Vulkan. If you are rendering with Vulkan, see glfwGetInstanceProcAddress, vkGetInstanceProcAddr and vkGetDeviceProcAddr instead.

    Parameters

    • procname: string

      The ASCII encoded name of the function.

    Returns GLFWglproc

    The address of the function, or NULL if an error occurred.

Generated using TypeDoc