enum Godot::DisplayServer::VSyncMode

Defined in:

libgodot/generated/classes/classes_part2.cr

Enum Members

VsyncDisabled = 0_i64
VsyncEnabled = 1_i64
VsyncAdaptive = 2_i64
VsyncMailbox = 3_i64

Instance Method Summary

Instance methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def vsync_adaptive? #

Returns true if this enum value equals VsyncAdaptive


def vsync_disabled? #

Returns true if this enum value equals VsyncDisabled


def vsync_enabled? #

Returns true if this enum value equals VsyncEnabled


def vsync_mailbox? #

Returns true if this enum value equals VsyncMailbox