文档

Unity Engine

Unity Engine

BC7

High quality compressed color texture format.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
BC7 = 25

Remarks

BC7 format compresses textures to 8 bits per pixel, and is supported on DX11-class PC hardware, as well as PS4 and XBOX One.
Generally it produces better quality than the more widely available TextureFormat.DXT5 format, however it requires a modern GPU, and texture compression during import time is often slower too. Note that BC7 is not available on Mac when using OpenGL.
When loading BC7 textures on a platform that does not support it, the texture will be decompressed into TextureFormat.RGBA32 format (32 bits per pixel) at load time.
Additional Resources: Texture2D.format, texture assets.