-
public class View.DynamicResolutionOptionsDynamic resolution can be used to either reach a desired target frame rateby lowering the resolution of a View, or to increase the quality when therendering is faster than the target frame rate.This structure can be used to specify the minimum scale factor used whenlowering the resolution of a View, and the maximum scale factor used whenincreasing the resolution for higher quality rendering. The scale factorscan be controlled on each X and Y axis independently. By default, all scalefactors are set to 1.0.enabled: enable or disables dynamic resolution on a ViewhomogeneousScaling: by default the system scales the major axis first. Set this to trueto force homogeneous scaling.minScale: the minimum scale in X and Y this View should usemaxScale: the maximum scale in X and Y this View should usequality: upscaling quality.LOW: 1 bilinear tap, Medium: 4 bilinear taps, High: 9 bilinear taps (tent)\noteDynamic resolution is only supported on platforms where the time to rendera frame can be measured accurately. Dynamic resolution is currently onlysupported on Android.
-
-
Field Summary
Fields Modifier and Type Field Description public floatminScalepublic floatmaxScalepublic floatsharpnesspublic booleanenabledpublic booleanhomogeneousScalingpublic View.QualityLevelquality
-