Documentation

Unity Engine

Download Unity

Unity Engine

DenoiseRequest

Create a denoising request using a render texture as input.
Read time 1 minuteLast updated 4 hours ago

Definition

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

StateThe 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.
public CommandBufferDenoiser.State DenoiseRequest(CommandBuffer cmd, string type, RenderTexture src)

Parameters

The command buffer where Unity records the denoise request.

type

"color", "albedo" or "normal".

The input texture used for denoising.

Returns

Type

Description

StateThe state of the denoising operation. The valid states are Success and Failure.