SDL_Time

Type Alias SDL_Time 

Source
pub type SDL_Time = Sint64;
Expand description

SDL times are signed, 64-bit integers representing nanoseconds since the Unix epoch (Jan 1, 1970).

They can be converted between POSIX time_t values with SDL_NS_TO_SECONDS() and SDL_SECONDS_TO_NS(), and between Windows FILETIME values with SDL_TimeToWindows() and SDL_TimeFromWindows().

§Availability

This datatype is available since SDL 3.2.0.

§See also