@loaders.gl/textures
Version:
Framework-independent loaders for compressed and super compressed (basis) textures
25 lines • 1.21 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 ImageTextureArrayManifest } from "./lib/composite-image/parse-composite-image.js";
export type TextureArrayLoaderOptions = TextureApiLoaderOptions;
export type { ImageTextureArrayManifest as TextureArrayManifest };
export declare const TextureArrayLoader: {
readonly dataType: Texture;
readonly batchType: never;
readonly id: "texture-array";
readonly name: "Texture Array";
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?: TextureArrayLoaderOptions, context?: LoaderContext) => Promise<any>;
readonly parseText: (text: string, options?: TextureArrayLoaderOptions, context?: LoaderContext) => Promise<any>;
};
//# sourceMappingURL=texture-array-loader.d.ts.map