@loaders.gl/textures
Version:
Framework-independent loaders for compressed and super compressed (basis) textures
15 lines • 501 B
JavaScript
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
import { createLoaderWorker } from '@loaders.gl/loader-utils';
import { CrunchLoader } from "../crunch-loader.js";
import { parseCrunch } from "../lib/parsers/parse-crunch.js";
/**
* Loader for the Crunch compressed texture container format
*/
export const CrunchLoaderWithParser = {
...CrunchLoader,
parse: parseCrunch
};
createLoaderWorker(CrunchLoaderWithParser);
//# sourceMappingURL=crunch-worker.js.map