DynamicResolutionOptions

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution can be used to either reach a desired target frame rate by lowering the resolution of a View, or to increase the quality when rendering is faster than the target frame rate. The scale factors can be controlled on each X and Y axis independently. By default, all scale factors are set to 1.0.

Dynamic resolution is only supported on platforms where the time to render a frame can be measured accurately. On platforms where this is not supported, Dynamic Resolution can't be enabled unless minScale == maxScale.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution can be used to either reach a desired target frame rate by lowering the resolution of a View, or to increase the quality when rendering is faster than the target frame rate. The scale factors can be controlled on each X and Y axis independently. By default, all scale factors are set to 1.0.

Dynamic resolution is only supported on platforms where the time to render a frame can be measured accurately. On platforms where this is not supported, Dynamic Resolution can't be enabled unless minScale == maxScale.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution can be used to either reach a desired target frame rate by lowering the resolution of a View, or to increase the quality when rendering is faster than the target frame rate. The scale factors can be controlled on each X and Y axis independently. By default, all scale factors are set to 1.0.

Dynamic resolution is only supported on platforms where the time to render a frame can be measured accurately. On platforms where this is not supported, Dynamic Resolution can't be enabled unless minScale == maxScale.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution can be used to either reach a desired target frame rate by lowering the resolution of a View, or to increase the quality when rendering is faster than the target frame rate. The scale factors can be controlled on each X and Y axis independently. By default, all scale factors are set to 1.0.

Dynamic resolution is only supported on platforms where the time to render a frame can be measured accurately. On platforms where this is not supported, Dynamic Resolution can't be enabled unless minScale == maxScale.

Dynamic resolution options control rendering resolution scaling to meet target frame rates.

Dynamic resolution can be used to either reach a desired target frame rate by lowering the resolution of a View, or to increase the quality when rendering is faster than the target frame rate. The scale factors can be controlled on each X and Y axis independently. By default, all scale factors are set to 1.0.

Dynamic resolution is only supported on platforms where the time to render a frame can be measured accurately. On platforms where this is not supported, Dynamic Resolution can't be enabled unless minScale == maxScale.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
constructor()
actual constructor()
actual constructor()

Properties

Link copied to clipboard
actual var enabled: Boolean

Enable or disable dynamic resolution on this View. Default: false.

expect var enabled: Boolean

Enable or disable dynamic resolution on this View. Default: false.

actual var enabled: Boolean

Enable or disable dynamic resolution on this View. Default: false.

actual var enabled: Boolean

Enable or disable dynamic resolution on this View. Default: false.

actual var enabled: Boolean

Enable or disable dynamic resolution on this View. Default: false.

Link copied to clipboard

By default the system scales the major axis first. Set this to true to force homogeneous scaling. Default: false.

By default the system scales the major axis first. Set this to true to force homogeneous scaling. Default: false.

By default the system scales the major axis first. Set this to true to force homogeneous scaling. Default: false.

By default the system scales the major axis first. Set this to true to force homogeneous scaling. Default: false.

By default the system scales the major axis first. Set this to true to force homogeneous scaling. Default: false.

Link copied to clipboard
actual var maxScale: Float

The maximum scale in X and Y this View should use. Default: (1.0, 1.0).

expect var maxScale: Float

The maximum scale in X and Y this View should use. Default: (1.0, 1.0).

actual var maxScale: Float

The maximum scale in X and Y this View should use. Default: (1.0, 1.0).

actual var maxScale: Float

The maximum scale in X and Y this View should use. Default: (1.0, 1.0).

actual var maxScale: Float

The maximum scale in X and Y this View should use. Default: (1.0, 1.0).

Link copied to clipboard
actual var minScale: Float

The minimum scale in X and Y this View should use. Default: (0.5, 0.5).

expect var minScale: Float

The minimum scale in X and Y this View should use. Default: (0.5, 0.5).

actual var minScale: Float

The minimum scale in X and Y this View should use. Default: (0.5, 0.5).

actual var minScale: Float

The minimum scale in X and Y this View should use. Default: (0.5, 0.5).

actual var minScale: Float

The minimum scale in X and Y this View should use. Default: (0.5, 0.5).

Link copied to clipboard
val native: View.DynamicResolutionOptions
Link copied to clipboard
actual var quality: View.Quality

Upscaling quality.

expect var quality: View.Quality

Upscaling quality.

actual var quality: View.Quality

Upscaling quality.

actual var quality: View.Quality

Upscaling quality.

actual var quality: View.Quality

Upscaling quality.

Link copied to clipboard
actual var sharpness: Float

Sharpness when Quality.MEDIUM or higher is used 0 (disabled), 1 (sharpest). Default: 0.9.

expect var sharpness: Float

Sharpness when Quality.MEDIUM or higher is used 0 (disabled), 1 (sharpest). Default: 0.9.

actual var sharpness: Float

Sharpness when Quality.MEDIUM or higher is used 0 (disabled), 1 (sharpest). Default: 0.9.

actual var sharpness: Float

Sharpness when Quality.MEDIUM or higher is used 0 (disabled), 1 (sharpest). Default: 0.9.

actual var sharpness: Float

Sharpness when Quality.MEDIUM or higher is used 0 (disabled), 1 (sharpest). Default: 0.9.