UNPKG

@babylonjs/loaders

Version:

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

28 lines (27 loc) 982 B
import { type Nullable } from "@babylonjs/core/types.js"; import { type Material } from "@babylonjs/core/Materials/material.js"; import { type IMaterial } from "../glTFLoaderInterfaces.js"; import { type IGLTFLoaderExtension } from "../glTFLoaderExtension.js"; import { GLTFLoader } from "../glTFLoader.js"; declare module "../../glTFFileLoader.js" { interface GLTFLoaderExtensionOptions { /** * Defines options for the MSFT_sRGBFactors extension. */ ["MSFT_sRGBFactors"]: {}; } } /** @internal */ export declare class MSFT_sRGBFactors implements IGLTFLoaderExtension { /** @internal */ readonly name = "MSFT_sRGBFactors"; /** @internal */ enabled: boolean; private _loader; /** @internal */ constructor(loader: GLTFLoader); /** @internal */ dispose(): void; /** @internal*/ loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: Material): Nullable<Promise<void>>; }