Function glfwGetWindowPos

  • This function retrieves the position, in screen coordinates, of the upper-left corner of the content area of the specified window.

    Any or all of the position arguments may be null. If an error occurs, all non-null position arguments will be set to zero.

    Parameters

    • window: GLFWwindow

      The window to query.

    • xpos: number

      Where to store the x-coordinate of the upper-left corner of the content area, or null.

    • ypos: number

      Where to store the y-coordinate of the upper-left corner of the content area, or null.

    Returns void

Generated using TypeDoc