s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
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_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 6

Enabled
bool
Whether GPU profiling is enabled
Entries
IReadOnlyList`1
Full '/'-separated paths of the current GPU timing scopes (split to build the tree).
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter