pub type GLFWwindowsizefun = Option<unsafe extern "C" fn(*mut GLFWwindow, i32, i32)>;Expand description
@brief The function pointer type for window size callbacks.
This is the function pointer type for window size callbacks. A window size callback function has the following signature: @code void callback_name(GLFWwindow* window, int width, int height) @endcode
@param[in] window The window that was resized. @param[in] width The new width, in screen coordinates, of the window. @param[in] height The new height, in screen coordinates, of the window.
@sa @ref window_size @sa @ref glfwSetWindowSizeCallback
@since Added in version 1.0. @glfw3 Added window handle parameter.
@ingroup window
Aliased Type§
pub enum GLFWwindowsizefun {
None,
Some(unsafe extern "C" fn(*mut GLFWwindow, i32, i32)),
}