glfwWindowShouldClose

Checks the close flag of the specified window.

This function returns the value of the close flag of the specified window.

extern (C) @nogc nothrow __gshared
int
glfwWindowShouldClose

Parameters

window GLFWwindow*

The window to query.

Return Value

Type: int

The value of the close flag.

Errors: Possible errors include @ref GLFW_NOT_INITIALIZED.

Thread Safety

This function may be called from any thread. Access is not synchronized.

@sa @ref window_close

Meta

Since

Added in version 3.0.

Ingroup: window