IosPlatformOptions
struct · ferroui-ios · v0.5.0
struct IosPlatformOptions
iOS backend options.
Members
rendering_mode
rendering_mode: Vec<IosRenderingMode>
The rendering modes with fallbacks. The first element has the highest priority. The default value is Metal, then OpenGL.
The platform fails to start when no value could be applied.
enable_high_refresh_rate
enable_high_refresh_rate: bool
Gets or sets whether rendering follows the display refresh rate, up to 120 Hz on ProMotion displays. The default value is true.
On iPhone, rates above 60 Hz also need CADisableMinimumFrameDurationOnPhone set to true in the app's Info.plist. Set this to false to keep the system's default rate, for example if the app can't sustain high frame rates.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsAutoreleaseSafeCloneDebugStructuralPartialEqPartialEqEqDefaultErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-ios, aarch64-apple-darwin. Cargo features are listed in the crate index.