UNPKG

@itwin/core-frontend

Version:
26 lines 819 B
/** @packageDocumentation * @module Rendering */ import { GltfDocument } from "./GltfSchema"; import { Gltf } from "./GltfModel"; /** @internal */ export interface ParseGltfLogger { log(message: string, type: "error" | "warning" | "info"): void; } /** Arguments supplied to [[parseGltf]]. * @internal */ export interface ParseGltfArgs { logger?: ParseGltfLogger; gltf: Uint8Array | GltfDocument; noCreateImageBitmap?: boolean; baseUrl?: string; isCanceled?: boolean; upAxis?: "y" | "z"; } /** Parse a [[GltfDocument]] or binary representation thereof to produce a [[Gltf.Model]]. * This implementation is incomplete and not currently used. * @internal */ export declare function parseGltf(args: ParseGltfArgs): Promise<Gltf.Model | undefined>; //# sourceMappingURL=GltfParser.d.ts.map