@loaders.gl/textures
Version:
Framework-independent loaders for compressed and super compressed (basis) textures
25 lines • 1.18 kB
TypeScript
import type { LoaderContext } from '@loaders.gl/loader-utils';
import type { Texture } from '@loaders.gl/schema';
import type { TextureLoaderOptions as TextureApiLoaderOptions } from "./lib/texture-api/texture-api-types.js";
import { type ImageTextureManifest } from "./lib/composite-image/parse-composite-image.js";
export type TextureManifestLoaderOptions = TextureApiLoaderOptions;
export type { ImageTextureManifest as TextureManifest };
export declare const TextureLoader: {
readonly dataType: Texture;
readonly batchType: never;
readonly id: "texture";
readonly name: "Texture";
readonly module: "textures";
readonly version: any;
readonly extensions: [];
readonly mimeTypes: [];
readonly text: true;
readonly worker: false;
readonly testText: (text: string) => boolean;
readonly options: {
readonly image: {};
};
readonly parse: (arrayBuffer: ArrayBuffer, options?: TextureManifestLoaderOptions, context?: LoaderContext) => Promise<any>;
readonly parseText: (text: string, options?: TextureManifestLoaderOptions, context?: LoaderContext) => Promise<any>;
};
//# sourceMappingURL=texture-loader.d.ts.map