setFrameRate

actual fun setFrameRate(frameRate: Float)

Sets the intended frame rate for this SwapChain.

Uses FrameRateCompatibility.DEFAULT and ChangeFrameRateStrategy.ONLY_IF_SEAMLESS.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.


Sets the intended frame rate for this SwapChain.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.

compatibility

Frame rate compatibility mode.

strategy

Change strategy for non-seamless transitions.

expect fun setFrameRate(frameRate: Float)

Sets the intended frame rate for this SwapChain.

Uses FrameRateCompatibility.DEFAULT and ChangeFrameRateStrategy.ONLY_IF_SEAMLESS.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.


Sets the intended frame rate for this SwapChain.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.

compatibility

Frame rate compatibility mode.

strategy

Change strategy for non-seamless transitions.

actual fun setFrameRate(frameRate: Float)

Sets the intended frame rate for this SwapChain.

Uses FrameRateCompatibility.DEFAULT and ChangeFrameRateStrategy.ONLY_IF_SEAMLESS.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.


Sets the intended frame rate for this SwapChain.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.

compatibility

Frame rate compatibility mode.

strategy

Change strategy for non-seamless transitions.

actual fun setFrameRate(frameRate: Float)

Sets the intended frame rate for this SwapChain.

Uses FrameRateCompatibility.DEFAULT and ChangeFrameRateStrategy.ONLY_IF_SEAMLESS.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.


Sets the intended frame rate for this SwapChain.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.

compatibility

Frame rate compatibility mode.

strategy

Change strategy for non-seamless transitions.

actual fun setFrameRate(frameRate: Float)

Sets the intended frame rate for this SwapChain.

Uses FrameRateCompatibility.DEFAULT and ChangeFrameRateStrategy.ONLY_IF_SEAMLESS.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.


Sets the intended frame rate for this SwapChain.

Parameters

frameRate

The intended frame rate in frames per second. 0.0f clears/resets the rate.

compatibility

Frame rate compatibility mode.

strategy

Change strategy for non-seamless transitions.