Skip to content

API Interface GraphicsSettings

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

Interface: GraphicsSettings

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

Properties

autoDetect

autoDetect: boolean;

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

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

The tier used until the player picks one.


platformDefaults?

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

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

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

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


tiers

tiers: QualityTier[];

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

From lowest to highest. At least one.

Clone this wiki locally