2 releases
0.1.1 | Jan 9, 2025 |
---|---|
0.1.0 | Oct 11, 2020 |
#175 in Compression
149 downloads per month
14MB
111K
SLoC
astcenc
- ASTC Encoder/Decoder for Rust
This library implements safe, ergonomic bindings for ARM's astc-encoder
C/C++ library. The usage is simple and the bindings have comprehensive tests.
Usage
See examples.
lib.rs
:
ASTC Encoding
This is a library to encode images as ASTC for use on a GPU with hardware compression support.
It is implemented as bindings to ARM's official astc-encoder
library.
In order to use the images generated by this library directly on the GPU, you need ensure that
the GPU you're running on has support for ASTC, which can be queried with the Vulkan
textureCompressionASTC_*
flags (one flag for each of the modes in Profile
).