docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugFrameTiming

    Debug frame timings class

    Inheritance
    object
    DebugFrameTiming
    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 class DebugFrameTiming

    Constructors

    DebugFrameTiming()

    Constructs the debug frame timing

    Declaration
    public DebugFrameTiming()

    Properties

    bottleneckHistorySize

    Size of the Bottleneck History Window in number of samples.

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

    sampleHistorySize

    Size of the Sample History Window in number of samples.

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

    Methods

    RegisterDebugUI(List<Widget>)

    Add frame timing data widgets to debug UI.

    Declaration
    public void RegisterDebugUI(List<DebugUI.Widget> list)
    Parameters
    Type Name Description
    List<DebugUI.Widget> list

    List of widgets to add the stats.

    UpdateFrameTiming()

    Update timing data from profiling counters.

    Declaration
    public void UpdateFrameTiming()

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