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.
<Upscaler
upscaler: FSRUpscaler
children?: ReactNode
/>Props
The upscaler instance to attach.
children?: ReactNode
Children rendered with access to the upscaler context.