Documentation

Unity Engine

Download Unity

Unity Engine

WaitForCompletion(ScriptableRenderContext, CommandBuffer)

Wait until the denoise request has finished executing.
Read time 1 minuteLast updated 4 hours ago

Definition

public CommandBufferDenoiser.State WaitForCompletion(ScriptableRenderContext renderContext, CommandBuffer cmd)

Parameters

The scriptable render context used for rendering.

The command buffer where Unity records this operation.

Returns

Type

Description

StateReturns the state of the operation, whether Success or Failure.