pub type GLFWmonitorfun = Option<unsafe extern "C" fn(*mut GLFWmonitor, i32)>;Expand description
@brief The function pointer type for monitor configuration callbacks.
This is the function pointer type for monitor configuration callbacks. A monitor callback function has the following signature: @code void function_name(GLFWmonitor* monitor, int event) @endcode
@param[in] monitor The monitor that was connected or disconnected.
@param[in] event One of GLFW_CONNECTED or GLFW_DISCONNECTED. Future
releases may add more events.
@sa @ref monitor_event @sa @ref glfwSetMonitorCallback
@since Added in version 3.0.
@ingroup monitor
Aliased Type§
pub enum GLFWmonitorfun {
None,
Some(unsafe extern "C" fn(*mut GLFWmonitor, i32)),
}