PreferredFPS

public enum PreferredFPS : RawRepresentable, Equatable

Undocumented

  • Create a PreferredFPS value from an Int.

    Declaration

    Swift

    public init?(rawValue: Int)

    Parameters

    rawValue

    The Int value to use as the preferred frames per second.

  • Declaration

    Swift

    public typealias RawValue = Int
  • The default frame rate. This can be either 30 FPS or 60 FPS, depending on device capabilities.

    Declaration

    Swift

    case normal
  • A conservative frame rate; typically 30 FPS.

    Declaration

    Swift

    case lowPower
  • The maximum supported frame rate; typically 60 FPS.

    Declaration

    Swift

    case maximum
  • A custom frame rate. The default value is 30 FPS.

    Declaration

    Swift

    case custom(fps: Int)
  • The preferred frames per second as an Int value.

    Declaration

    Swift

    public var rawValue: Int { get }