Class UniversalRenderPipelineAsset | Universal RP | 7.2.1
docs.unity.cn
    Show / Hide Table of Contents

    Class UniversalRenderPipelineAsset

    Inheritance
    Object
    UniversalRenderPipelineAsset
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public class UniversalRenderPipelineAsset : RenderPipelineAsset, ISerializationCallbackReceiver

    Fields

    k_MaxLutSize

    Declaration
    public const int k_MaxLutSize = 65
    Field Value
    Type Description
    Int32

    k_MinLutSize

    Declaration
    public const int k_MinLutSize = 16
    Field Value
    Type Description
    Int32

    Properties

    additionalLightsRenderingMode

    Declaration
    public LightRenderingMode additionalLightsRenderingMode { get; }
    Property Value
    Type Description
    LightRenderingMode

    additionalLightsShadowmapResolution

    Declaration
    public int additionalLightsShadowmapResolution { get; }
    Property Value
    Type Description
    Int32

    cascade2Split

    Declaration
    public float cascade2Split { get; }
    Property Value
    Type Description
    Single

    cascade4Split

    Declaration
    public Vector3 cascade4Split { get; }
    Property Value
    Type Description
    Vector3

    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
    Type Description
    Int32

    colorGradingMode

    The color grading mode used in the project.

    Declaration
    public ColorGradingMode colorGradingMode { get; set; }
    Property Value
    Type Description
    ColorGradingMode

    debugLevel

    Declaration
    public PipelineDebugLevel debugLevel { get; }
    Property Value
    Type Description
    PipelineDebugLevel

    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
    Type Description
    Shader

    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
    Type Description
    LightRenderingMode

    mainLightShadowmapResolution

    Declaration
    public int mainLightShadowmapResolution { get; }
    Property Value
    Type Description
    Int32

    maxAdditionalLightsCount

    Declaration
    public int maxAdditionalLightsCount { get; set; }
    Property Value
    Type Description
    Int32

    msaaSampleCount

    Declaration
    public int msaaSampleCount { get; set; }
    Property Value
    Type Description
    Int32

    opaqueDownsampling

    Declaration
    public Downsampling opaqueDownsampling { get; }
    Property Value
    Type Description
    Downsampling

    postProcessingFeatureSet

    The post-processing solution used in the project.

    Declaration
    public PostProcessingFeatureSet postProcessingFeatureSet { get; set; }
    Property Value
    Type Description
    PostProcessingFeatureSet

    renderScale

    Declaration
    public float renderScale { get; set; }
    Property Value
    Type Description
    Single

    scriptableRenderer

    Declaration
    public ScriptableRenderer scriptableRenderer { get; }
    Property Value
    Type Description
    ScriptableRenderer

    shaderVariantLogLevel

    Declaration
    public ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
    Property Value
    Type Description
    ShaderVariantLogLevel

    shadowCascadeOption

    Declaration
    public ShadowCascadesOption shadowCascadeOption { get; set; }
    Property Value
    Type Description
    ShadowCascadesOption

    shadowDepthBias

    Declaration
    public float shadowDepthBias { get; set; }
    Property Value
    Type Description
    Single

    shadowDistance

    Declaration
    public float shadowDistance { get; set; }
    Property Value
    Type Description
    Single

    shadowNormalBias

    Declaration
    public float shadowNormalBias { get; set; }
    Property Value
    Type Description
    Single

    supportsAdditionalLightShadows

    Declaration
    public bool supportsAdditionalLightShadows { get; }
    Property Value
    Type Description
    Boolean

    supportsCameraDepthTexture

    Declaration
    public bool supportsCameraDepthTexture { get; set; }
    Property Value
    Type Description
    Boolean

    supportsCameraOpaqueTexture

    Declaration
    public bool supportsCameraOpaqueTexture { get; set; }
    Property Value
    Type Description
    Boolean

    supportsDynamicBatching

    Declaration
    public bool supportsDynamicBatching { get; set; }
    Property Value
    Type Description
    Boolean

    supportsHDR

    Declaration
    public bool supportsHDR { get; set; }
    Property Value
    Type Description
    Boolean

    supportsMainLightShadows

    Declaration
    public bool supportsMainLightShadows { get; }
    Property Value
    Type Description
    Boolean

    supportsMixedLighting

    Declaration
    public bool supportsMixedLighting { get; }
    Property Value
    Type Description
    Boolean

    supportsSoftShadows

    Declaration
    public bool supportsSoftShadows { get; }
    Property Value
    Type Description
    Boolean

    supportsTerrainHoles

    Declaration
    public bool supportsTerrainHoles { get; }
    Property Value
    Type Description
    Boolean

    useSRPBatcher

    Declaration
    public bool useSRPBatcher { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    CreatePipeline()

    Declaration
    protected override RenderPipeline CreatePipeline()
    Returns
    Type Description
    RenderPipeline

    LoadBuiltinRendererData(RendererType)

    Declaration
    public ScriptableRendererData LoadBuiltinRendererData(RendererType type = RendererType.ForwardRenderer)
    Parameters
    Type Name Description
    RendererType type
    Returns
    Type Description
    ScriptableRendererData

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX