class
GpuProfilerStats
public static abstract sealed class GpuProfilerStats GPU profiler stats collected from the scene system timestamp manager
Properties
| Name | Type | Description |
|---|---|---|
Enabled static | Boolean | Whether GPU profiling is enabled |
TotalGpuTimeMs static | Single | Total GPU time for all tracked passes |
Entries static | IReadOnlyList<GpuTimingEntry> | Get the current GPU timing entries |
Methods
static Single GetSmoothedDuration(String name) Get a smoothed duration for a given name (for display purposes)
static Single GetMaxDuration(String name) Get a decayed max duration for a given name (for display purposes)
Assembly:
Sandbox.Engine Namespace: Sandbox.Diagnostics Full Name: Sandbox.Diagnostics.GpuProfilerStats