tree: 457c24de752b52185d6277622a2a211f1122c892 [path history] [tgz]
  1. build/
  2. .gitignore
  3. basis_wrappers.cpp
  4. CMakeLists.txt
  5. README.md
webgl/transcoder/README.md

basisu_wrappers.cpp contains our JavaScript API (implemented via emscripten bindings), which is a thin layer above our encoder and transcoder‘s C++ API’s. As of Basis Universal v2.0 it supports optional WASM multithreading and WASM64.

Prebuilt versions of basis_transcoder.js and basis_transcoder.wasm are included in the build/ folder, and are sufficient for local demos. To build the transcoder yourself, first install emscripten (tutorial) and cmake (download). Then run:

cd webgl/transcoder/build/
emcmake cmake ../
make