文档

Unity Engine

Unity Engine

activeTier

The GraphicsTier for the current device.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static GraphicsTier activeTier { get; set; }

Remarks

Note: Graphics tiers are only supported in the Built-in Render Pipeline.
Unity auto-detects this value, and sets it during startup. This value determines which TierSettings are in use, and which tier variants Unity loads when it loads shaders. Changing this value affects any subsequently loaded shaders. For more information, see Graphics tiers.