Class FinalBlitPass
Copy the given color target to the current camera target
You can use this pass to copy the result of rendering to the camera target. The pass takes the screen viewport into consideration.
Inherited Members
Namespace: UnityEngine.Rendering.Universal.Internal
Syntax
public class FinalBlitPass : ScriptableRenderPass
Constructors
FinalBlitPass(RenderPassEvent, Material)
Declaration
public FinalBlitPass(RenderPassEvent evt, Material blitMaterial)
Parameters
Type | Name | Description |
---|---|---|
RenderPassEvent | evt | |
Material | blitMaterial |
Methods
Execute(ScriptableRenderContext, ref RenderingData)
Execute the pass. This is where custom rendering occurs. Specific details are left to the implementation
Declaration
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
Parameters
Type | Name | Description |
---|---|---|
ScriptableRenderContext | context | Use this render context to issue any draw commands during execution |
RenderingData | renderingData | Current rendering state information |
Overrides
Setup(RenderTextureDescriptor, RenderTargetHandle)
Configure the pass
Declaration
public void Setup(RenderTextureDescriptor baseDescriptor, RenderTargetHandle colorHandle)
Parameters
Type | Name | Description |
---|---|---|
RenderTextureDescriptor | baseDescriptor | |
RenderTargetHandle | colorHandle |