Version: 2022.2

Recorder.gpuElapsedNanoseconds

切换到手册
public long 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).

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