Table of Contents

Enum PresentInterval

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Defines how Present() updates the game window.

public enum PresentInterval

Fields

Default = 0

Equivalent to One.

Immediate = 3

The driver updates the window client area immediately. Present operations might be affected immediately. There is no limit for framerate.

One = 1

The driver waits for the vertical retrace period, before updating window client area. Present operations are not affected more frequently than the screen refresh rate.

Two = 2

The driver waits for the vertical retrace period, before updating window client area. Present operations are not affected more frequently than every second screen refresh.