Skip to content

SdlDelayNS

Wait a specified number of nanoseconds before returning.

This function waits a specified number of nanoseconds before returning. It waits at least the specified time, but possibly longer due to OS scheduling.

Definition

Unit: Neslib.Sdl3.Time

procedure SdlDelayNS(const ANanoSeconds: Int64); inline

Parameters

ANanoSeconds: Int64 : The number of nanoseconds to delay.

See Also

Remarks

It is safe to call this function from any thread.