tbc 0.3.0

Texture Block Compression (BCn)
Documentation

About

Texture Block Compression (BCn) written in Rust. Block compression is used to compress textures for GPU, there are lots of variations BC1 (DXT1), BC3 (DXT5), and so on. Compressed textures has much lower requirements for memory bandwidth and especially useful for slow memory used by built-in GPUs. Almost every GPUs starting from 1998 has hardware decompressor for compressed textures, so there is no performance penalty of compression.

Supported formats

  • BC1 (DXT1)
  • BC3 (DXT5)
  • BC4 (Both R8 and RG8)

References