Function SDL_GetTicksNS

pub unsafe extern "C" fn SDL_GetTicksNS() -> u64
Available on crate feature dep_sdl3 only.
Expand description

Get the number of nanoseconds since SDL library initialization.

§Return value

Returns an unsigned 64-bit value representing the number of nanoseconds since the SDL library initialized.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.