Get the current thread's value associated with a thread local storage ID.
void * SDL_GetTLS(SDL_TLSID id);
|id||the thread local storage ID|
Returns the value associated with the ID for the current thread or NULL if no value has been set; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.