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
- Type: Struct
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
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 |
|---|---|
| Sample | Sample a single data point in the frame. |