Class RenderTransparentForwardPass
Render all transparent forward objects into the given color and depth target
You can use this pass to render objects that have a material and/or shader with the pass names LightweightForward or SRPDefaultUnlit. The pass only renders objects in the rendering queue range of Transparent objects.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.LightweightPipeline
Syntax
public class RenderTransparentForwardPass : ScriptableRenderPass
Constructors
RenderTransparentForwardPass()
Declaration
public RenderTransparentForwardPass()
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, RenderTargetHandle, RendererConfiguration)
Configure the pass before execution
Declaration
public void Setup(RenderTextureDescriptor baseDescriptor, RenderTargetHandle colorAttachmentHandle, RenderTargetHandle depthAttachmentHandle, RendererConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
RenderTextureDescriptor | baseDescriptor | Current target descriptor |
RenderTargetHandle | colorAttachmentHandle | Color attachment to render into |
RenderTargetHandle | depthAttachmentHandle | Depth attachment to render into |
RendererConfiguration | configuration | Specific render configuration |