Function glfwSetCursor

  • This function sets the cursor image to be used when the cursor is over the content area of the specified window. The set cursor will only be visible when the cursor mode of the window is GLFW_CURSOR_NORMAL.

    On some platforms, the set cursor may not be visible unless the window also has input focus.

    Parameters

    • window: GLFWwindow

      The window to set the cursor for.

    • cursor: GLFWcursor

      The cursor to set, or NULL to switch back to the default arrow cursor.

    Returns void

Generated using TypeDoc