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 readonly ProfilerCategory Ai { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Animation
A ProfilerMarker that belongs to the Animation system.
Declaration
public static readonly ProfilerCategory Animation { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Audio
A ProfilerMarker that belongs the to Audio system.
Declaration
public static readonly ProfilerCategory Audio { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
GUI
A ProfilerMarker that belongs to the UI system.
Declaration
public static readonly ProfilerCategory GUI { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Input
A ProfilerMarker that belongs to the Input system.
Declaration
public static readonly ProfilerCategory Input { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Lighting
A ProfilerMarker that belongs to the Lighting system.
Declaration
public static readonly ProfilerCategory Lighting { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Loading
A ProfilerMarker that belongs to the Loading or Streaming system.
Declaration
public static readonly ProfilerCategory Loading { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Network
A ProfilerMarker that belongs to the Networking system.
Declaration
public static readonly ProfilerCategory Network { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Particles
A ProfilerMarker that belongs to the Particle system.
Declaration
public static readonly ProfilerCategory Particles { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Physics
A ProfilerMarker that belongs to the Physics system.
Declaration
public static readonly ProfilerCategory Physics { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Render
A ProfilerMarker that belongs to the Render system.
Declaration
public static readonly ProfilerCategory Render { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Scripts
Default category for all ProfilerMarkers defined in scripting code.
Declaration
public static readonly ProfilerCategory Scripts { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Video
A ProfilerMarker that belongs to the Video system.
Declaration
public static readonly ProfilerCategory Video { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
Vr
A ProfilerMarker that belongs to the VR system.
Declaration
public static readonly 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. |