sdl2/generated/lib_sdl_timer library
Functions
-
sdlAddTimer(
int interval, Pointer< NativeFunction< callback, Pointer<SdlTimerCallback> >NativeType> param) → int - Call a callback function at a future time.
-
sdlDelay(
int ms) → void - Wait a specified number of milliseconds before returning.
-
sdlGetPerformanceCounter(
) → int - Get the current value of the high resolution counter.
-
sdlGetPerformanceFrequency(
) → int - Get the count per second of the high resolution counter.
-
sdlGetTicks(
) → int - Get the number of milliseconds since SDL library initialization.
-
sdlGetTicks64(
) → int - Get the number of milliseconds since SDL library initialization.
-
sdlRemoveTimer(
int id) → bool - Remove a timer created with SDL_AddTimer().