Skip to content

Neslib.Sdl3.Time

Reference

Neslib.Sdl3.Time

SDL provides time management functionality. It is useful for dealing with (usually) small durations of time.

This category covers measuring time elapsed (SdlGetTicks, SdlGetPerformanceCounter), putting a thread to sleep for a certain amount of time (SdlDelay, SdlDelayNS, SdlDelayPrecise), and firing a callback function after a certain amount of time has elasped (SdlAddTimer, etc).

There are also useful functions to convert between time units, like SdlSecondsToNS and such.