[go: up one dir, main page]

glfwWindowShouldClose

Function glfwWindowShouldClose 

Source
pub unsafe extern "C" fn glfwWindowShouldClose(
    window: *mut GLFWwindow,
) -> i32
Expand description

@brief Checks the close flag of the specified window.

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

@param[in] window The window to query. @return 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

@since Added in version 3.0.

@ingroup window