Get the current thread's value associated with a thread local storage ID.
Defined in <SDL3/SDL_thread.h>
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.