docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugDisplayStats<TProfileId>

    Base class for Rendering Debugger Display Stats.

    Inheritance
    object
    DebugDisplayStats
    DebugDisplayStats<TProfileId>
    Inherited Members
    DebugDisplayStats.EnableProfilingRecorders()
    DebugDisplayStats.DisableProfilingRecorders()
    DebugDisplayStats.RegisterDebugUI(List<DebugUI.Widget>)
    DebugDisplayStats.Update()
    DebugDisplayStats.GetProfilingSamplersToDisplay(Type)
    DebugDisplayStats.UpdateDetailedStats(List<ProfilingSampler>)
    DebugDisplayStats.averageProfilerTimingsOverASecond
    DebugDisplayStats.hideEmptyScopes
    DebugDisplayStats.BuildDetailedStatsList(string, List<ProfilingSampler>)
    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
    [Obsolete("Use the non-generic DebugDisplayStats base class with ProfilingSampler lists. #from(6000.6)")]
    public abstract class DebugDisplayStats<TProfileId> : DebugDisplayStats where TProfileId : Enum
    Type Parameters
    Name Description
    TProfileId

    Type of ProfileId the pipeline uses

    Methods

    BuildDetailedStatsList(string, List<TProfileId>)

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

    Declaration
    [Obsolete("Use BuildDetailedStatsList(string, List<ProfilingSampler>) instead. #from(6000.6)")]
    protected DebugUI.Widget BuildDetailedStatsList(string title, List<TProfileId> samplers)
    Parameters
    Type Name Description
    string title

    Title for the stats list foldout.

    List<TProfileId> samplers

    List of enum profile IDs to display.

    Returns
    Type Description
    DebugUI.Widget

    Foldout containing the list of sampler widgets.

    GetProfilerIdsToDisplay()

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

    Declaration
    [Obsolete("Use GetProfilingSamplersToDisplay(Type) with a static marker class. #from(6000.6)")]
    protected List<TProfileId> GetProfilerIdsToDisplay()
    Returns
    Type Description
    List<TProfileId>

    List of TProfileId values excluding ones marked with [HideInDebugUI]

    UpdateDetailedStats(List<TProfileId>)

    Update the detailed stats.

    Declaration
    [Obsolete("Use UpdateDetailedStats(List<ProfilingSampler>) instead. #from(6000.6)")]
    protected void UpdateDetailedStats(List<TProfileId> samplers)
    Parameters
    Type Name Description
    List<TProfileId> samplers

    List of enum profile IDs to update.

    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, T)
    In This Article
    Back to top
    Copyright © 2026 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)