Package 

Class Renderer.FrameRateOptions


  • 
    public class Renderer.FrameRateOptions
    
                        

    Use FrameRateOptions to set the desired frame rate and control how quickly the systemreacts to GPU load changes.interval: desired frame interval in multiple of the refresh period, set in DisplayInfo(as 1 / DisplayInfo.refreshRate)The parameters below are relevant when some Views are using dynamic resolution scaling:headRoomRatio: additional headroom for the GPU as a ratio of the targetFrameTime.Useful for taking into account constant costs like post-processing orGPU drivers on different platforms.history: History size. higher values, tend to filter more (clamped to 30)scaleRate: rate at which the gpu load is adjusted to reach the target frame rateThis value can be computed as 1 / N, where N is the number of framesneeded to reach 64% of the target scale factor.Higher values make the dynamic resolution react faster.