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 left out of the average, e.g. garbage collection (default 0.25)
  • hitchFrameMultiple (float) — A frame longer than this many target frames is a hitch (default 2.5)
  • hitchesToStepDown (integer) — Step down when this many hitches happen within hitchWindowSeconds, whatever the
  • hitchWindowSeconds (float) — (default 2.0)
  • 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, up to 4x, and
  • stillProbeBackoffSeconds (float) — Like probeBackoffSeconds, while the camera is still (default 1)
  • stepUpJumpFraction (float) — Step up two levels at once when average fps >= targetFps * this; 0 disables (default 2.0)
  • stillCameraSeconds (float) — Seconds the camera must stay still before quality climbs faster; 0 disables (default 0.2)
  • stillSettleSeconds (float) — Seconds ignored after a level change while the camera is still (default 0.1)
  • stillSampleSeconds (float) — Seconds of frames a still camera needs before stepping up (default 0.2)
  • cameraMoveMaxStepDown (integer) — Most levels the camera starting to move from still may drop the level, before the usual