pub type GLFWwindowrefreshfun = Option<unsafe extern "C" fn(*mut GLFWwindow)>;Expand description
@brief The function pointer type for window content refresh callbacks.
This is the function pointer type for window content refresh callbacks. A window content refresh callback function has the following signature: @code void function_name(GLFWwindow* window); @endcode
@param[in] window The window whose content needs to be refreshed.
@sa @ref window_refresh @sa @ref glfwSetWindowRefreshCallback
@since Added in version 2.5. @glfw3 Added window handle parameter.
@ingroup window
Aliased Type§
pub enum GLFWwindowrefreshfun {
None,
Some(unsafe extern "C" fn(*mut GLFWwindow)),
}