sdlGetTicks function timer
Get the number of milliseconds that have elapsed since the SDL library initialization.
\returns an unsigned 64âbit integer that represents the number of milliseconds that have elapsed since the SDL library was initialized (typically via a call to SDL_Init).
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.
\sa SDL_GetTicksNS
extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetTicks(void)
Implementation
int sdlGetTicks() {
final sdlGetTicksLookupFunction = _libSdl
.lookupFunction<Uint64 Function(), int Function()>('SDL_GetTicks');
return sdlGetTicksLookupFunction();
}