文档

Unity Engine


User Manual

Script Reference

Unity Engine


enableOpenGLProfilerGPURecorders

Enable ProfilerRecorder usage to record GPU timings when rendering with OpenGL.
阅读时间1 分钟最后更新于 23 天前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool enableOpenGLProfilerGPURecorders { get; set; }

Remarks

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.