FrameRateOptions
Frame rate control and dynamic resolution scaling options.
Controls the desired frame rate and how quickly the system reacts to GPU load changes.
interval: Desired frame interval in multiples of the refresh period (1 / DisplayInfo.refreshRate). Set to 1 to render at the display refresh rate.
The parameters below are relevant when some Views are using dynamic resolution scaling:
headRoomRatio: Additional headroom for the GPU as a ratio of the target frame time. Useful for taking into account constant costs like post-processing or GPU drivers on different platforms. scaleRate: Rate at which the GPU load is adjusted to reach the target frame rate. This value can be computed as 1 / N, where N is the number of frames needed to reach 64% of the target scale factor. Higher values make the dynamic resolution react faster. history: History size for filtering GPU load. Higher values tend to filter more. Clamped to 31.
Properties
Additional headroom for the GPU as a fraction of target frame time.
Desired frame interval in units of 1 / DisplayInfo.refreshRate (1 = render every vsync).