docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RenderGraphGlobalSettings

    A graphics settings container for settings related to the Render Graph for all Scriptable Render Pipelines.

    Inheritance
    object
    RenderGraphGlobalSettings
    Implements
    IRenderPipelineGraphicsSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    [SupportedOnRenderPipeline(new Type[] { })]
    [CategoryInfo(Name = "Render Graph", Order = 50)]
    [ElementInfo(Order = 0)]
    public class RenderGraphGlobalSettings : IRenderPipelineGraphicsSettings
    Remarks

    To change those settings, go to Editor > Project Settings in the Graphics tab. Changing this through the API is only allowed in the Editor. In the Player, this raises an error.

    Examples

    This example demonstrates how to determine if your project uses RenderGraph's compilation caching.

    using UnityEngine.Rendering;
    

    public static class RenderGraphHelper { public static bool enableCompilationCaching { get { var gs = GraphicsSettings.GetRenderPipelineSettings<RenderGraphGlobalSettings>(); if (gs == null) //not in SRP return false; return gs.enableCompilationCaching; } } }

    Properties

    enableCompilationCaching

    Enable Compilation caching for render graph.

    Declaration
    public bool enableCompilationCaching { get; set; }
    Property Value
    Type Description
    bool
    See Also
    IRenderPipelineGraphicsSettings

    enableValidityChecks

    Enable validity checks for render graph. Always disabled in Release mode.

    Declaration
    public bool enableValidityChecks { get; set; }
    Property Value
    Type Description
    bool
    See Also
    IRenderPipelineGraphicsSettings

    Implements

    IRenderPipelineGraphicsSettings

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)

    See Also

    IRenderPipelineGraphicsSettings
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)