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:
- 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: FrameDataView.GetMarkerId, ProfilerUnsafeUtility.
Did you find this page useful? Please give it a rating: