Function SDL_SECONDS_TO_NS
pub const fn SDL_SECONDS_TO_NS(S: u64) -> u64
Available on crate feature
dep_sdl3
only.Expand description
Convert seconds to nanoseconds.
This only converts whole numbers, not fractional seconds.
§Parameters
S
: the number of seconds to convert.
§Return value
Returns S, expressed in nanoseconds.
§Thread safety
It is safe to call this macro from any thread.
§Availability
This macro is available since SDL 3.2.0.