s&
infoAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games exploreDiscover Games
categoryWorkshop
sports_esportsGames landscapeMaps view_in_arModels textureMaterials apparelClothing constructionMore..
forumForum menu_bookLearn
docsDocumentation apiApi Reference schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
GpuProfilerStats
chevron_left Classes
class
GpuProfilerStats

Static Properties

data_objectEnableddata_objectEntriesdata_objectTotalGpuTimeMsdata_objectVideoMemoryBudgetdata_objectVideoMemoryFreedata_objectVideoMemoryUsageFractiondata_objectVideoMemoryUsed

Static Methods

functionsGetMaxDurationfunctionsGetSmoothedDuration
GpuProfilerStats
GPU profiler stats collected from the scene system timestamp manager
class Sandbox.Diagnostics .
staticsealedabstractSandbox.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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter