PlatformAPI reference
Interface IPreciseDelay
Namespace: MicroEngine.Platform
Assembly: MicroEngine.Platform.dll
Guide: The platform host
A precise way to wait, used by the loop to hold a frame back until the frame limit allows it. A capability (TryGetCapability``1) of hosts that can block (CanBlock); without it the loop sleeps and then spins for the last milliseconds.
public interface IPreciseDelayMethods
Delay(double)
Blocks for about seconds, precisely enough to pace frames.
void Delay(double seconds)Parameters
seconds double