Version: 2021.3

PlayerSettings.enableOpenGLProfilerGPURecorders

切换到手册
public static bool enableOpenGLProfilerGPURecorders ;

描述

Enable ProfilerRecorder usage to record GPU timings when rendering with OpenGL.

Always enabled with other rendering APIs. Optional on OpenGL due to potential incompatibility with the GPU Profiler and, on versions prior to 2022.1, Frame Timing Stats.