Class AdditionalLightsShadowCasterPass
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.LightweightPipeline
Syntax
public class AdditionalLightsShadowCasterPass : ScriptableRenderPass
Constructors
AdditionalLightsShadowCasterPass()
Declaration
public AdditionalLightsShadowCasterPass()
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
FrameCleanup(CommandBuffer)
Declaration
public override void FrameCleanup(CommandBuffer cmd)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd |
Overrides
Setup(RenderTargetHandle, ref RenderingData, Int32)
Declaration
public bool Setup(RenderTargetHandle destination, ref RenderingData renderingData, int maxVisibleAdditinalLights)
Parameters
Type | Name | Description |
---|---|---|
RenderTargetHandle | destination | |
RenderingData | renderingData | |
System.Int32 | maxVisibleAdditinalLights |
Returns
Type | Description |
---|---|
System.Boolean |