Class UniversalRenderPipeline
Inheritance
System.Object
UniversalRenderPipeline
Syntax
public sealed class UniversalRenderPipeline : RenderPipeline
Constructors
UniversalRenderPipeline(UniversalRenderPipelineAsset)
Declaration
public UniversalRenderPipeline(UniversalRenderPipelineAsset asset)
Parameters
Fields
k_ShaderTagName
Declaration
public const string k_ShaderTagName = "UniversalPipeline"
Field Value
Type |
Description |
System.String |
|
Properties
asset
Declaration
public static UniversalRenderPipelineAsset asset { get; }
Property Value
maxPerObjectLights
Declaration
public static int maxPerObjectLights { 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 |
|
maxVisibleAdditionalLights
Declaration
public static int maxVisibleAdditionalLights { get; }
Property Value
Type |
Description |
System.Int32 |
|
minRenderScale
Declaration
public static float minRenderScale { get; }
Property Value
Type |
Description |
System.Single |
|
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(ScriptableRenderContext, Camera)
Declaration
public static void RenderSingleCamera(ScriptableRenderContext context, Camera camera)
Parameters
Type |
Name |
Description |
ScriptableRenderContext |
context |
|
Camera |
camera |
|