The monitor whose pointer to set.
The new value.
Errors: Possible errors include @ref GLFW_NOT_INITIALIZED.
This function may be called from any thread. Access is not synchronized.
@sa @ref monitor_userptr @sa @ref glfwGetMonitorUserPointer
Added in version 3.3.
Ingroup: monitor
Page generated by adrdox
Sets the user pointer of the specified monitor.
This function sets the user-defined pointer of the specified monitor. The current value is retained until the monitor is disconnected. The initial value is null.
This function may be called from the monitor callback, even for a monitor that is being disconnected.