pub type GLFWframebuffersizefun = Option<unsafe extern "C" fn(window: *mut GLFWwindow, width: c_int, height: c_int)>;Expand description
@brief The function pointer type for framebuffer size callbacks.
This is the function pointer type for framebuffer size callbacks. A framebuffer size callback function has the following signature: @code void function_name(GLFWwindow* window, int width, int height) @endcode
@param[in] window The window whose framebuffer was resized. @param[in] width The new width, in pixels, of the framebuffer. @param[in] height The new height, in pixels, of the framebuffer.
@sa @ref window_fbsize @sa @ref glfwSetFramebufferSizeCallback
@since Added in version 3.0.
@ingroup window
Aliased Type§
enum GLFWframebuffersizefun {
None,
Some(unsafe extern "C" fn(_: *mut GLFWwindow, _: i32, _: i32)),
}