s&box docs
API ReferenceSandbox.Diagnostics

public static abstract sealed class Sandbox.Diagnostics.GpuProfilerStats

GPU profiler stats collected from the scene system timestamp manager

Methods

Showing 2 methods

public static float GetMaxDuration(string name)

Get a decayed max duration for a given name (for display purposes)

public static float GetSmoothedDuration(string name)

Get a smoothed duration for a given name (for display purposes)

Properties

Showing 3 properties

public static bool Sandbox.Diagnostics.GpuProfilerStats.Enabled { get; set; }

Whether GPU profiling is enabled

public static System.Collections.Generic.IReadOnlyList`1<Sandbox.Diagnostics.GpuTimingEntry> Sandbox.Diagnostics.GpuProfilerStats.Entries { get; set; }

Get the current GPU timing entries

public static float Sandbox.Diagnostics.GpuProfilerStats.TotalGpuTimeMs { get; set; }

Total GPU time for all tracked passes

Metadata

FieldValue
NamespaceSandbox.Diagnostics
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Diagnostics.GpuProfilerStats

On this page