VSyncMode

    DisplayServer.swift:437
    enum VSyncMode

    Cases

    • case disabled

      No vertical synchronization, which means the engine will display frames as fast as possible (tearing may be visible). Framerate is unlimited (regardless of maxFps).

    • case enabled

      Default vertical synchronization mode, the image is displayed only on vertical blanking intervals (no tearing is visible). Framerate is limited by the monitor refresh rate (regardless of maxFps).

    • case adaptive

      Behaves like .vsyncDisabled when the framerate drops below the screen’s refresh rate to reduce stuttering (tearing may be visible). Otherwise, vertical synchronization is enabled to avoid tearing. Framerate is limited by the monitor refresh rate (regardless of maxFps). Behaves like .vsyncEnabled when using the Compatibility rendering method.

    • case mailbox

      Displays the most recent image in the queue on vertical blanking intervals, while rendering to the other images (no tearing is visible). Framerate is unlimited (regardless of maxFps).

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (201) members.

    Types

    Type members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features