# Adaptive Quality

Start on a High pipeline and downgrade once to a cheaper Low pipeline when the GPU tier, battery level, or presented FPS say so. The tier swap is prepared off-screen and every signal is advisory.

## Download

Download the complete verified example source:

```bash
npx vgpu examples pull adaptive-quality --out ./adaptive-quality
```

## Explore

- [Interactive example](https://vgpu.sh/examples/adaptive-quality)
- [Fullscreen preview](https://vgpu.sh/preview/adaptive-quality)
- [Complete source](https://vgpu.sh/examples/adaptive-quality/source.md)

## Included files

- `index.tsx`
- `renderer.ts`
- `quality.ts`
- `quality-controller.ts`
- `quality-signals.ts`
- `frame-health.ts`
- `scene.ts`
- `field.wgsl`
- `bloom-extract.wgsl`
- `bloom-blur.wgsl`
- `composite.wgsl`
