文档

Unity Engine

Download Unity

Unity Engine

gpuElapsedNanoseconds

Gets the accumulated GPU time, in nanoseconds, for a frame. The Recorder has a three frame delay so this gives the timings for the frame that was three frames before the one that you access this property on. (Read Only).
阅读时间1 分钟最后更新于 12 小时前

Definition

警告
Deprecated. Use Unity.Profiling.ProfilerRecorder instead.
public long gpuElapsedNanoseconds { get; }

Remarks

To get valid timings, the platform must support the GPU Recorder. To check this, use SystemInfo.supportsGpuRecorder.