(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)
SDL_NS_PER_SECOND
Number of nanoseconds in a second.
Defined in <SDL3/SDL_timer.h>
Syntax
#define SDL_NS_PER_SECOND 1000000000LL
This is always 1000000000.
Version
This macro is available since SDL 3.1.3.
CategoryAPI, CategoryAPIMacro, CategoryTimer