3 releases (breaking)

0.3.0 Apr 12, 2021
0.2.0 Apr 10, 2021
0.1.0 Apr 9, 2021

#357 in Compression

Download history 348/week @ 2024-07-24 204/week @ 2024-07-31 325/week @ 2024-08-07 173/week @ 2024-08-14 146/week @ 2024-08-21 235/week @ 2024-08-28 250/week @ 2024-09-04 223/week @ 2024-09-11 239/week @ 2024-09-18 273/week @ 2024-09-25 273/week @ 2024-10-02 216/week @ 2024-10-09 397/week @ 2024-10-16 225/week @ 2024-10-23 271/week @ 2024-10-30 153/week @ 2024-11-06

1,087 downloads per month
Used in 8 crates (2 directly)

MIT license

23KB
631 lines

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

No runtime deps