invalidSampleIndex
This constant defines a sample index that does not match any valid Profiler Sample.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Field
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public const int invalidSampleIndex = -1
Remarks
If any Profiler API returns a sample index matching this value, no matching sample exists.