SDL_MainThreadCallback3type
Callback run on the main thread.
Usage
#include "SDL3/SDL.h"
typedef void (SDLCALL *SDL_MainThreadCallback)(void *userdata);
Header file
Defined in SDL3/SDL_init.h
Function parameters
- userdata
-
an app-controlled pointer that is passed to the callback.