# QualityOptions

interface in `@dioramajs/diorama/quality`

```ts
import type { QualityOptions } from '@dioramajs/diorama/quality'
```

Options of the `quality` plugin.

```ts
interface QualityOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `adapt` | `boolean` | Lower the tier when the browser misses frames while the site draws. Default true. |
| `pixelRatio` | `Readonly<Record<QualityTier, number>>` | Pixel ratio bound per tier. Default `{ low: 1, medium: 1.5, high: Infinity }`. |
| `remember` | `boolean` | Keep the settled tier for the rest of the session (sessionStorage, keyed by GPU). Default true. |
| `tier` | `'auto' \| QualityTier` | 'auto' (default) detects and adapts. A tier pins it. |

Also exported from `@dioramajs/quality`.

Defined in [packages/quality/src/index.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/quality/src/index.ts#L13).
