Skip to main content

Class FramerateLimit

Simple encapsulation of framerate limiting behavior, allowing for fully unbounded (no control), Vsync-enabled (sync to monitor refresh), or a specified fixed framerate (vsync disabled, hard time cap)

Assembly: ImGuiScene.dll
View Source
Declaration
public class FramerateLimit

Properties

Type

Which type of framerate limiting to apply.

View Source
Declaration
public FramerateLimit.LimitType Type { get; }

FPS

The current FPS limit. Only valid with ImGuiScene.FramerateLimit.LimitType.FixedFPS.

View Source
Declaration
public int FPS { get; }

Methods

ToString()

View Source
Declaration
public override string ToString()
Returns

System.String