UNPKG

@babylonjs/loaders

Version:

For usage documentation please visit https://doc.babylonjs.com/features/featuresDeepDive/importers/loadingFileTypes/.

17 lines (16 loc) 904 B
import { GLTFLoaderExtension } from "./glTFLoader.js"; import { type Scene } from "@babylonjs/core/scene.js"; import { type IGLTFLoaderData } from "../glTFFileLoader.js"; import { type IGLTFRuntime } from "./glTFLoaderInterfaces.js"; /** * @internal * @deprecated */ export declare class GLTFBinaryExtension extends GLTFLoaderExtension { private _bin; constructor(); loadRuntimeAsync(scene: Scene, data: IGLTFLoaderData, rootUrl: string, onSuccess: (gltfRuntime: IGLTFRuntime) => void): boolean; loadBufferAsync(gltfRuntime: IGLTFRuntime, id: string, onSuccess: (buffer: ArrayBufferView) => void, onError: (message: string) => void): boolean; loadTextureBufferAsync(gltfRuntime: IGLTFRuntime, id: string, onSuccess: (buffer: ArrayBufferView) => void): boolean; loadShaderStringAsync(gltfRuntime: IGLTFRuntime, id: string, onSuccess: (shaderString: string) => void): boolean; }