BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.73k stars 267 forks source link

Add `basisu_lowlevel_uastc_transcoder::transcode_slice` to the wasm build #299

Open expenses opened 2 years ago

expenses commented 2 years ago

I would like to build web programs that are able to stream in ktx2 textures. This requires being able to transcode each mip slice at a time, so I've added bindings to basisu_lowlevel_uastc_transcoder::transcode_slice that allow this.