s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
GpuProfilerStats
chevron_left
Classes
class
GpuProfilerStats
Static Properties
data_object
Enabled
data_object
Entries
data_object
TotalGpuTimeMs
data_object
VideoMemoryBudget
data_object
VideoMemoryFree
data_object
VideoMemoryUsageFraction
data_object
VideoMemoryUsed
Static Methods
functions
GetMaxDuration
functions
GetSmoothedDuration
GpuProfilerStats
GPU profiler stats collected from the scene system timestamp manager
class
Sandbox.Diagnostics
.
static
sealed
abstract
Sandbox.Engine
data_object
Static Properties
7
Enabled
bool
Whether GPU profiling is enabled
Entries
IReadOnlyList`1
Get the current GPU timing entries
TotalGpuTimeMs
float
Total GPU time for all tracked passes
VideoMemoryBudget
UInt64
GPU video memory budget in bytes.
VideoMemoryFree
UInt64
GPU video memory free within the current budget in bytes.
VideoMemoryUsageFraction
float
GPU video memory usage as a 0-1 fraction of budget.
VideoMemoryUsed
UInt64
GPU video memory used by the engine in bytes.
functions
Static Methods
2
GetMaxDuration
(
name
)
float
Get a decayed max duration for a given name (for display purposes)
GetSmoothedDuration
(
name
)
float
Get a smoothed duration for a given name (for display purposes)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.