Get the user-specified pointer associated with a texture
void * SDL_GetTextureUserData(SDL_Texture * texture);
texture | the texture to query. |
Return the pointer associated with the texture, or NULL if the texture is not valid.
This function is available since SDL 2.0.18.