文档

Unity Engine

Unity Engine

colorFormat

The format of the RenderTarget is expressed as a RenderTextureFormat. Internally, this format is stored as a GraphicsFormat compatible with the current system (see SystemInfo.GetCompatibleFormat ). Therefore, if you set a format and immediately get it again, it may return a different result from the one just set.
阅读时间1 分钟最后更新于 1 个月前

Definition

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