glfwGetWindowAttrib¶
Returns an attribute of the specified window.
This function returns the value of an attribute of the specified window or its OpenGL or OpenGL ES context.
- arguments
-
\GLFWwindow
$window
The window to query.int
$attrib
Thewindow attribute
whose value to return.
- returns
-
int
The value of the attribute, or zero if anerror
occurred.