Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 6 days ago

Definition

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