pub type GLFWwindowcontentscalefun = Option<unsafe extern "C" fn(*mut GLFWwindow, f32, f32)>;Expand description
@brief The function pointer type for window content scale callbacks.
This is the function pointer type for window content scale callbacks. A window content scale callback function has the following signature: @code void function_name(GLFWwindow* window, float xscale, float yscale) @endcode
@param[in] window The window whose content scale changed. @param[in] xscale The new x-axis content scale of the window. @param[in] yscale The new y-axis content scale of the window.
@sa @ref window_scale @sa @ref glfwSetWindowContentScaleCallback
@since Added in version 3.3.
@ingroup window
Aliased Type§
pub enum GLFWwindowcontentscalefun {
None,
Some(unsafe extern "C" fn(*mut GLFWwindow, f32, f32)),
}