Class UniversalRenderPipeline
Inheritance
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
Properties
asset
Returns the current render pipeline asset for the current quality setting.
If no render pipeline asset is assigned in QualitySettings, then returns the one assigned in GraphicsSettings.
Declaration
public static UniversalRenderPipelineAsset asset { get; }
Property Value
maxPerObjectLights
Declaration
public static int maxPerObjectLights { get; }
Property Value
maxRenderScale
Declaration
public static float maxRenderScale { get; }
Property Value
maxShadowBias
Declaration
public static float maxShadowBias { get; }
Property Value
maxVisibleAdditionalLights
Declaration
public static int maxVisibleAdditionalLights { get; }
Property Value
minRenderScale
Declaration
public static float minRenderScale { get; }
Property Value
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
Boolean |
disposing |
|
Overrides
UnityEngine.Rendering.RenderPipeline.Dispose(System.Boolean)
IsGameCamera(Camera)
Checks if a camera is a game camera.
Declaration
public static bool IsGameCamera(Camera camera)
Parameters
Type |
Name |
Description |
Camera |
camera |
Camera to check state from.
|
Returns
Type |
Description |
Boolean |
true if given camera is a game camera, false otherwise.
|
IsStereoEnabled(Camera)
Checks if a camera is rendering in stereo mode.
Declaration
public static bool IsStereoEnabled(Camera camera)
Parameters
Type |
Name |
Description |
Camera |
camera |
Camera to check state from.
|
Returns
Type |
Description |
Boolean |
Returns true if the given camera is rendering in stereo mode, false otherwise.
|
Render(ScriptableRenderContext, Camera[])
Declaration
protected override void Render(ScriptableRenderContext renderContext, Camera[] cameras)
Parameters
Overrides
RenderSingleCamera(ScriptableRenderContext, Camera)
Standalone camera rendering. Use this to render procedural cameras.
This method doesn't call BeginCameraRendering
and EndCameraRendering
callbacks.
Declaration
public static void RenderSingleCamera(ScriptableRenderContext context, Camera camera)
Parameters
See Also