Interface IPerformanceStatus
Namespace: UnityEngine.AdaptivePerformance
Syntax
public interface IPerformanceStatus
Properties
FrameTiming
Allows to query the latest frame timing measurements.
Declaration
FrameTiming FrameTiming { get; }
Property Value
| Type | Description |
|---|---|
| FrameTiming |
PerformanceMetrics
Allows to query the latest performance metrics.
Declaration
PerformanceMetrics PerformanceMetrics { get; }
Property Value
| Type | Description |
|---|---|
| PerformanceMetrics |
Events
PerformanceBottleneckChangeEvent
Subscribe to performance events and get updates when the bottleneck changes.
Declaration
event PerformanceBottleneckChangeHandler PerformanceBottleneckChangeEvent
Event Type
| Type | Description |
|---|---|
| PerformanceBottleneckChangeHandler |
PerformanceLevelChangeEvent
Subscribe events and get updates when the the current CPU/GPU level changes.
Declaration
event PerformanceLevelChangeHandler PerformanceLevelChangeEvent
Event Type
| Type | Description |
|---|---|
| PerformanceLevelChangeHandler |