AdaptiveQualityOptions

Extends: roAssociativeArray

Options for Game.enableAdaptiveQuality(). Every field is optional.

Properties

  • targetFps (float) — Frame rate to hold (default 20)
  • minLevel (integer) — Lowest level the controller may choose (default basic)
  • maxLevel (integer) — Highest level the controller may choose (default ultra)
  • windowSeconds (float) — Seconds of frames averaged (default 1.0)
  • outlierFrameSeconds (float) — Frames longer than this are ignored, e.g. garbage collection (default 0.25)
  • settleSeconds (float) — Seconds ignored after a level or scene change (default 0.25)
  • stepDownBelowFraction (float) — Step down when average fps < targetFps * this (default 0.9)
  • stepUpHeadroomFraction (float) — Step up when average fps >= targetFps * this... (default 1.25)
  • stepUpSustainSeconds (float) — ...for this many seconds (default 0.5)
  • maxMeasurableFps (float) — Display refresh ceiling for the step-up threshold (default 60)
  • stepDownCooldownSeconds (float) — Minimum seconds between two downward steps (default 0.75)
  • probeFailWindowSeconds (float) — A step down this soon after a step up marks that level as failed (default 1.5)
  • probeBackoffSeconds (float) — Seconds a failed level isn't retried; doubles on each repeat failure (default 10)
  • stepUpJumpFraction (float) — Step up two levels at once when average fps >= targetFps * this; 0 disables (default 2.0)