sampleIndex | Index of the Profiler sample. |
ushort Returns Profiler category index.
Gets Profiler marker category for the specific sample.
Use Profiler category to filter samples produced by a specific subsystem, e.g. Rendering, Audio.
The category index is represented by ushort value and refers to one of the following constants in ProfilerUnsafeUtility class:
Additional resources: FrameDataView.GetMarkerId, ProfilerUnsafeUtility.