Back to Filament

isFrameRateChangeSupported

docs/android/dokka/filament-android/com.google.android.filament/-swap-chain/is-frame-rate-change-supported.md

1.75.0794 B
Original Source

//filament-android/com.google.android.filament/SwapChain/isFrameRateChangeSupported

isFrameRateChangeSupported

[main]
open fun isFrameRateChangeSupported(): Boolean

Return whether this SwapChain supports the setFrameRate() API. When a SwapChain is newly created, the actual surface capability state may not be fully determined by the underlying OS, in which case this method will return false. Once the platform completes surface connection, this method will authoritatively return true or false.

Return

true if setFrameRate() is definitively supported, false otherwise.