glfwGetFramebufferSize¶
Retrieves the size of the framebuffer of the specified window.
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.
- arguments
-
\GLFWwindow
$window
The window whose framebuffer to query.int
$width
Where to store the width, in pixels, of the framebuffer, orNULL
.int
$height
Where to store the height, in pixels, of the framebuffer, orNULL
.
- returns
-
void