Files
basis_universal/contrib/single_file_transcoder/examples
Carl Woffenden 2b08ab7248 Added a test to confirm amalgamation worked
Added 'simple.cpp' which does the bare mimimum to confirm the amalgamation worked (compiled and run after the combine step). Split the embedded .basis files from the Emscripten test so they can be shared. Fixed an error in the creation script (which caused it to always fail). Corrected the syntax for the unused functions (tested with older, less forgiving compilers).
2019-10-03 17:25:32 +02:00
..
2019-09-28 07:04:29 +02:00
2019-09-28 07:04:29 +02:00
2019-09-28 07:04:29 +02:00

Single File Basis Universal Examples

The examples #include the generated basisu_transcoder.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.