Method SetupLights
SetupLights(ScriptableRenderContext, ref RenderingData)
Override this method to implement the lighting setup for the renderer. You can use this to compute and upload light CBUFFER for example.
선언
public virtual void SetupLights(ScriptableRenderContext context, ref RenderingData renderingData)
파라미터
타입 | 이름 | 설명 |
---|---|---|
ScriptableRenderContext | context | Use this render context to issue any draw commands during execution. |
RenderingData | renderingData | Current render state information. |