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$windowThe window to query.int$attribThewindow attributewhose value to return.
- returns
-
intThe value of the attribute, or zero if anerroroccurred.