Class UniversalRenderPipelineAsset
Inheritance
UniversalRenderPipelineAsset
Syntax
[ExcludeFromPreset]
public class UniversalRenderPipelineAsset : RenderPipelineAsset, ISerializationCallbackReceiver
Fields
k_MaxLutSize
Declaration
public const int k_MaxLutSize = 65
Field Value
k_MinLutSize
Declaration
public const int k_MinLutSize = 16
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
cascade4Split
Declaration
public Vector3 cascade4Split { get; }
Property Value
colorGradingLutSize
The color grading LUT size used in the project. Higher sizes provide more precision, but
have a potential cost of performance and memory use. You cannot mix and match LUT sizes,
so decide on a size before you start the color grading process.
Declaration
public int colorGradingLutSize { get; set; }
Property Value
colorGradingMode
The color grading mode used in the project.
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
Overrides
defaultLineMaterial
Declaration
public override Material defaultLineMaterial { get; }
Property Value
Overrides
defaultMaterial
Declaration
public override Material defaultMaterial { get; }
Property Value
Overrides
defaultParticleMaterial
Declaration
public override Material defaultParticleMaterial { get; }
Property Value
Overrides
defaultShader
Declaration
public override Shader defaultShader { get; }
Property Value
Overrides
defaultTerrainMaterial
Declaration
public override Material defaultTerrainMaterial { get; }
Property Value
Overrides
defaultUIETC1SupportedMaterial
Declaration
public override Material defaultUIETC1SupportedMaterial { get; }
Property Value
Overrides
defaultUIMaterial
Declaration
public override Material defaultUIMaterial { get; }
Property Value
Overrides
defaultUIOverdrawMaterial
Declaration
public override Material defaultUIOverdrawMaterial { get; }
Property Value
Overrides
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
postProcessingFeatureSet
The post-processing solution used in the project.
Declaration
public PostProcessingFeatureSet postProcessingFeatureSet { get; set; }
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
shadowCascadeOption
Declaration
public ShadowCascadesOption shadowCascadeOption { get; set; }
Property Value
shadowDepthBias
Declaration
public float shadowDepthBias { get; set; }
Property Value
shadowDistance
Declaration
public float shadowDistance { get; set; }
Property Value
shadowNormalBias
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
Declaration
public bool supportsSoftShadows { get; }
Property Value
supportsTerrainHoles
Declaration
public bool supportsTerrainHoles { get; }
Property Value
useSRPBatcher
Declaration
public bool useSRPBatcher { get; set; }
Property Value
Methods
CreatePipeline()
Declaration
protected override RenderPipeline CreatePipeline()
Returns
Overrides
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()
Implements
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()
Implements
OnDisable()
Declaration
protected override void OnDisable()
Overrides
OnValidate()
Declaration
protected override void OnValidate()
Overrides