Function glfwSetWindowSizeCallback

  • This function sets the size callback of the specified window, which is called when the window is resized. The callback is provided with the size, in screen coordinates, of the content area of the window.

    Parameters

    • window: GLFWwindow

      The window whose callback to set.

    • callback: GLFWwindowsizefun

      The new callback, or NULL to remove the currently set callback.

    Returns GLFWwindowsizefun

    The previously set callback, or NULL if no callback was set or the library had not been initialized.

Generated using TypeDoc