Class ForwardLights
Computes and submits lighting data to the GPU.
Inherited Members
Namespace: UnityEngine.Rendering.Universal.Internal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class ForwardLights
Constructors
ForwardLights()
Creates a new ForwardLights
instance.
Declaration
public ForwardLights()
Methods
Setup(ScriptableRenderContext, ref RenderingData)
Sets up the keywords and data for forward lighting.
Declaration
public void Setup(ScriptableRenderContext context, ref RenderingData renderingData)
Parameters
Type | Name | Description |
---|---|---|
ScriptableRenderContext | context | |
RenderingData | renderingData |