Class TransparentPostProcessPass
Perform final frame post-processing using the given color attachment as the source and the current camera target as the destination.
You can use this pass to apply post-processing to the given color buffer. The pass uses the currently configured post-process stack, and it copies the result to the Camera target.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.LightweightPipeline
Syntax
public class TransparentPostProcessPass : ScriptableRenderPass
Methods
Execute(ScriptableRenderer, ScriptableRenderContext, ref RenderingData)
Execute the pass. This is where custom rendering occurs. Specific details are left to the implementation
Declaration
public override void Execute(ScriptableRenderer renderer, ScriptableRenderContext context, ref RenderingData renderingData)
Parameters
Type | Name | Description |
---|---|---|
ScriptableRenderer | renderer | The currently executing renderer. Contains configuration for the current execute call. |
ScriptableRenderContext | context | Use this render context to issue any draw commands during execution |
RenderingData | renderingData | Current rendering state information |
Overrides
Setup(RenderTextureDescriptor, RenderTargetHandle, RenderTargetIdentifier)
Setup the pass
Declaration
public void Setup(RenderTextureDescriptor baseDescriptor, RenderTargetHandle colorAttachmentHandle, RenderTargetIdentifier destination)
Parameters
Type | Name | Description |
---|---|---|
RenderTextureDescriptor | baseDescriptor | |
RenderTargetHandle | colorAttachmentHandle | Source of rendering to execute the post on |
RenderTargetIdentifier | destination | Destination target for the final blit |