WaitForCompletion(ScriptableRenderContext, CommandBuffer)
Wait until the denoise request has finished executing.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering.Denoising
- Assembly: UnityEngine.OpenImageDenoiseModule
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 |
|---|---|
| State | Returns the state of the operation, whether Success or Failure. |