Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VRStats.gpuTimeLastFrame

public static float gpuTimeLastFrame;

Description

Total GPU time utilized last frame as measured by the VR subsystem.

Returns 0 if the active VR SDK does not have this information.