glfwSetWindowShouldClose¶
Sets the close flag of the specified window.
This function sets the value of the close flag of the specified window. This can be used to override the user's attempt to close the window, or to signal that it should be closed.
- arguments
-
\GLFWwindow
$window
The window whose flag to change.int
$value
The new value.
- returns
-
void