The window 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 window_userptr @sa @ref glfwGetWindowUserPointer
Added in version 3.0.
Ingroup: window
Page generated by adrdox
Sets the user pointer of the specified window.
This function sets the user-defined pointer of the specified window. The current value is retained until the window is destroyed. The initial value is null.