Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DXT5

Compressed color with alpha channel texture format.
Read time 1 minuteLast updated 4 days ago

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.