Show / Hide Table of Contents

    Enum VsyncMode

    Vsync mode- how the FPS and screen refresh rate are synchronized.

    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public enum VsyncMode

    Fields

    Name Description
    Adaptive

    Adaptive Vsync (the default behavior) turns Vsync on and off based on the frame rate. If the frame rate is below the screen refresh rate it is turned off, otherwise it is turned on. So that should both reduce tearing but also not cause FPS drops.

    Off

    Vsync is off, so no synchronization is made between the FPS and the screen refresh rate. This means you will get tearing if frame rate is above your refresh rate.

    On

    Vsync is on, so you will get no vertical tearing. However if your frame rate is below the screen refresh rate, you can get much lower FPS than you really should (unless you run with triple buffering, then this would not be a problem- triple buffering can be configured in the hardware driver, though using triple buffers mean more VRAM is being used).

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX