Skip to content

QualityStore

QualityStore<Slice> = QualityState<Slice> & object

Defined in: packages/engine/src/stores/quality.ts:82

Name Type Description
scalePixelRatio() (baseline, factor) => number -
selectPixelRatio() (tier) => number -
selectScatterShare() (tier) => number -
selectShadowMapSize() (tier) => number -
setGame() (game) => void Keeps the game’s own settings; throws for settings the slice refuses, which only a broken game hands it.
setLevel() (level) => void -
Type Parameter Default type
Slice never