Class MainLightShadowCasterPass
Renders a shadow map for the main Light.
Inheritance
MainLightShadowCasterPass
Syntax
public class MainLightShadowCasterPass : ScriptableRenderPass
Constructors
MainLightShadowCasterPass(RenderPassEvent)
Declaration
public MainLightShadowCasterPass(RenderPassEvent evt)
Parameters
Methods
Configure(CommandBuffer, RenderTextureDescriptor)
Declaration
public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)
Parameters
Overrides
Dispose()
Declaration
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(ref RenderingData)
Declaration
public bool Setup(ref RenderingData renderingData)
Parameters
Returns