sdlGetTicksNs function
Get the number of nanoseconds since SDL library initialization.
\returns an unsigned 64-bit value representing the number of nanoseconds since the SDL library initialized.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetTicksNS(void)
Implementation
int sdlGetTicksNs() {
final sdlGetTicksNsLookupFunction = libSdl3
.lookupFunction<Uint64 Function(), int Function()>('SDL_GetTicksNS');
return sdlGetTicksNsLookupFunction();
}