GetSampleMetadataAsSpan<T>(int, int)
Returns Span\<T\> representation of sample metadata.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor
public Span<T> GetSampleMetadataAsSpan<T>(int sampleIndex, int metadataIndex) where T : unmanaged
Parameters
Returns
Type | Description |
|---|---|
| Span<T> | Returns Span\<T\> of the metadata associated with the sample. |
Remarks
Use to obtain additional data associated with the sample. metadataIndex must be between 0 and RawFrameDataView.GetSampleMetadataCount.