Skip to content

PlatformAPI reference

Interface IDisplayPacing

Namespace: MicroEngine.Platform
Assembly: MicroEngine.Platform.dll
Guide: The platform host

The refresh rate a host’s frames are paced to, when a display paces them (VSync). A capability (TryGetCapability``1): a host without it never paces frames to a display.

C#
public interface IDisplayPacing

Properties

DisplayRate

The refresh rate in Hz of the display that paces the frames, or 0 when frames are not paced to a display right now or its rate is unknown. The loop then counts elapsed time in refresh periods.

C#
double DisplayRate { get; }

Property Value

double