Struct ProfilerCategory | Unity Profiling Core API | 0.1.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ProfilerCategory

    Defines a profiling category when you create a ProfilerMarker.

    Namespace: Unity.Profiling
    Syntax
    public struct ProfilerCategory

    Properties

    Ai

    A ProfilerMarker that belongs to the Ai or NavMesh system.

    Declaration
    public static ProfilerCategory Ai { get; }
    Property Value
    Type Description
    ProfilerCategory

    Animation

    A ProfilerMarker that belongs to the Animation system.

    Declaration
    public static ProfilerCategory Animation { get; }
    Property Value
    Type Description
    ProfilerCategory

    Audio

    A ProfilerMarker that belongs the to Audio system.

    Declaration
    public static ProfilerCategory Audio { get; }
    Property Value
    Type Description
    ProfilerCategory

    GUI

    A ProfilerMarker that belongs to the UI system.

    Declaration
    public static ProfilerCategory GUI { get; }
    Property Value
    Type Description
    ProfilerCategory

    Input

    A ProfilerMarker that belongs to the Input system.

    Declaration
    public static ProfilerCategory Input { get; }
    Property Value
    Type Description
    ProfilerCategory

    Lighting

    A ProfilerMarker that belongs to the Lighting system.

    Declaration
    public static ProfilerCategory Lighting { get; }
    Property Value
    Type Description
    ProfilerCategory

    Loading

    A ProfilerMarker that belongs to the Loading or Streaming system.

    Declaration
    public static ProfilerCategory Loading { get; }
    Property Value
    Type Description
    ProfilerCategory

    Network

    A ProfilerMarker that belongs to the Networking system.

    Declaration
    public static ProfilerCategory Network { get; }
    Property Value
    Type Description
    ProfilerCategory

    Particles

    A ProfilerMarker that belongs to the Particle system.

    Declaration
    public static ProfilerCategory Particles { get; }
    Property Value
    Type Description
    ProfilerCategory

    Physics

    A ProfilerMarker that belongs to the Physics system.

    Declaration
    public static ProfilerCategory Physics { get; }
    Property Value
    Type Description
    ProfilerCategory

    Render

    A ProfilerMarker that belongs to the Render system.

    Declaration
    public static ProfilerCategory Render { get; }
    Property Value
    Type Description
    ProfilerCategory

    Scripts

    Default category for all ProfilerMarkers defined in scripting code.

    Declaration
    public static ProfilerCategory Scripts { get; }
    Property Value
    Type Description
    ProfilerCategory

    Video

    A ProfilerMarker that belongs to the Video system.

    Declaration
    public static ProfilerCategory Video { get; }
    Property Value
    Type Description
    ProfilerCategory

    Vr

    A ProfilerMarker that belongs to the VR system.

    Declaration
    public static ProfilerCategory Vr { get; }
    Property Value
    Type Description
    ProfilerCategory

    Operators

    Implicit(ProfilerCategory to UInt16)

    Utility operator that simplifies usage of the ProfilerCategory with ProfilerUnsafeUtility.

    Declaration
    public static implicit operator ushort (ProfilerCategory category)
    Parameters
    Type Name Description
    ProfilerCategory category
    Returns
    Type Description
    UInt16

    ProfilerCategory value as UInt16.

    See Also

    ProfilerMarker<TP1>
    Back to top
    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