Class PostProcessPass
Renders the post-processing effect stack.
Inheritance
PostProcessPass
Syntax
public class PostProcessPass : ScriptableRenderPass
Constructors
PostProcessPass(RenderPassEvent, PostProcessData, Material)
Declaration
public PostProcessPass(RenderPassEvent evt, PostProcessData data, Material blitMaterial = null)
Parameters
Methods
CanRunOnTile()
Declaration
public bool CanRunOnTile()
Returns
Configure(CommandBuffer, RenderTextureDescriptor)
Declaration
public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)
Parameters
Type |
Name |
Description |
CommandBuffer |
cmd |
|
RenderTextureDescriptor |
cameraTextureDescriptor |
|
Overrides
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
ResetHistory()
Declaration
public void ResetHistory()
Setup(RenderTextureDescriptor, RenderTargetHandle, RenderTargetHandle, RenderTargetHandle, RenderTargetHandle, Boolean, Boolean)
Declaration
public void Setup(in RenderTextureDescriptor baseDescriptor, in RenderTargetHandle source, in RenderTargetHandle destination, in RenderTargetHandle depth, in RenderTargetHandle internalLut, bool hasFinalPass, bool enableSRGBConversion)
Parameters
SetupFinalPass(RenderTargetHandle)
Declaration
public void SetupFinalPass(in RenderTargetHandle source)
Parameters