caelunshun / basisu-rs

Rust bindings to the basis_universal texture compression library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basisu-rs

A safe Rust wrapper for the basis-universal texture compression library.

This crate wraps the basisu transcoder, used to transcode basis-encoded files to various in-memory formats. It's intended for use in games, where small textures with fast transcoding times are desired.

.basis files can contain:

  • 2D textures, i.e. images
  • 2D texture arrays
  • Cubemaps
  • 3D textures, used for volume data
  • Videos (stored as texture arrays with additional inter-frame compression)

basisu-rs supports transcoding any of the above through a practical Rust interface.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Rust bindings to the basis_universal texture compression library

License:Apache License 2.0


Languages

Language:Rust 47.2%Language:C 30.2%Language:C++ 22.6%