Class UniversalRenderPipelineAsset
Inheritance
UniversalRenderPipelineAsset
Syntax
public class UniversalRenderPipelineAsset : RenderPipelineAsset, ISerializationCallbackReceiver
Fields
k_MaxLutSize
Declaration
public const int k_MaxLutSize = null
Field Value
k_MinLutSize
Declaration
public const int k_MinLutSize = null
Field Value
Properties
additionalLightsRenderingMode
Declaration
public LightRenderingMode additionalLightsRenderingMode { get; }
Property Value
additionalLightsShadowmapResolution
Declaration
public int additionalLightsShadowmapResolution { get; }
Property Value
cascade2Split
Declaration
public float cascade2Split { get; }
Property Value
Type |
Description |
Single |
Returns a Float with the split value.
|
cascade3Split
Returns the split values.
Declaration
public Vector2 cascade3Split { get; }
Property Value
Type |
Description |
Vector2 |
Returns a Vector2 with the split values.
|
cascade4Split
Returns the split values.
Declaration
public Vector3 cascade4Split { get; }
Property Value
Type |
Description |
Vector3 |
Returns a Vector3 with the split values.
|
colorGradingLutSize
Declaration
public int colorGradingLutSize { get; set; }
Property Value
colorGradingMode
Declaration
public ColorGradingMode colorGradingMode { get; set; }
Property Value
debugLevel
Declaration
public PipelineDebugLevel debugLevel { get; }
Property Value
default2DMaterial
Declaration
public override Material default2DMaterial { get; }
Property Value
Type |
Description |
Material |
|
defaultLineMaterial
Declaration
public override Material defaultLineMaterial { get; }
Property Value
Type |
Description |
Material |
|
defaultMaterial
Declaration
public override Material defaultMaterial { get; }
Property Value
Type |
Description |
Material |
|
defaultParticleMaterial
Declaration
public override Material defaultParticleMaterial { get; }
Property Value
Type |
Description |
Material |
|
defaultShader
Declaration
public override Shader defaultShader { get; }
Property Value
defaultTerrainMaterial
Declaration
public override Material defaultTerrainMaterial { get; }
Property Value
Type |
Description |
Material |
|
defaultUIETC1SupportedMaterial
Declaration
public override Material defaultUIETC1SupportedMaterial { get; }
Property Value
Type |
Description |
Material |
|
defaultUIMaterial
Declaration
public override Material defaultUIMaterial { get; }
Property Value
Type |
Description |
Material |
|
defaultUIOverdrawMaterial
Declaration
public override Material defaultUIOverdrawMaterial { get; }
Property Value
Type |
Description |
Material |
|
mainLightRenderingMode
Declaration
public LightRenderingMode mainLightRenderingMode { get; }
Property Value
mainLightShadowmapResolution
Declaration
public int mainLightShadowmapResolution { get; }
Property Value
maxAdditionalLightsCount
Declaration
public int maxAdditionalLightsCount { get; set; }
Property Value
msaaSampleCount
Declaration
public int msaaSampleCount { get; set; }
Property Value
opaqueDownsampling
Declaration
public Downsampling opaqueDownsampling { get; }
Property Value
renderScale
Declaration
public float renderScale { get; set; }
Property Value
scriptableRenderer
Returns the default renderer being used by this pipeline.
Declaration
public ScriptableRenderer scriptableRenderer { get; }
Property Value
shaderVariantLogLevel
Declaration
public ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
Property Value
shadowCascadeCount
Returns the number of shadow cascades.
Declaration
public int shadowCascadeCount { get; set; }
Property Value
shadowCascadeOption
Declaration
public ShadowCascadesOption shadowCascadeOption { get; set; }
Property Value
shadowDepthBias
The Shadow Depth Bias, controls the offset of the lit pixels.
Declaration
public float shadowDepthBias { get; set; }
Property Value
shadowDistance
Controls the maximum distance at which shadows are visible.
Declaration
public float shadowDistance { get; set; }
Property Value
shadowNormalBias
Controls the distance at which the shadow casting surfaces are shrunk along the surface normal.
Declaration
public float shadowNormalBias { get; set; }
Property Value
supportsAdditionalLightShadows
Declaration
public bool supportsAdditionalLightShadows { get; }
Property Value
supportsCameraDepthTexture
Declaration
public bool supportsCameraDepthTexture { get; set; }
Property Value
supportsCameraOpaqueTexture
Declaration
public bool supportsCameraOpaqueTexture { get; set; }
Property Value
supportsDynamicBatching
Declaration
public bool supportsDynamicBatching { get; set; }
Property Value
supportsHDR
Declaration
public bool supportsHDR { get; set; }
Property Value
supportsMainLightShadows
Declaration
public bool supportsMainLightShadows { get; }
Property Value
supportsMixedLighting
Declaration
public bool supportsMixedLighting { get; }
Property Value
supportsSoftShadows
Returns true Soft Shadows are supported, false otherwise.
Declaration
public bool supportsSoftShadows { get; }
Property Value
supportsTerrainHoles
Declaration
public bool supportsTerrainHoles { get; }
Property Value
Set to true to allow Adaptive performance to modify graphics quality settings during runtime.
Only applicable when Adaptive performance package is available.
Declaration
public bool useAdaptivePerformance { get; set; }
Property Value
useSRPBatcher
Declaration
public bool useSRPBatcher { get; set; }
Property Value
volumeFrameworkUpdateMode
Returns the selected update mode for volumes.
Declaration
public VolumeFrameworkUpdateMode volumeFrameworkUpdateMode { get; }
Property Value
Methods
CreatePipeline()
Declaration
protected override RenderPipeline CreatePipeline()
Returns
Type |
Description |
RenderPipeline |
|
GetRenderer(Int32)
Returns a renderer from the current pipeline asset
Declaration
public ScriptableRenderer GetRenderer(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
Index to the renderer. If invalid index is passed, the default renderer is returned instead.
|
Returns
LoadBuiltinRendererData(RendererType)
Declaration
public ScriptableRendererData LoadBuiltinRendererData(RendererType type = RendererType.ForwardRenderer)
Parameters
Returns
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()
OnDisable()
Declaration
protected override void OnDisable()
OnValidate()
Declaration
protected override void OnValidate()