Thanks to visit codestin.com
Credit goes to lib.rs

2 releases

0.1.1 Jan 9, 2025
0.1.0 Oct 11, 2020

#290 in Graphics APIs

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

103 downloads per month

Unlicense

14MB
111K SLoC

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

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


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.

Dependencies