Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CurrentGpuFrameTime

Returns the GPU time of the last completely rendered frame (in seconds). Returns -1.0f if no timing information is available. The GPU time only includes the time the GPU spent on rendering a frame (for example, in the first frame or directly after resume).
Read time 1 minuteLast updated 13 days ago

Definition

public float CurrentGpuFrameTime { readonly get; set; }