#bindings #arm #encoder #image #astc #profile #order

astcenc-rs

Idiomatic Rust bindings to the official ASTC encoder library from ARM

1 unstable release

0.1.0 Oct 11, 2020

#623 in Compression

Unlicense

740KB
19K SLoC

C++ 18K SLoC // 0.1% comments Rust 530 SLoC Visual Studio Project 459 SLoC Visual Studio Solution 45 SLoC

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).

Dependencies

~0.3–2MB
~41K SLoC