3 releases (breaking)
0.3.0 | Apr 12, 2021 |
---|---|
0.2.0 | Apr 10, 2021 |
0.1.0 | Apr 9, 2021 |
#406 in Compression
631 downloads per month
Used in 8 crates
(2 directly)
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)