Skip to content

API Interface GraphicsSettings

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

Interface: GraphicsSettings

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

Properties

autoDetect

autoDetect: boolean;

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

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:97

The tier used until the player picks one.


platformDefaults?

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

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

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:101

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


tiers

tiers: QualityTier[];

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

From lowest to highest. At least one.

Clone this wiki locally