@babylonjs/loaders
Version:
For usage documentation please visit https://doc.babylonjs.com/features/featuresDeepDive/importers/loadingFileTypes/.
30 lines (29 loc) • 853 B
TypeScript
import type { IGLTFLoaderExtension } from "../glTFLoaderExtension.js";
import type { GLTFLoader } from "../glTFLoader.js";
declare module "../../glTFFileLoader.js" {
interface GLTFLoaderExtensionOptions {
/**
* Defines options for the KHR_mesh_quantization extension.
*/
["KHR_mesh_quantization"]: {};
}
}
/**
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_mesh_quantization/README.md)
*/
export declare class KHR_mesh_quantization implements IGLTFLoaderExtension {
/**
* The name of this extension.
*/
readonly name = "KHR_mesh_quantization";
/**
* Defines whether this extension is enabled.
*/
enabled: boolean;
/**
* @internal
*/
constructor(loader: GLTFLoader);
/** @internal */
dispose(): void;
}