markerId | Marker identifier. |
ushort Returns Profiler category index.
Gets Profiler marker category for the specific marker identifier.
Use to filter samples data by a specific Profiler category.
The category index is represented by ushort value and refers to one of the following constants in ProfilerUnsafeUtility class:
- ProfilerUnsafeUtility.CategoryRender,
- ProfilerUnsafeUtility.CategoryScripts,
- ProfilerUnsafeUtility.CategoryGUI,
- ProfilerUnsafeUtility.CategoryPhysics,
- ProfilerUnsafeUtility.CategoryAnimation,
- ProfilerUnsafeUtility.CategoryAi,
- ProfilerUnsafeUtility.CategoryAudio,
- ProfilerUnsafeUtility.CategoryVideo,
- ProfilerUnsafeUtility.CategoryParticles,
- ProfilerUnsafeUtility.CategoryLightning,
- ProfilerUnsafeUtility.CategoryNetwork,
- ProfilerUnsafeUtility.CategoryLoading,
- ProfilerUnsafeUtility.CategoryOther,
- ProfilerUnsafeUtility.CategoryVr,
- ProfilerUnsafeUtility.CategoryAllocation,
- ProfilerUnsafeUtility.CategoryVr,
- ProfilerUnsafeUtility.CategoryInput.
See Also: GetMarkerId, ProfilerUnsafeUtility.