docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugDisplayStats<TProfileId>

    Base class for Rendering Debugger Display Stats.

    Inheritance
    object
    DebugDisplayStats<TProfileId>
    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
    public abstract class DebugDisplayStats<TProfileId> where TProfileId : Enum
    Type Parameters
    Name Description
    TProfileId

    Type of ProfileId the pipeline uses

    Fields

    Name Description
    averageProfilerTimingsOverASecond

    Whether to display timings averaged over a second instead of updating every frame.

    hideEmptyScopes

    Whether to hide empty scopes from UI.

    Methods

    Name Description
    BuildDetailedStatsList(string, List<TProfileId>)

    Helper function to build a list of sampler widgets for display stats

    DisableProfilingRecorders()

    Disable all active profiling recorders.

    EnableProfilingRecorders()

    Enable profiling recorders.

    GetProfilerIdsToDisplay()

    Helper function to get all TProfilerId values of a given type to show in Detailed Stats section.

    RegisterDebugUI(List<Widget>)

    Add display stats widgets to the list provided.

    Update()

    Update the timing data displayed in Display Stats panel.

    UpdateDetailedStats(List<TProfileId>)

    Update the detailed stats

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)