Skip to content

API Interface GraphicsSettings

github-actions[bot] edited this page Nov 25, 2026 · 4 revisions

Interface: GraphicsSettings

Defined in: src/engine/core/graphics.ts:122

Properties

autoDetect

autoDetect: boolean;

Defined in: src/engine/core/graphics.ts:128

Pick the tier from the GPU on first run, and step down if the frame rate falls short (ADR 0055).


defaultTier

defaultTier: string;

Defined in: src/engine/core/graphics.ts:126

The tier used until the player picks one.


platformDefaults?

platformDefaults?: Partial<Record<Platform, string>>;

Defined in: src/engine/core/graphics.ts:132

Per-platform default tiers (ADR 0050): used instead of defaultTier on that platform, until the player picks one. Absent when none is set.


targetFrameRate

targetFrameRate: number;

Defined in: src/engine/core/graphics.ts:130

The frame rate automatic detection aims for (20–240).


tiers

tiers: QualityTier[];

Defined in: src/engine/core/graphics.ts:124

From lowest to highest. At least one.

Clone this wiki locally