Download third_party/ktx-src/interface/js_binding/module_create_compat.js from kimjunhan/vkgs-sim: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/ktx-src/interface/js_binding/module_create_compat.js
- Command line
-
hf download hf://kimjunhan/vkgs-sim/third_party/ktx-src/interface/js_binding/module_create_compat.js
-
curl -L -o module_create_compat.js https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/ktx-src/interface/js_binding/module_create_compat.js
529 Bytes
| // -*- tab-width: 4; -*- | |
| // vi: set sw=2 ts=4 expandtab textwidth=80: | |
| // | |
| // Copyright 2019-2024 Khronos Group, Inc. | |
| // SPDX-License-Identifier: Apache-2.0 | |
| // | |
| // Provide old module create function name for backward compatibility. | |
| // N.B. --pre-js and --post-js code is run inside the module creation | |
| // function so the variable holding that function is not available. | |
| // This has to be --extern-post-js. | |
| var LIBKTX | |
| if (typeof createKtxReadModule === "function") | |
| LIBKTX = createKtxReadModule; | |
| else | |
| LIBKTX = createKtxModule; | |