docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023