MSFT_sRGBFactors.d.ts 759 B

12345678910111213141516171819
  1. import type { Nullable } from "@babylonjs/core/types.js";
  2. import type { Material } from "@babylonjs/core/Materials/material.js";
  3. import type { IMaterial } from "../glTFLoaderInterfaces";
  4. import type { IGLTFLoaderExtension } from "../glTFLoaderExtension";
  5. import { GLTFLoader } from "../glTFLoader";
  6. /** @internal */
  7. export declare class MSFT_sRGBFactors implements IGLTFLoaderExtension {
  8. /** @internal */
  9. readonly name = "MSFT_sRGBFactors";
  10. /** @internal */
  11. enabled: boolean;
  12. private _loader;
  13. /** @internal */
  14. constructor(loader: GLTFLoader);
  15. /** @internal */
  16. dispose(): void;
  17. /** @internal */
  18. loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
  19. }