UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

15 lines 558 B
import { Importer } from '../../assetmanager'; import { KTXLoader } from 'three/examples/jsm/loaders/KTXLoader.js'; import { BaseImporterPlugin } from '../base/BaseImporterPlugin'; /** * Adds support for loading `.ktx`, `image/ktx` files and data uris. * @category Plugins */ export class KTXLoadPlugin extends BaseImporterPlugin { constructor() { super(...arguments); this._importer = new Importer(KTXLoader, ['ktx'], ['image/ktx'], false); } } KTXLoadPlugin.PluginType = 'KTXLoadPlugin'; //# sourceMappingURL=KTXLoadPlugin.js.map