DynamicResolution constructor

DynamicResolution({
  1. bool enabled = false,
  2. double targetFps = 60,
  3. double minScale = 0.5,
  4. double maxScale = 1.0,
  5. double step = 0.1,
})

Off until enabled; aims for targetFps.

Implementation

DynamicResolution({
  this.enabled = false,
  this.targetFps = 60,
  this.minScale = 0.5,
  this.maxScale = 1.0,
  this.step = 0.1,
});