Convert microseconds to nanoseconds.
Defined in <SDL3/SDL_timer.h>
#define SDL_US_TO_NS(US) (((Uint64)(US)) * SDL_NS_PER_US)
US | the number of microseconds to convert. |
Returns US, expressed in nanoseconds.
This only converts whole numbers, not fractional microseconds.
It is safe to call this macro from any thread.
This macro is available since SDL 3.1.3.