Repository navigation
API Class Graphics
Defined in: src/engine/render/Graphics.ts:23
new Graphics(): Graphics;Graphics
get static autoDetected(): boolean;Defined in: src/engine/render/Graphics.ts:41
True when the active tier was chosen by automatic detection (ADR 0055) rather than the player or the project's default.
boolean
get static defaultQuality(): string;Defined in: src/engine/render/Graphics.ts:72
The default tier: the one used until the player picks another. The project's default for this platform (platformDefaults) if it sets one, else defaultTier.
string
get static platform(): Platform;Defined in: src/engine/render/Graphics.ts:77
Where the game runs (desktop, mobile or web), as detected when the project was configured.
Platform
get static quality(): string;Defined in: src/engine/render/Graphics.ts:82
The active tier's name. Setting it applies that tier now and saves it as the player's choice; an unknown name is ignored with a warning.
string
set static quality(name): void;Defined in: src/engine/render/Graphics.ts:86
string
void
get static tier(): Readonly<QualityTier>;Defined in: src/engine/render/Graphics.ts:93
The active tier's settings.
Readonly<QualityTier>
get static tiers(): readonly string[];Defined in: src/engine/render/Graphics.ts:67
The tiers' names, lowest first.
readonly string[]
static detectQuality(): string;Defined in: src/engine/render/Graphics.ts:50
The tier the machine's GPU suggests (ADR 0055), among the project's tiers: a guess from the
GPU's name, cores and memory, where "the default" is this platform's default tier. It doesn't
apply it; set Graphics.quality to use it.
string
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference