Retrieve the data pointer associated with a window.
Defined in SDL_video.h
void* SDL_GetWindowData(SDL_Window * window,
const char *name);
SDL_Window * | window | the window to query. |
const char * | name | the name of the pointer. |
(void *) Returns the value associated with name
.
This function is available since SDL 2.0.0.