1234567891011121314151617181920212223242526 |
- import type { IGLTFLoaderExtension } from "../glTFLoaderExtension";
- import { GLTFLoader } from "../glTFLoader";
- import type { ITexture } from "../glTFLoaderInterfaces";
- import type { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture.js";
- import type { Nullable } from "@babylonjs/core/types.js";
- /**
- * [glTF PR](https://github.com/KhronosGroup/glTF/pull/2235)
- * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_avif/README.md)
- */
- export declare class EXT_texture_avif implements IGLTFLoaderExtension {
- /** The name of this extension. */
- readonly name = "EXT_texture_avif";
- /** Defines whether this extension is enabled. */
- enabled: boolean;
- private _loader;
- /**
- * @internal
- */
- constructor(loader: GLTFLoader);
- /** @internal */
- dispose(): void;
- /**
- * @internal
- */
- _loadTextureAsync(context: string, texture: ITexture, assign: (babylonTexture: BaseTexture) => void): Nullable<Promise<BaseTexture>>;
- }
|