RawFrameDataView.GetSampleMetadataAsSpan

Declaration

public Span<T> GetSampleMetadataAsSpan(int sampleIndex, int metadataIndex);

Parameters

sampleIndex Index of the Profiler sample.
metadataIndex Metadata index.

Returns

Span<T> Returns Span<T> of the metadata associated with the sample.

Description

Returns Span<T> representation of sample metadata.

Use to obtain additional data associated with the sample. metadataIndex must be between 0 and GetSampleMetadataCount.


Did you find this page useful? Please give it a rating: