Struct ProfilerCategory
Defines a profiling category when you create a ProfilerMarker.
Namespace: Unity.Profiling
Assembly: Unity.Profiling.Core.dll
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 |
See Also
Animation
A ProfilerMarker that belongs to the Animation system.
Declaration
public static ProfilerCategory Animation { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Audio
A ProfilerMarker that belongs the to Audio system.
Declaration
public static ProfilerCategory Audio { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
GUI
A ProfilerMarker that belongs to the UI system.
Declaration
public static ProfilerCategory GUI { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Input
A ProfilerMarker that belongs to the Input system.
Declaration
public static ProfilerCategory Input { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Lighting
A ProfilerMarker that belongs to the Lighting system.
Declaration
public static ProfilerCategory Lighting { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Loading
A ProfilerMarker that belongs to the Loading or Streaming system.
Declaration
public static ProfilerCategory Loading { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Network
A ProfilerMarker that belongs to the Networking system.
Declaration
public static ProfilerCategory Network { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Particles
A ProfilerMarker that belongs to the Particle system.
Declaration
public static ProfilerCategory Particles { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Physics
A ProfilerMarker that belongs to the Physics system.
Declaration
public static ProfilerCategory Physics { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Render
A ProfilerMarker that belongs to the Render system.
Declaration
public static ProfilerCategory Render { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Scripts
Default category for all ProfilerMarkers defined in scripting code.
Declaration
public static ProfilerCategory Scripts { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Video
A ProfilerMarker that belongs to the Video system.
Declaration
public static ProfilerCategory Video { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Vr
A ProfilerMarker that belongs to the VR system.
Declaration
public static ProfilerCategory Vr { get; }
Property Value
Type | Description |
---|---|
ProfilerCategory |
See Also
Operators
implicit operator ushort(ProfilerCategory)
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 |
---|---|
ushort | ProfilerCategory value as UInt16. |