Attaches a denoiser to the nearest parent WebGPUPathTracer. Must be a child of WebGPUPathTracer. All properties on the denoiser instance can be set as props directly. The caller owns the instance and disposes it.
<Denoiser
denoiser: OIDNDenoiser
children?: ReactNode
/>Props
The denoiser instance to attach.
children?: ReactNode
Children rendered with access to the denoiser context.