Class LightweightRenderPipeline
Inheritance
System.Object
LightweightRenderPipeline
Syntax
public sealed class LightweightRenderPipeline : RenderPipeline
Constructors
LightweightRenderPipeline(LightweightRenderPipelineAsset)
Declaration
public LightweightRenderPipeline(LightweightRenderPipelineAsset asset)
Parameters
Fields
lightsDelegate
Declaration
public static Lightmapping.RequestLightsDelegate lightsDelegate
Field Value
Type |
Description |
Lightmapping.RequestLightsDelegate |
|
Properties
maxPerObjectLightCount
Declaration
public static int maxPerObjectLightCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
maxRenderScale
Declaration
public static float maxRenderScale { get; }
Property Value
Type |
Description |
System.Single |
|
maxShadowBias
Declaration
public static float maxShadowBias { get; }
Property Value
Type |
Description |
System.Single |
|
minRenderScale
Declaration
public static float minRenderScale { get; }
Property Value
Type |
Description |
System.Single |
|
renderer
Declaration
public ScriptableRenderer renderer { get; }
Property Value
Type |
Description |
ScriptableRenderer |
|
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
IsStereoEnabled(Camera)
Declaration
public static bool IsStereoEnabled(Camera camera)
Parameters
Type |
Name |
Description |
Camera |
camera |
|
Returns
Type |
Description |
System.Boolean |
|
Render(ScriptableRenderContext, Camera[])
Declaration
protected override void Render(ScriptableRenderContext renderContext, Camera[] cameras)
Parameters
Type |
Name |
Description |
ScriptableRenderContext |
renderContext |
|
Camera[] |
cameras |
|
RenderSingleCamera(LightweightRenderPipeline, ScriptableRenderContext, Camera, IRendererSetup)
Declaration
public static void RenderSingleCamera(LightweightRenderPipeline pipelineInstance, ScriptableRenderContext context, Camera camera, IRendererSetup setup = null)
Parameters
Type |
Name |
Description |
LightweightRenderPipeline |
pipelineInstance |
|
ScriptableRenderContext |
context |
|
Camera |
camera |
|
IRendererSetup |
setup |
|