# Upscaler

component in `three-gpu-pathtracer/r3f`

```js
import { Upscaler } from 'three-gpu-pathtracer/r3f';
```

Attaches an upscaler to the nearest parent WebGPUPathTracer. Must be a child of WebGPUPathTracer.
All properties on the upscaler instance can be set as props directly. The caller owns the instance
and disposes it.

## Props

- `upscaler`, `FSRUpscaler`: The upscaler instance to attach.
- `children`, `ReactNode`, optional: Children rendered with access to the upscaler context.
