Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AdaptivePerformanceProfilerStats.CustomProfilerMarker<T>

Custom Profiler Marker that allows you to sample different data from Unity Profiler.
Read time 1 minuteLast updated 10 days ago

Definition

public readonly struct AdaptivePerformanceProfilerStats.CustomProfilerMarker<T> where T : unmanaged

Constructors

Constructor

Description

CustomProfilerMarker`1(System.String,Unity.Profiling.ProfilerMarkerDataUnit)Construct the marker with the name of the marker and the dataUnit the marker is collected on.

Methods

Method

Description

SampleSample a single data point in the frame.