sampleIndex | Index of the Profiler sample. |
string Returns sample name. Returns null if sample index is invalid.
Gets the name of the specific sample.
Note: GetSampleName allocates string when called. Use GetSampleMarkerId to avaoid allocations for simple lookups.