Associate an arbitrary named pointer with a window.
Defined in SDL_video.h
window | the window to associate with the pointer |
name | the name of the pointer |
userdata | the associated pointer |
Returns the previous value associated with name
.
name
is case-sensitive.
This function is available since SDL 2.0.0.