文档

Unity Engine

Unity Engine

RGB24

Three channel (RGB) texture format, 8-bits unsigned integer per channel.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
RGB24 = 3

Remarks

Note that there are almost no GPUs that support this format natively, so at texture load time it is converted into an TextureFormat.RGBA32 format. RGB24 is thus only useful for some game build size savings.
Additional Resources: Texture2D, texture assets.