Method SetupCullingParameters
SetupCullingParameters(ref ScriptableCullingParameters, ref CameraData)
Override this method to configure the culling parameters for the renderer. You can use this to configure if lights should be culled per-object or the maximum shadow distance for example.
Declaration
public override void SetupCullingParameters(ref ScriptableCullingParameters cullingParameters, ref CameraData cameraData)
Parameters
Type | Name | Description |
---|---|---|
ScriptableCullingParameters | cullingParameters | Use this to change culling parameters used by the render pipeline. |
CameraData | cameraData | Current render state information. |