From 10aaa50638a23c0f4db522e020ff1620331bfc09 Mon Sep 17 00:00:00 2001 From: Rich Geldreich Date: Thu, 19 Feb 2026 18:06:03 -0500 Subject: [PATCH] Update README.md --- webgl/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webgl/README.md b/webgl/README.md index 49410c5..4b701b5 100644 --- a/webgl/README.md +++ b/webgl/README.md @@ -20,6 +20,8 @@ Live demo: [`ktx2_encode_test/index.html'](https://subquantumtech.com/xu/ktx2_en This demo shows how to use the compressor and transcoder from JavaScript. To use it, select a .PNG file then hit the "Encode!" button. The compressor will dynamically generate a .ktx2 file in memory which will then be immediately transcoded and rendered as a quad with a WebGL pixel shader used to sample the texture using the GPU. Hit the "Download!" button to locally download the generated .ktx2 file. This sample allows the user to toggle on/off all GPU formats the local device supports and see the results in real-time. +This sample's UI exposes a large chunk of the C++ compression and transcoding API to the user. + To view the compressor's textual debug output, open your browser's developer debug console (under Developer Tools in Chrome) and enable the Debug checkbox before hitting the "Encode!" button. WASM multithreading and WASM64 are optionally supported, and a browser supporting both are recommended. ![Screenshot showing the encode_test demo](ktx2_encode_test/preview.png)