API ReferenceSandbox.Diagnostics
GpuProfilerStatsclass
GPU profiler stats collected from the scene system timestamp manager
object→GpuProfilerStats
Methods2
Showing 2 methods
public static float GetMaxDuration(string name)
Get a decayed max duration for a given name (for display purposes)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
Returns:
float—public static float GetSmoothedDuration(string name)
Get a smoothed duration for a given name (for display purposes)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
Returns:
float—No results match this filter.
Properties6
Showing 6 properties
public static bool Sandbox.Diagnostics.GpuProfilerStats.Enabled { get; set; }
Whether GPU profiling is enabled
Returns:
bool—public static System.Collections.Generic.IReadOnlyList`1<string> Sandbox.Diagnostics.GpuProfilerStats.Entries { get; set; }
Full '/'-separated paths of the current GPU timing scopes (split to build the tree).
Returns:
IReadOnlyList<string>—public static ulong Sandbox.Diagnostics.GpuProfilerStats.VideoMemoryBudget { get; set; }
GPU video memory budget in bytes.
Returns:
ulong—public static ulong Sandbox.Diagnostics.GpuProfilerStats.VideoMemoryFree { get; set; }
GPU video memory free within the current budget in bytes.
Returns:
ulong—public static float Sandbox.Diagnostics.GpuProfilerStats.VideoMemoryUsageFraction { get; set; }
GPU video memory usage as a 0-1 fraction of budget.
Returns:
float—public static ulong Sandbox.Diagnostics.GpuProfilerStats.VideoMemoryUsed { get; set; }
GPU video memory used by the engine in bytes.
Returns:
ulong—No results match this filter.