SDL_NS_TO_US3
Convert nanoseconds to microseconds.
Usage
#include "SDL3/SDL.h"
#define SDL_NS_TO_US(NS) ((NS) / SDL_NS_PER_US)
Header file
Defined in SDL3/SDL_timer.h
Overview
This performs a division, so the results can be dramatically different if NS is an integer or floating point value.
Return value
Returns NS, expressed in microseconds.
Thread safety
It is safe to call this macro from any thread.