IPerformanceStatus
You can use the performance status interface to obtain performance metrics, frame timing, and subscribe to bottleneck and performance event changes.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
public interface IPerformanceStatus
Properties
Property | Description |
|---|---|
| FrameTiming | Allows you to query the latest frame timing measurements. |
| PerformanceMetrics | Allows you to query the latest performance metrics. |
| PerformanceMode | Allows you to query the latest performance mode. |
Events
Member | Description |
|---|---|
| PerformanceBoostChangeEvent | Subscribe to events and get updates when the the current CPU or GPU is boosted. |
| PerformanceBottleneckChangeEvent | Subscribe to performance events and get updates when the bottleneck changes. |
| PerformanceLevelChangeEvent | Subscribe to events and get updates when the the current CPU or GPU level changes. |