---
title: DenoiseRequest
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/rendering/denoising/commandbufferdenoiser/denoiserequest
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/rendering/denoising/commandbufferdenoiser/denoiserequest.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:14:25.509Z
locale: en-us
---

# DenoiseRequest

> Create a denoising request using a render texture as input.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Rendering.Denoising](/engine/7000.0/script-reference/unityengine/rendering/denoising.md)
* **Assembly:** [UnityEngine.OpenImageDenoiseModule](/engine/7000.0/script-reference/modules/unityengine-openimagedenoisemodule.md)

## DenoiseRequest(CommandBuffer, DenoiseBufferType, RenderTexture)

Create a denoising request using a render texture as input.

```csharp
public CommandBufferDenoiser.State DenoiseRequest(CommandBuffer cmd, DenoiseBufferType type, RenderTexture src)
```

### Parameters

**** (\[CommandBuffer]\(/engine/7000.0/script-reference/unityengine/rendering/commandbuffer)): The command buffer where Unity records the denoise request.**** (\[DenoiseBufferType]\(/engine/7000.0/script-reference/unityengine/rendering/denoising/denoisebuffertype)): Which input image the render texture supplies.**** (\[RenderTexture]\(/engine/7000.0/script-reference/unityengine/rendertexture)): The input texture used for denoising.

### Returns

| Type                                                                                                    | Description                                                                             |
| ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [State](/engine/7000.0/script-reference/unityengine/rendering/denoising/commandbufferdenoiser/state.md) | The state of the denoising operation. The valid states are **Success** and **Failure**. |

## DenoiseRequest(CommandBuffer, string, RenderTexture)

Records a denoising request, naming the input by string.

> **Warning:**
>
> **Deprecated.** Use the DenoiseBufferType overload.

```csharp
public CommandBufferDenoiser.State DenoiseRequest(CommandBuffer cmd, string type, RenderTexture src)
```

### Parameters

**** (\[CommandBuffer]\(/engine/7000.0/script-reference/unityengine/rendering/commandbuffer)): The command buffer where Unity records the denoise request.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): "color", "albedo" or "normal".**** (\[RenderTexture]\(/engine/7000.0/script-reference/unityengine/rendertexture)): The input texture used for denoising.

### Returns

| Type                                                                                                    | Description                                                                             |
| ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [State](/engine/7000.0/script-reference/unityengine/rendering/denoising/commandbufferdenoiser/state.md) | The state of the denoising operation. The valid states are **Success** and **Failure**. |
