@loaders.gl/obj
Version:
Framework-independent loader for the OBJ format
25 lines • 772 B
TypeScript
import type { LoaderOptions } from '@loaders.gl/loader-utils';
import type { MTLMaterial, ParseMTLOptions } from "./lib/parse-mtl.js";
export type MTLLoaderOptions = LoaderOptions & {
mtl?: ParseMTLOptions;
};
/**
* Loader for the MTL material format
* Parses a Wavefront .mtl file specifying materials
*/
export declare const MTLLoader: {
readonly dataType: MTLMaterial[];
readonly batchType: never;
readonly name: "MTL";
readonly id: "mtl";
readonly module: "mtl";
readonly version: any;
readonly worker: true;
readonly extensions: ["mtl"];
readonly mimeTypes: ["text/plain"];
readonly testText: (text: string) => boolean;
readonly options: {
readonly mtl: {};
};
};
//# sourceMappingURL=mtl-loader.d.ts.map