文档

Unity Engine

Unity Engine

BC4

Compressed one channel (R) texture format.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
BC4 = 26

Remarks

BC4 format compresses textures to 4 bits per pixel, keeping only the red color channel. It is widely supported on PC and console platforms.
It is a good format to compress single-channel textures like heightfields or masks. For two channel textures, see TextureFormat.BC5.
Additional Resources: Texture2D.format, texture assets.