文档

Unity Engine

Unity Engine

DXT5

Compressed color with alpha channel texture format.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
DXT5 = 12

Remarks

DXT5 (BC3) format compresses textures to 8 bits per pixel, and is widely supported on PC and console platforms.
It is a good format to compress most of RGBA textures. For RGB (without alpha) textures, TextureFormat.DXT1 is better. When targeting DX11-class hardware, use TextureFormat.BC7 as compression quality is often better.
Additional Resources: Texture2D.format, texture assets.