invalidSampleIndex
This constant defines a sample index that does not match any valid Profiler Sample.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor
public const int invalidSampleIndex = -1
Remarks
If any Profiler API returns a sample index matching this value, no matching sample exists.