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.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Upscaling quality.

Link copied to clipboard

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