文档

Unity Engine

Unity Engine

format

The RenderTextureFormat of the display buffer for the active HDR display.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public RenderTextureFormat format { get; }

Remarks

Accessing this member results in an exception if HDR is not available on the display. Use HDROutputSettings.available for the display to check that HDR is available.