DenoiseRequest
Create a denoising request using a render texture as input.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering.Denoising
- Assembly: UnityEngine.OpenImageDenoiseModule
DenoiseRequest(CommandBuffer, DenoiseBufferType, RenderTexture)
Create a denoising request using a render texture as input.
public CommandBufferDenoiser.State DenoiseRequest(CommandBuffer cmd, DenoiseBufferType type, RenderTexture src)
Parameters
The command buffer where Unity records the denoise request.
Which input image the render texture supplies.
The input texture used for denoising.
Returns
Type | Description |
|---|---|
| State | 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.
public CommandBufferDenoiser.State DenoiseRequest(CommandBuffer cmd, string type, RenderTexture src)
Parameters
The command buffer where Unity records the denoise request.
"color", "albedo" or "normal".
The input texture used for denoising.
Returns
Type | Description |
|---|---|
| State | The state of the denoising operation. The valid states are Success and Failure. |