文档

Unity Engine

Unity Engine

enableMetalAPIValidation

Enables Metal API validation in the Editor.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

When this option is set and the current graphics API is Metal, the usage of the Metal API is validated in the editor and any issues are reported to console.