UNPKG

@loaders.gl/textures

Version:

Framework-independent loaders for compressed and super compressed (basis) textures

18 lines (14 loc) 447 B
// loaders.gl // SPDX-License-Identifier: MIT // Copyright (c) vis.gl contributors import {createLoaderWorker} from '@loaders.gl/loader-utils'; import {CrunchLoader} from '../crunch-loader'; import {parseCrunch} from '../lib/parsers/parse-crunch'; /** * Loader for the Crunch compressed texture container format */ export const CrunchLoaderWithParser = { ...CrunchLoader, parse: parseCrunch }; createLoaderWorker(CrunchLoaderWithParser);