@loaders.gl/i3s
Version:
i3s .
39 lines • 1.43 kB
TypeScript
import type { LoaderOptions } from '@loaders.gl/loader-utils';
import type { I3STilesetHeader } from "./types.js";
import { COORDINATE_SYSTEM } from "./lib/parsers/constants.js";
import { I3SParseOptions } from "./types.js";
export type I3SLoaderOptions = LoaderOptions & {
i3s?: I3SParseOptions;
};
/**
* Loader for I3S - Indexed 3D Scene Layer
*/
export declare const I3SLoader: {
readonly dataType: I3STilesetHeader;
readonly batchType: never;
readonly name: "I3S (Indexed Scene Layers)";
readonly id: "i3s";
readonly module: "i3s";
readonly version: any;
readonly mimeTypes: ["application/octet-stream"];
readonly parse: typeof parseI3S;
readonly extensions: ["bin"];
readonly options: {
readonly i3s: {
readonly token: null;
readonly isTileset: "auto";
readonly isTileHeader: "auto";
readonly tile: null;
readonly tileset: null;
readonly _tileOptions: null;
readonly _tilesetOptions: null;
readonly useDracoGeometry: true;
readonly useCompressedTextures: true;
readonly decodeTextures: true;
readonly coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS;
};
};
};
declare function parseI3S(data: any, options: I3SLoaderOptions | undefined, context: any): Promise<I3STilesetHeader>;
export {};
//# sourceMappingURL=i3s-loader.d.ts.map