mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-08-15 15:49:32 +00:00
Exposed the ASTC transcoder. Improved the Emscripten example and tested on ASTC and ETC hardware. Workaround for usused functions and consts when disabling various transcode options.
Single File Basis Universal Examples
The examples #include the generated basisutranslib.cpp directly but work equally as well when including basisu_transcoder.h and compiling the amalgamated source separately.
emscripten.cpp is a bare-bones Emscripten compiled WebGL demo picking the best transcoder format for the sample texture (see the original PNG image).
The example files in this directory are released under a Creative Commons Zero license.