Get the user-specified pointer associated with a texture
void* SDL_GetTextureUserData(SDL_Texture *texture);
Returns the pointer associated with the texture, or NULL if the texture is not valid.
This function is available since SDL 3.0.0.
CategoryAPI