Function glfwGetFramebufferSize

  • This function retrieves the size, in pixels, of the framebuffer of the specified window. If you wish to retrieve the size of the window in screen coordinates, see glfwGetWindowSize.

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

    Parameters

    • window: GLFWwindow

      The window whose framebuffer to query.

    • width: number

      Where to store the width, in pixels, of the framebuffer, or null.

    • height: number

      Where to store the height, in pixels, of the framebuffer, or null.

    Returns void

Generated using TypeDoc