docs.unity.cn
    Show / Hide Table of Contents

    Class DebugFrameTiming

    Timing for debugging a frame

    Inheritance
    Object
    DebugFrameTiming
    Namespace: UnityEngine.Rendering
    Syntax
    public class DebugFrameTiming

    Constructors

    DebugFrameTiming()

    Default constructor

    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
    Int32

    sampleHistorySize

    Size of the Sample History Window in number of samples.

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

    Methods

    RegisterDebugUI(List<DebugUI.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.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 18 November 2022
    Terms of use