tbc 0.3.0

Texture Block Compression (BCn)
Documentation
  • Coverage
  • 5.36%
    3 out of 56 items documented0 out of 35 items with examples
  • Size
  • Source code size: 22.71 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mrDIMAS/tbc
    11 2 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mrDIMAS

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